From 2082da7028627b169f771a94c2bbd7fe1d243421 Mon Sep 17 00:00:00 2001 From: Comair <1464848666@qq.com> Date: Fri, 14 Feb 2025 14:20:36 +0700 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=B1=BB=E5=9E=8B=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java b/shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java index ed45cd2..a189bf1 100644 --- a/shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java +++ b/shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java @@ -208,12 +208,7 @@ public class PlcEventTask { String devpName = property.getDevpName(); String address = property.getAddress(); businPlcException = new BusinPlcException(); - if (pointType.equals("oneBoverlength")||pointType.equals("oneAoverlength") - ||pointType.equals("oneLwide")||pointType.equals("oneRwide") - ||pointType.equals("oneHigh")||pointType.equals("ontExit") - ||pointType.equals("twoBoverlength")||pointType.equals("twoAoverlength") - ||pointType.equals("twoLwide")||pointType.equals("twoRwide") - ||pointType.equals("twoHigh")) { + if (pointType.equals("99")) { if (pointMap.containsKey(address) && Boolean.valueOf((pointMap.get(address).toString()))) { businPlcException.setPlcPoint(address); businPlcException.setExecMsg(devpName);