四个singleproc分别命名为singleproc_101,singleproc_102,singleproc_103,singleproc_104;
, U. J8 L4 |- M7 \- @; Ufor i:=1 to 4 loop
% x, ?- N" C0 _+ K1 aif str_to_obj("singleproc_10"+to_str(i)).nummu=0 then! {) b7 q2 k A$ A6 e. X
@.mu.move(str_to_obj("singleproc_10"+to_str(i)));
' \3 R" s3 `4 g. b& r; B4 send; V% W" G# [5 l3 ?$ u# \
next;
; F' L' h( n8 F1 W! ^# v
5 |4 W9 r: Q# L$ v. `& q- [' H7 b# f+ `. q) W( q9 g% X
也可以用一个singleproc(操作用时为0)分别连接这四个,把车上的货物放到这个singleproc上就好了,它会自己把你的货物放到空的上,只是多了一件的库存,时间没有变。 |