四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;) R2 f1 U, ~( x2 h$ O
for i:=1 to 4 loop" X/ b+ ^0 c" X, j! w
if str_to_obj("singleproc_10"+to_str(i)).nummu=0 then. N+ _# P- F1 f" x; I# O
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));6 |( S6 I c4 A) Q' ]
end;
. L4 t% L2 m! V, K; x x4 Vnext;; m8 h2 {' z, r
% l! j1 X/ q6 m, x( B4 K- X* m$ h/ T
也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |