事件上报新增deviceEvent
This commit is contained in:
parent
6ac917d4e8
commit
01b60f6ba2
@ -319,9 +319,9 @@ public class NodeMessageServiceImpl implements NodeMessageService {
|
||||
deviceEventInfo.setConfirmed(0);
|
||||
if (!StringUtils.isEmpty(eventType) && eventType.equals("遥信变位")){
|
||||
if (item.getAttrValue().equals(0)){
|
||||
deviceEventInfo.setEventText(fieldName + "复归");
|
||||
deviceEventInfo.setEventText(fieldName + " 复归");
|
||||
}else {
|
||||
deviceEventInfo.setEventText(fieldName + "动作");
|
||||
deviceEventInfo.setEventText(fieldName + " 动作");
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user