更新
This commit is contained in:
@@ -206,11 +206,11 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De
|
|||||||
logServer.deviceExecuteLog(this.device_code, "", "", "信号mode:" + last_mode + "->" + mode);
|
logServer.deviceExecuteLog(this.device_code, "", "", "信号mode:" + last_mode + "->" + mode);
|
||||||
}
|
}
|
||||||
if (move != last_move) {
|
if (move != last_move) {
|
||||||
Object inspect_in_stocck = this.getDevice().getExtraValue().get("inspect_in_stocck");
|
Object apply_empty = this.getDevice().getExtraValue().get("apply_empty");
|
||||||
if (ObjectUtil.isEmpty(inspect_in_stocck)) {
|
if (ObjectUtil.isEmpty(apply_empty)) {
|
||||||
inspect_in_stocck = "false";
|
apply_empty = "false";
|
||||||
}
|
}
|
||||||
if (inspect_in_stocck.toString().equals("true") && move == 1) {
|
if (apply_empty.toString().equals("true") && move == 1) {
|
||||||
this.setEmptyHasGoodsRequireSucess(false);
|
this.setEmptyHasGoodsRequireSucess(false);
|
||||||
}
|
}
|
||||||
logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));
|
logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));
|
||||||
|
|||||||
Reference in New Issue
Block a user