事件上报新增deviceEvent
This commit is contained in:
parent
565931e3a2
commit
10846b3a2e
@ -317,11 +317,11 @@ public class NodeMessageServiceImpl implements NodeMessageService {
|
||||
}
|
||||
deviceEventInfo.setEventLevel(0);
|
||||
deviceEventInfo.setConfirmed(0);
|
||||
if (!StringUtils.isEmpty(fieldName) && fieldName.equals("遥信变位")){
|
||||
if (!StringUtils.isEmpty(eventType) && eventType.equals("遥信变位")){
|
||||
deviceEventInfo.setEventText(fieldName + eventType + "负归");
|
||||
}
|
||||
else{
|
||||
deviceEventInfo.setEventText(fieldName + eventType + "属性值为:"+item.getAttrValue()+",越限值为:"+item.getLimitValue());
|
||||
deviceEventInfo.setEventText(fieldName + eventType + ",属性值为:"+item.getAttrValue()+",越限值为:"+item.getLimitValue());
|
||||
}
|
||||
valueList.add(deviceEventInfo);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user