四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;+ c/ w# |$ ?7 t1 o |7 r: a' T% Y
for i:=1 to 4 loop
0 e) b9 t' S6 L- D, eif str_to_obj("singleproc_10"+to_str(i)).nummu=0 then* z: Y) o& S6 ]! \* f: i8 P
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));
+ Z9 G$ k9 n3 t+ `* }5 v+ E+ cend;5 \. Y5 z, d$ P/ T6 C
next;
/ z% n, a# _2 O0 n. z) m M8 {: R0 J/ K* {( z7 ]
6 t/ O) y& T" n+ Z
也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |