异常类型取消添加

main
Comair 10 months ago
parent d9a9bf107d
commit 2082da7028
  1. 7
      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);

Loading…
Cancel
Save