模拟时1 D" W7 {$ D- N. j& H; Z+ G! w
obj.move(pos1);' H \& f2 P" i5 V/ J# X! U
这句老出错,但不知错在哪 ,请教高手~~~ * g5 R: c s' G还有就是装卸站transferstation 的methods初始程序看不懂, ' `7 d6 l6 M) ?" j, hi : integer)0 L5 b) F# V$ L. h% y
-- @ : waiting Target5 ^/ k! P' m2 `9 |, |
-- ? : TransferStation . q: `0 ~) k% P3 T* Q5 i9 Bis 7 y: P& e7 T/ ], X: @/ N% Q7 q' ydo 8 M& E U' \( _& n2 c. i! F if i = 1 then. M, t. k4 c7 k! M9 c
-- before starting the transfer to the TransferStation+ D+ i6 a( ~; C; ^# ~, n/ g) D
-- parts/target are ready 1 q s1 b1 H' | B j3 B) g elseif i = 2 then 0 j, A( y" Z. f6 E' z# `9 D Y6 x -- before parts leaving the TransferStation 4 j, h4 q0 O( W
end;* F# t+ j/ L/ k# B5 P. \1 m
end; 9 S, @; N0 {$ p( X% }1 c) n如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?