模拟时 & _3 Z4 k! x4 ^6 B2 W) g, d/ c obj.move(pos1); & {% ^0 J8 g. Z1 y9 ?6 V! F9 z这句老出错,但不知错在哪 ,请教高手~~~ 2 c2 Z5 B' D9 \还有就是装卸站transferstation 的methods初始程序看不懂,/ Z m( j$ x' h1 ?1 M5 A
i : integer) * R7 X% v+ D( m/ }; E# V# o) Q/ u-- @ : waiting Target# n9 [7 H. J7 u, ~7 g
-- ? : TransferStation! c7 d0 P. [4 K; O
is7 v0 q/ T& t' }7 a3 `
do! ?$ Y# Z$ c0 z
if i = 1 then ( K0 M2 s* l' L' F c -- before starting the transfer to the TransferStation/ L% V7 ? t3 `
-- parts/target are ready , R0 t: X) _$ D, F& H: I9 |; U elseif i = 2 then , h# k2 G2 P8 b6 I6 _ -- before parts leaving the TransferStation : c' @& o: F1 a7 B end; . A( A- ~2 ^, N6 O+ }end;5 S1 D2 I/ k1 h1 W* F& p
如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?