模拟时" j/ c( l7 O% b" S
obj.move(pos1);5 }. y, o3 k+ _7 n$ \' D
这句老出错,但不知错在哪 ,请教高手~~~5 I) R7 }3 w, U4 T+ u9 C: h
还有就是装卸站transferstation 的methods初始程序看不懂,; t2 v" g# q8 x: J' Y& K1 J8 M f L
i : integer) w8 b5 V0 B: S, m8 f8 y5 W; u- @
-- @ : waiting Target * L) V! Z7 I! |# k$ p-- ? : TransferStation% f8 B$ i& b. |: N; c
is1 j( p1 p O; C" C- U7 s# {$ m" F
do : p7 \+ q$ I% ]& k" e* |9 L6 d' }$ E if i = 1 then ! W" l' n0 W( B. v Q6 C# Y, o -- before starting the transfer to the TransferStation7 ~) \7 N) O5 @3 c* P! i0 G
-- parts/target are ready $ L& F4 V8 P+ J8 l2 w9 L m9 i elseif i = 2 then$ V. [. ~) ?/ J! c- I
-- before parts leaving the TransferStation : t6 B6 D% P" N end;5 I! q# _$ r7 v6 Q" v1 f& H6 P& {
end;) g* t# x5 _0 y* `1 Z
如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?