任务完成异常不影响ndc
This commit is contained in:
@@ -166,7 +166,11 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
|
|||||||
//(无车id及状态)
|
//(无车id及状态)
|
||||||
else if (phase == 0x0A) {
|
else if (phase == 0x0A) {
|
||||||
if (!ObjectUtil.isEmpty(inst)) {
|
if (!ObjectUtil.isEmpty(inst)) {
|
||||||
|
try {
|
||||||
instructionService.finish(inst.getInstruction_id());
|
instructionService.finish(inst.getInstruction_id());
|
||||||
|
}catch (Exception e){
|
||||||
|
log.error("指令完成出现异常{}{}",e,e.getMessage());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!",inst.getInstruction_code());
|
log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!",inst.getInstruction_code());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user