|
在process9里加了任务序列,最后一步吸取下起始点的位置OK
7 }' Y# R5 W9 x A# y7 Z: o' ^treenode dispatcher = current.centerObjects[1]; // the dispatcher or task executer
* a$ s) c7 @1 x* w& f
5 b/ f+ T9 g9 @; ?treenode ts = createemptytasksequence(dispatcher,priority,preempt);
0 U) ~7 I/ K; ]# H# T4 s! w# T% p* i* i) ~4 b, W6 v
inserttask(ts,TASKTYPE_TRAVEL,current,NULL);
- g/ D; k! l( r1 X- l5 x9 |inserttask(ts,TASKTYPE_LOAD,item,current,port);9 v& M) c+ H% p
inserttask(ts,TASKTYPE_BREAK,NULL,NULL);
. U2 i4 Q( m" k# p4 winserttask(ts,TASKTYPE_TRAVEL, destination,NULL);. q4 R; |6 O2 K8 O
inserttask(ts,TASKTYPE_UNLOAD,item, destination,opipno(current,port));
. B) @6 q4 ^) H3 [inserttask(ts,TASKTYPE_TRAVEL,Model.find("NN18"));7 @, Z! u( u* ~6 w! R( Y( O
' j' R1 w$ e/ E6 k; q
dispatchtasksequence(ts); |
|