兄弟,你就没理解我意思,我对货架拆解顺序有要求,所以在货架的使用运输工具里,人工安排了工作顺序,
inserttask(ts,TASKTYPE_TRAVEL,current,NULL);
inserttask(ts,TASKTYPE_LOAD,item,current,port);
inserttask(ts,TASKTYPE_BREAK,NULL,NULL);
inserttask(ts,TASKTYPE_TRAVEL, destination,NULL);
inserttask(ts,TASKTYPE_UNLOAD,item, destination,opipno(current,port));
导致后继搬运出错,
但从逻辑上来看并没有错误,所以很头痛,你给的那个小例子不满足要求。 |