模拟时 t$ u* q5 g4 ], z! z
obj.move(pos1); 3 `( f0 Y3 p) f, N# v6 K这句老出错,但不知错在哪 ,请教高手~~~' d" A K. b: |/ ]1 D4 N: ]
还有就是装卸站transferstation 的methods初始程序看不懂,3 L% f. [3 Z. r) I8 \
i : integer)& |8 z- _: A L
-- @ : waiting Target1 y8 t9 r6 D( u
-- ? : TransferStation/ n o# [1 _5 m, v j" R( f# E
is , I! @5 L- w3 Y% n5 Tdo 9 V8 a. ]6 R0 _$ w' K if i = 1 then7 b. S+ W/ E. W v7 T
-- before starting the transfer to the TransferStation m; W/ Y+ i3 ]6 a2 ` -- parts/target are ready; s( E- h% i1 ^ K1 c0 c! X
elseif i = 2 then ! u( U; G$ ]4 p( Y. K/ d/ l& c4 j -- before parts leaving the TransferStation 5 y. i7 s0 M- b2 B
end; ; P! O D; s. q$ _end; ; e" G9 S! }7 D5 _9 e+ P1 F- K如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?