diff --git a/acs2/nladmin-system/doc/一楼电气协议及时序.xlsx b/acs2/nladmin-system/doc/一楼电气协议及时序.xlsx index 1dcdfab..959ee23 100644 Binary files a/acs2/nladmin-system/doc/一楼电气协议及时序.xlsx and b/acs2/nladmin-system/doc/一楼电气协议及时序.xlsx differ diff --git a/acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/deviceDriver/service/defination/opcDefination/one_floor/manipulator/box_packing_in_manipulator/BoxPackingInManipulatorDeviceDriver.java b/acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/deviceDriver/service/defination/opcDefination/one_floor/manipulator/box_packing_in_manipulator/BoxPackingInManipulatorDeviceDriver.java index ff19d0b..978aca6 100644 --- a/acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/deviceDriver/service/defination/opcDefination/one_floor/manipulator/box_packing_in_manipulator/BoxPackingInManipulatorDeviceDriver.java +++ b/acs2/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/deviceDriver/service/defination/opcDefination/one_floor/manipulator/box_packing_in_manipulator/BoxPackingInManipulatorDeviceDriver.java @@ -210,7 +210,7 @@ public class BoxPackingInManipulatorDeviceDriver extends AbstractOpcDeviceDriver } // 更新指令状态 - if (mode == 3 && task > 0) { + if (task > 0) { updateInstructionStatus(); } @@ -303,11 +303,11 @@ public class BoxPackingInManipulatorDeviceDriver extends AbstractOpcDeviceDriver } } //任务完成 - if (action == 5 && move == 0) { + if (action == 9 && move == 0) { if (inst != null) { try { instructionService.finish(inst.getInstruction_id()); - writing("to_command", 5); + writing("to_command", 9); } catch (Exception e) { message = "指令完成触发失败: " + e.getMessage(); }