Update SiemensConveyorDeviceDriver.java

This commit is contained in:
张江玮
2023-02-02 09:25:06 +08:00
parent 1706d2b1f0
commit 9856234890

View File

@@ -162,9 +162,9 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
message = null;
inst_message = null;
this.clearWrite();
if (last_move == 1) {
this.requiresShipDeviceUpdate = false;
}
}
if (move == 0 && last_move == 1) {
this.requiresShipDeviceUpdate = false;
}
logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));
logServer.deviceExecuteLog(this.device_code, "", "", "信号move" + last_move + "->" + move);