你可以为操作员创建一个任务序列:. s: g2 p" ~" O3 y7 S) k5 H# s
treenode dispatcher = centerobject(current,1); 9 h1 a# X- t, W, _9 o. q: w, M/ V5 d
treenode ts = createemptytasksequence(dispatcher,0,0);
) J: y6 F4 n) ~& f$ C3 X! e
! k5 c* J a' U9 h* d/ N1 r P6 dinserttask(ts,TASKTYPE_TRAVEL,current,NULL);, D3 P+ l' W' @; G- O
for (int i = 1; i <= content(current); i++)* |) j6 K" b2 I2 ~: u- [& j
{6 ?: v$ w) b. y s
inserttask(ts,TASKTYPE_FRLOAD,item,current,port);% s) ~5 {: L, }' M2 |4 Z8 i+ P
} |