模拟时- i1 N: @- Q: D( o6 }* i
obj.move(pos1); 2 `4 b& n, G! P7 N2 ~这句老出错,但不知错在哪 ,请教高手~~~ * X* y6 p! |- w$ m还有就是装卸站transferstation 的methods初始程序看不懂,1 C0 `0 y5 K2 m5 l7 R# l: s
i : integer)2 h. y }+ k! z5 R
-- @ : waiting Target $ j2 ?* ^- I& d( I2 h" F-- ? : TransferStation% o) `% N% w* c( m
is( K, y/ c3 J7 V% t/ P r
do 7 U" c6 j7 K( X8 {3 N \, M if i = 1 then / [+ W/ a; Y$ m- ^& k0 h -- before starting the transfer to the TransferStation & P% m: E& n. S- F -- parts/target are ready) f+ y2 K2 y$ k4 \% `4 \3 u
elseif i = 2 then3 M V: i( y, B
-- before parts leaving the TransferStation 6 U ~6 o" V$ Q( S7 V z
end;- p# ^& B! Z* }, O N1 b; L% o" ^6 }
end; ( c) O* h0 c& g+ |! W- `$ i如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?