模拟时" u5 p9 m% M2 q& ^8 Y. {- N
obj.move(pos1); 9 u, [# N- `, j# A这句老出错,但不知错在哪 ,请教高手~~~* @4 d1 C' [2 p" ~6 x1 ^; f- d
还有就是装卸站transferstation 的methods初始程序看不懂, / ]4 o. D$ N) s* qi : integer) - `( n( _1 N! A) q2 a5 \-- @ : waiting Target, a! K+ Q# ?- c! N0 F- }+ Q$ w; p
-- ? : TransferStation* W% e" y# v; k$ t- z* J# m5 R
is9 M ^- j1 q+ b6 ^' q& P2 X% g4 d1 C
do3 S/ ~( C' F J; q0 J. i
if i = 1 then W7 Y; E6 K( E6 j8 ~
-- before starting the transfer to the TransferStation 2 k0 t4 L! O. ]5 r -- parts/target are ready + ^5 z3 C5 [: }9 v; S6 N elseif i = 2 then # t6 ]$ d& u/ v -- before parts leaving the TransferStation - ^+ Z6 P: @: E end; ) r6 ~4 X S& f/ b3 V% gend; " V9 S% A' _$ n# [如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?