报警信息

main
judy 10 months ago
parent 4b67419dce
commit 9152c51450
  1. 4
      shkj-wms/src/main/java/com/shkj/wcs/plc/PlcEventTask.java

@ -212,8 +212,10 @@ public class PlcEventTask {
if (pointType.equals("99")) {
log.info("地址:"+address+" 报警内容:"+devpName);
if (pointMap.containsKey(address) && Boolean.valueOf((pointMap.get(address).toString()))) {
String message = MessageUtils.message(devpName);
log.info("报警内容转多语言:"+message);
businPlcException.setPlcPoint(address);
businPlcException.setExecMsg(MessageUtils.message(devpName));
businPlcException.setExecMsg(message);
businPlcException.setExecDate(DateUtils.getTime());
businPlcException.setExecDev(devType);
execList.add(businPlcException);

Loading…
Cancel
Save