四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;7 g' j v, ]: P
for i:=1 to 4 loop0 g. K; J# p* V4 O- r6 a4 O
if str_to_obj("singleproc_10"+to_str(i)).nummu=0 then
7 Z$ b J5 i9 A @.mu.move(str_to_obj("singleproc_10"+to_str(i)));: C* ~& v, X0 ^; ^$ F
end;$ X8 r9 E2 z/ |* J, |! M1 c
next;
; \1 S/ h |. ]: L: L; V8 b6 A5 t1 i" d9 N! _0 N- Q) A
, V' I: P0 d% L2 Z* r( o' M
也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |