diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/hongfeng/hf_station/HfStationDeviceDriver.java b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/hongfeng/hf_station/HfStationDeviceDriver.java index 6d3ff77..60192a8 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/hongfeng/hf_station/HfStationDeviceDriver.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/hongfeng/hf_station/HfStationDeviceDriver.java @@ -206,11 +206,11 @@ public class HfStationDeviceDriver extends AbstractOpcDeviceDriver implements De logServer.deviceExecuteLog(this.device_code, "", "", "信号mode:" + last_mode + "->" + mode); } if (move != last_move) { - Object apply_empty = this.getDevice().getExtraValue().get("apply_empty"); - if (ObjectUtil.isEmpty(apply_empty)) { - apply_empty = "false"; + Object apply_task = this.getDevice().getExtraValue().get("apply_task"); + if (ObjectUtil.isEmpty(apply_task)) { + apply_task = "false"; } - if (apply_empty.toString().equals("true") && move == 1) { + if (apply_task.toString().equals("true") && move == 1) { this.setEmptyHasGoodsRequireSucess(false); } logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));