四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;
O; D1 O& o! z8 f# L C/ v! `for i:=1 to 4 loop' P" d; l& q1 b' D6 m0 V1 g# M( T
if str_to_obj("singleproc_10"+to_str(i)).nummu=0 then2 s# M4 V% _: d, Z/ \* Y& I
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));) j# c. [" b& G/ I8 W. c3 `, T
end;
2 n, l* h* `2 _$ y* }2 Ynext;+ Z. I- {1 k0 `1 C
5 q1 ]0 b# d. H- _ m
. n2 t/ n/ t; K2 F+ S6 D也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |