|
在process9里加了任务序列,最后一步吸取下起始点的位置OK0 W# J) \0 ?$ L
treenode dispatcher = current.centerObjects[1]; // the dispatcher or task executer
2 v, `. G# S( {- A4 Q1 i1 d- x1 R6 D1 U& W) n1 |
treenode ts = createemptytasksequence(dispatcher,priority,preempt);; }- F5 n9 x% P; h! p! U0 o+ E# L
* ^$ ~6 T, U7 rinserttask(ts,TASKTYPE_TRAVEL,current,NULL);
1 K+ k- I$ H5 \8 `3 Y6 Tinserttask(ts,TASKTYPE_LOAD,item,current,port);' t8 N" h" d+ J5 U" U
inserttask(ts,TASKTYPE_BREAK,NULL,NULL);
$ U- g) N7 X4 I( `; x2 }5 X0 rinserttask(ts,TASKTYPE_TRAVEL, destination,NULL);
! a; l! H: \0 s* ]1 P Y2 W) X' T% tinserttask(ts,TASKTYPE_UNLOAD,item, destination,opipno(current,port));" o- W- ~$ i6 @" z
inserttask(ts,TASKTYPE_TRAVEL,Model.find("NN18"));
8 y7 f2 h6 o1 ?4 l2 T& [
+ u. i6 l: Y, b& J! jdispatchtasksequence(ts); |
|