add: 添加二次分配顶点任务

This commit is contained in:
2024-06-27 09:35:47 +08:00
parent 5b1c96f39f
commit 759deb6f34

View File

@@ -752,8 +752,10 @@ public class XianGongAgvServiceImpl implements XianGongAgvService {
//如果是放货二次分配,取放货二次分配需要重新追加动作块
if (AgvActionTypeEnum.OUT_STOCK.getCode().equals(instructionDto.getAgv_action_type()) || AgvActionTypeEnum.IN_OUT_STOCK.getCode().equals(instructionDto.getAgv_action_type())) {
Integer actionType = ActionTypeEnum.OUT_STOCK.getCode();
// deviceCodeNow = applyXGAgvTask(task_code, actionType, instructionDto);
// deviceCodeNow = applyXGAgvTask(task_code, actionType, instructionDto);
deviceCodeNow = "ZXQ_05";
sendAddSequencesToNBAgv(instructionDto.getInstruction_code(), deviceCodeNow, instructionDto);
return agvWaitUtil.waitInPut(deviceCodeNow, instructionDto);
}
return agvWaitUtil.waitInPut(deviceCodeNow, instructionDto);