Update SiemensConveyorDeviceDriver.java
This commit is contained in:
@@ -113,7 +113,7 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
|
||||
boolean requireApplyLaStrangulationSuccess = false;
|
||||
boolean requireEmptyInSuccess = false;
|
||||
boolean requireEmptyOutSuccess = false;
|
||||
boolean requiresShipDeviceUpdate = false;
|
||||
boolean requiresShipDeviceUpdate = true;
|
||||
private int instruction_finished_time_out;
|
||||
|
||||
int branchProtocol = 0;
|
||||
@@ -163,7 +163,7 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
|
||||
inst_message = null;
|
||||
this.clearWrite();
|
||||
}
|
||||
if (move == 0 && last_move == 1) {
|
||||
if (move == 0 && last_move == 1 && mode != 0) {
|
||||
this.requiresShipDeviceUpdate = false;
|
||||
}
|
||||
logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));
|
||||
|
||||
Reference in New Issue
Block a user