模拟时 ( Q+ n8 @4 A- ] obj.move(pos1); 7 s. b: S% F x7 A这句老出错,但不知错在哪 ,请教高手~~~4 V; t" S7 W2 D5 `2 o9 P1 x
还有就是装卸站transferstation 的methods初始程序看不懂,0 E. V- n+ u4 z$ _' p3 B
i : integer)+ a: n8 N: n r" E
-- @ : waiting Target $ L; K5 |" h4 {' K" U) [-- ? : TransferStation& l% W. B4 c$ f
is ; S8 S/ Z+ }5 `& N8 B; ?: hdo4 V! H4 p$ V, B6 u& L
if i = 1 then 2 ^; ]$ B$ h9 i0 r -- before starting the transfer to the TransferStation 2 a, e* o% @3 D5 P7 ~2 K: i. K -- parts/target are ready( G) ^4 b' x& [/ o. e
elseif i = 2 then . T# ~9 V# W; R# y6 u -- before parts leaving the TransferStation + `6 |, e/ _+ {" Z* r& m
end; 4 ~7 r) F( [+ [end; * |+ I O0 _7 B P: M9 R3 b7 s0 h) L如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?