模拟时( Z3 V: N' {9 B
obj.move(pos1);! b" e) A% L; h: ?5 E: g( a
这句老出错,但不知错在哪 ,请教高手~~~' N; B# ]0 \) Z- B$ l4 e
还有就是装卸站transferstation 的methods初始程序看不懂,. @5 f% X, z0 X' K
i : integer)9 y7 |' N8 D4 y- V: |1 ]
-- @ : waiting Target- s% D. F. ~/ G$ j
-- ? : TransferStation ( o) U7 i E. N/ u/ ^8 tis- W8 e5 E3 d! U- e0 b# V/ z' G
do ) N$ O/ }. X1 L if i = 1 then # q4 i9 B U W+ d -- before starting the transfer to the TransferStation ( U% {; y, Z9 E/ @; v -- parts/target are ready ) [; P o; E+ k# v2 K; T! H/ a elseif i = 2 then + k) I1 p0 @4 o- ~ -- before parts leaving the TransferStation - l4 H3 O# D7 k# M" \1 J3 }3 N5 c end; 7 D+ _; T8 A; Uend; - a% D2 h8 `3 G如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?