模拟时" O: h! ~$ q- B8 c
obj.move(pos1);8 |! L/ Q U' \9 r( x7 C
这句老出错,但不知错在哪 ,请教高手~~~ / D/ f) u9 C) m; H7 k O还有就是装卸站transferstation 的methods初始程序看不懂, ) C: h+ Z8 p3 d J1 @( ei : integer) 4 s/ O/ |" \3 A, B5 p# u-- @ : waiting Target # c m$ h7 ^7 I) o( w-- ? : TransferStation: F" j5 r' n) |0 M
is + P* m, M9 `3 c$ fdo! H$ m c3 B4 i8 Q3 Y+ d$ L
if i = 1 then+ H+ w& A8 K; m5 U0 p2 g% q
-- before starting the transfer to the TransferStation 8 u$ a2 w; _3 d; f5 X2 E -- parts/target are ready% e( u' q2 p3 e! M, O7 Y! u. ]" F9 v
elseif i = 2 then$ J. R1 q' _, }+ c& B
-- before parts leaving the TransferStation + d. A$ D n% ~ j) H* n
end;& |% S! \6 U% a+ P
end; $ S Y) b3 F+ R! E$ V4 I如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?