|
@ -154,6 +154,7 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable { |
|
|
inst.setAgv_jobno(String.valueOf(index)); |
|
|
inst.setAgv_jobno(String.valueOf(index)); |
|
|
inst.setSend_status("1"); |
|
|
inst.setSend_status("1"); |
|
|
instructionService.update(inst); |
|
|
instructionService.update(inst); |
|
|
|
|
|
log.info("开始上报执行中,指令号:{}", ikey); |
|
|
} |
|
|
} |
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0); |
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0); |
|
|
} |
|
|
} |
|
@ -163,10 +164,10 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable { |
|
|
if (!ObjectUtil.isEmpty(inst)) { |
|
|
if (!ObjectUtil.isEmpty(inst)) { |
|
|
instructionService.finish(inst.getInstruction_id()); |
|
|
instructionService.finish(inst.getInstruction_id()); |
|
|
} else { |
|
|
} else { |
|
|
log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!"); |
|
|
log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!", ikey); |
|
|
} |
|
|
} |
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0); |
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0); |
|
|
log.info("指令号:{},已反馈agv任务完成!"); |
|
|
log.info("指令号:{},已反馈agv任务完成!", ikey); |
|
|
} |
|
|
} |
|
|
//请求删除任务
|
|
|
//请求删除任务
|
|
|
//(需要WCS反馈)
|
|
|
//(需要WCS反馈)
|
|
|