模拟时- d6 G" D+ d1 ~; F' h& X% O
obj.move(pos1); # W! c- h" G8 K3 \这句老出错,但不知错在哪 ,请教高手~~~$ G& V' X1 y6 N, Y: [
还有就是装卸站transferstation 的methods初始程序看不懂, 4 T' [( H- T3 y0 O/ t+ n) l3 N9 Bi : integer)/ \' P% U$ z) U4 i
-- @ : waiting Target " ]& h/ K8 s, ^6 }-- ? : TransferStation ; w; {; @3 N% gis 6 K+ Z9 W) |' d. }( X Xdo9 o( U) E, J3 l5 A7 a
if i = 1 then 0 o- `* a. s# \; ?" x( e -- before starting the transfer to the TransferStation6 r# w' _. ^" Q0 G
-- parts/target are ready # O9 f" b& `4 l$ w. r elseif i = 2 then 3 W( g9 Q, w: n' G" L' ]( N -- before parts leaving the TransferStation 6 ]4 Q! Z. u1 C5 g. A5 p9 p8 { end; ; k' A( @- E% k0 n" T: Eend;) P1 `) ~8 _. X$ {- s$ y1 s& i3 T1 H
如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?