四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;6 N/ }* ^1 j/ _4 d" W ^3 l3 F/ J
for i:=1 to 4 loop
2 M; C; t* |* V( L( z! Nif str_to_obj("singleproc_10"+to_str(i)).nummu=0 then
. x' a. b& [) |9 x, [ @.mu.move(str_to_obj("singleproc_10"+to_str(i)));# u+ M* x/ A+ i; b( A
end;
* D! I/ K6 j4 bnext;
% i- {- ]- z/ x" \& A& a
$ U5 L. }4 f8 t5 Z* t1 [8 Z( z! r% \/ u+ Z, k, ]3 x
也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |