你可以为操作员创建一个任务序列:! t& Y8 G/ x* C$ g7 j
treenode dispatcher = centerobject(current,1);
8 w$ x; t7 q6 R; u4 Streenode ts = createemptytasksequence(dispatcher,0,0);; m6 ] p$ e0 o1 u2 P! e9 Z
. z6 A8 X9 S, p- h+ |' y' A
inserttask(ts,TASKTYPE_TRAVEL,current,NULL);8 a0 G& ^! Y3 B* B' r
for (int i = 1; i <= content(current); i++)
5 Q, I( x8 D: Q0 ]! p$ v{! g( y" a& r7 \8 v
inserttask(ts,TASKTYPE_FRLOAD,item,current,port);$ ], p6 H" l- a- P( g4 ~( l3 c" q) l
} |