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);