Update SiemensConveyorDeviceDriver.java
This commit is contained in:
@@ -162,9 +162,9 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
|
|||||||
message = null;
|
message = null;
|
||||||
inst_message = null;
|
inst_message = null;
|
||||||
this.clearWrite();
|
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.deviceItemValue(this.device_code, "move", String.valueOf(move));
|
||||||
logServer.deviceExecuteLog(this.device_code, "", "", "信号move:" + last_move + "->" + move);
|
logServer.deviceExecuteLog(this.device_code, "", "", "信号move:" + last_move + "->" + move);
|
||||||
|
|||||||
Reference in New Issue
Block a user