模拟时 ! w$ O3 j- ?9 b" O7 y% T obj.move(pos1); / ]2 A& N4 ^) x$ A这句老出错,但不知错在哪 ,请教高手~~~ 8 l, t% M* K. J' u6 R还有就是装卸站transferstation 的methods初始程序看不懂,( Q0 \2 l; d3 [' W2 B
i : integer) 9 g" F" Y7 v7 l. ]( d2 w2 h+ _9 G8 M-- @ : waiting Target 3 I+ g/ ~2 g1 A, f6 h% R8 b-- ? : TransferStation0 ^* w7 m$ j0 a. ?! n3 p
is, I V6 n: d4 f& \; S9 s) y
do- c7 h. u: x) k3 e
if i = 1 then7 c- @6 h& \* H: X; _( a! S' F% A
-- before starting the transfer to the TransferStation " S: R. [6 Y8 v, @7 C% Q: T. U -- parts/target are ready8 f/ _+ T+ i8 R4 I; O0 O K
elseif i = 2 then f* O. ]. A& n( o
-- before parts leaving the TransferStation % W X+ t7 A# a+ c
end; 6 P# T) c+ G1 `; r, a( q. Vend; 4 I; V0 ]0 n8 ]5 m如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?