四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;5 Q, ~" x* [- I% H
for i:=1 to 4 loop4 l- m0 e7 S/ i0 W* w% n
if str_to_obj("singleproc_10"+to_str(i)).nummu=0 then, N9 @( V* a. v' h& R. T
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));
% t! [- [; l0 P1 b" Y2 E% a+ yend;
! @* L) h' h! |9 d2 i# G3 g' z% jnext;
+ a1 z/ E) a. n0 [2 s2 ^
" s2 {# i& A0 n
4 J! A5 U: ]( t( j O也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |