模拟时% n' ?. c* X7 P, `' i. |
obj.move(pos1);3 o( p) d: }' \% W: R
这句老出错,但不知错在哪 ,请教高手~~~ # e* ]& W: R P/ m3 `还有就是装卸站transferstation 的methods初始程序看不懂,! o- W+ S3 E& C. m
i : integer)! [% m6 T* m. a+ M
-- @ : waiting Target ) ]! P W' }( k- K( M( }6 F5 B-- ? : TransferStation + ]7 j, B ~6 Q3 I: k" k& O" X& uis $ B# Z3 j3 I& {5 r: L- ldo+ |# W3 t7 @5 S5 b! z+ h, x
if i = 1 then' {5 F: e# O' R1 M* O: n
-- before starting the transfer to the TransferStation1 ?* y8 |' I; [8 `
-- parts/target are ready / ~" e% y ~! [' b. F elseif i = 2 then' j. I% b( }# t9 P( K/ I
-- before parts leaving the TransferStation " N, g( q5 V! x ~; k end; ) {. w$ Y) n' O; g: u' v- l4 kend;+ j2 r6 y C6 x+ h1 h% Y
如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?