feat: 装箱入库
This commit is contained in:
Binary file not shown.
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user