模拟时& \, d. o+ H- y, K2 d
obj.move(pos1); 4 Y; `0 ]7 N* x, P这句老出错,但不知错在哪 ,请教高手~~~ 4 n( @! R" C# { P8 Z9 @还有就是装卸站transferstation 的methods初始程序看不懂,, i _' D! S& y$ h$ S4 a. \& E
i : integer), c( Y8 {* F, c8 g4 [/ [- [6 W
-- @ : waiting Target ; s9 T2 e6 I. H2 e$ a @5 p-- ? : TransferStation. M; [! [6 T: o( G
is6 S, ]9 F8 m6 _# V! J
do- p6 b7 v( W# q0 C5 Y9 L
if i = 1 then, U m3 ^/ q8 I' |+ q
-- before starting the transfer to the TransferStation 9 E' X0 L$ a: A -- parts/target are ready 7 Q. f8 W' q: e8 X/ c elseif i = 2 then ) \# T9 A6 z( s- y O2 b -- before parts leaving the TransferStation % N. I( E5 [4 ]6 D- L
end; % y* K [/ P0 r- b" Vend; 7 ^1 u0 s8 W A- j$ t- o7 R如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?