|
|
|
@ -210,6 +210,7 @@ public class PlcEventTask { |
|
|
|
String address = property.getAddress(); |
|
|
|
String address = property.getAddress(); |
|
|
|
businPlcException = new BusinPlcException(); |
|
|
|
businPlcException = new BusinPlcException(); |
|
|
|
if (pointType.equals("99")) { |
|
|
|
if (pointType.equals("99")) { |
|
|
|
|
|
|
|
log.info("地址:"+address+" 报警内容:"+devpName); |
|
|
|
if (pointMap.containsKey(address) && Boolean.valueOf((pointMap.get(address).toString()))) { |
|
|
|
if (pointMap.containsKey(address) && Boolean.valueOf((pointMap.get(address).toString()))) { |
|
|
|
businPlcException.setPlcPoint(address); |
|
|
|
businPlcException.setPlcPoint(address); |
|
|
|
businPlcException.setExecMsg(MessageUtils.message(devpName)); |
|
|
|
businPlcException.setExecMsg(MessageUtils.message(devpName)); |
|
|
|
|