This commit is contained in:
2022-12-27 22:43:05 +08:00
parent 4cce776c46
commit 0cf5eefc70

View File

@@ -169,7 +169,8 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
int nextTask = siemensConveyorDeviceDriver.getTask();
if (nextTask == task) {
inst_message = "指令号:" + instruction.getInstruction_code() + " " + instruction.getStart_point_code() + "->" + instruction.getNext_point_code() + " 载具号:" + instruction.getVehicle_code();
if (StrUtil.equals(instruction.getInstruction_status(), "1") && StrUtil.equals(this.getDeviceCode(), instruction.getNext_device_code())) {
if (StrUtil.equals(instruction.getInstruction_status(), "1")) {
inst = instruction;
finish_instruction();
this.clearWrite();
}