四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;
1 }! _" b, n! E& Dfor i:=1 to 4 loop
7 A1 ]+ f& O9 U# o- e( Q& a7 ?if str_to_obj("singleproc_10"+to_str(i)).nummu=0 then: H: b! G5 M/ H$ r Q8 E
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));! @5 N. U# y2 S8 ~- j, X6 h3 u" J
end;! {4 N0 H& P4 G4 u! {" D7 D4 \
next;
" h- w, i0 O' [# ~: W' K0 q8 O: }% g- G3 f) t! l
A, o2 }; G" s% ~# n也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |