四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;9 ?& `, M4 Z, k0 Y' X$ p3 W6 [* x' Q
for i:=1 to 4 loop' p1 L0 ~2 N) o! F
if str_to_obj("singleproc_10"+to_str(i)).nummu=0 then6 d1 b7 ^! y! E2 I: M: a
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));
1 T8 @, U% f8 Fend;3 r5 B" r" p+ W, _
next;
. N! I* w1 _7 S+ o- g! N
l7 `4 c4 H# j0 ?8 Z
& i* ]0 X/ B/ _, R% d4 H) M% d& T也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |