This commit is contained in:
张江玮
2023-02-02 18:47:01 +08:00
parent 3640aafae4
commit 3757aabde0

View File

@@ -163,7 +163,7 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
inst_message = null; inst_message = null;
this.clearWrite(); this.clearWrite();
} }
if (move == 0 && last_move == 1) { if (move == 0 && last_move == 1 && "06".equals(this.device.getRegion())) {
this.requiresShipDeviceUpdate = false; this.requiresShipDeviceUpdate = false;
} }
logServer.deviceItemValue(this.device_code, "move", String.valueOf(move)); logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));