模拟时. W1 G; ]6 a9 ~* C. q
obj.move(pos1);* F' t/ D( |2 I4 Y
这句老出错,但不知错在哪 ,请教高手~~~3 S r1 h6 p2 q- V- z( A& C) o
还有就是装卸站transferstation 的methods初始程序看不懂,) A4 t1 W2 V7 S1 F w
i : integer)7 z" |' [! ? o/ j) y1 t9 L9 s
-- @ : waiting Target ' K8 N# B7 T/ [7 ]-- ? : TransferStation ; U# F" ?) l; G* w- d$ B. Dis2 O( d9 q% d: L/ I0 e
do n0 Y& |% w' Y J; B1 K
if i = 1 then6 b! y4 C0 E# o9 ^
-- before starting the transfer to the TransferStation5 c/ W- m4 \1 P/ ~
-- parts/target are ready 2 O# Y) z# O5 f. Z2 D9 o) E elseif i = 2 then 0 b4 o' v& W% Z+ N6 F -- before parts leaving the TransferStation # W9 d: o" R7 \6 Y
end;0 M' x4 s" r5 E
end; ! n- E4 k& t4 U$ h. {' g/ x如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?