模拟时, o' [$ p" s3 Q( {3 c% s5 k
obj.move(pos1);+ s1 c8 b7 d$ o; I; E! \
这句老出错,但不知错在哪 ,请教高手~~~ $ [0 G V9 h N6 `' b, Y还有就是装卸站transferstation 的methods初始程序看不懂, " @2 W( u- u6 q. K# H. q' ?6 Oi : integer)7 u5 V& m+ B. a9 w# l% E
-- @ : waiting Target6 j) i1 U! c* f
-- ? : TransferStation/ `3 {" v: L2 O) d
is ) i* p9 ~2 E* l. W3 j. ado 0 \4 h$ B7 m7 K if i = 1 then# r! U b' {9 f9 r1 A7 D
-- before starting the transfer to the TransferStation , G& T: M0 K) {8 w9 T# M -- parts/target are ready & U4 U4 A) A; u) h: U) L; v) B' U elseif i = 2 then0 ]9 }' w: S5 l. K- O" }3 C; O
-- before parts leaving the TransferStation 8 V# \7 k N/ t2 `
end; 1 f: [( F5 L( ]& r, x- Jend; 5 H" _5 r5 q: |) u8 T3 R$ i如果要设置有条件的卸载,当物件属性integer满足一定数量条件时卸载,应该如何编写?