From 2a9bc979e0631cbadde5fdb62fb696767e454101 Mon Sep 17 00:00:00 2001 From: gengby <858962040@qq.com> Date: Fri, 30 Dec 2022 11:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hongfeng/hf_station/HfStationDeviceDriver.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 f0e2c0d..6d3ff77 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 inspect_in_stocck = this.getDevice().getExtraValue().get("inspect_in_stocck"); - if (ObjectUtil.isEmpty(inspect_in_stocck)) { - inspect_in_stocck = "false"; + Object apply_empty = this.getDevice().getExtraValue().get("apply_empty"); + if (ObjectUtil.isEmpty(apply_empty)) { + apply_empty = "false"; } - if (inspect_in_stocck.toString().equals("true") && move == 1) { + if (apply_empty.toString().equals("true") && move == 1) { this.setEmptyHasGoodsRequireSucess(false); } logServer.deviceItemValue(this.device_code, "move", String.valueOf(move));