模拟时 0 w8 m g: g# ~% t4 Q2 O obj.move(pos1);% P, k7 Y9 F u" l
这句老出错,但不知错在哪 ,请教高手~~~ % ^8 _/ z5 `; o" \还有就是装卸站transferstation 的methods初始程序看不懂,2 D. W4 Z0 s, a% B7 Y
i : integer) " X- M. A4 x& {5 T-- @ : waiting Target& i+ c2 T1 }& t; A9 q- w
-- ? : TransferStation9 V5 C. u7 _6 ~( f$ ]# O8 k, B
is! B+ x1 b; {: T. M5 U
do " B8 L8 S2 I& a* A9 R7 {0 X2 I if i = 1 then 2 [8 M' r! {4 R1 j% g$ W -- before starting the transfer to the TransferStation ; U3 O, c o4 y1 s" t- D1 C -- parts/target are ready; l+ Z( ~! E9 [; i1 x" r4 M
elseif i = 2 then2 E( I$ A- a* d+ ]
-- before parts leaving the TransferStation : \6 z' l1 L/ W" s
end;0 k8 K2 O4 c8 p4 X& S& A
end; : M: F& d _) n" g如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?