Browse Source

fix in EntityViewUpdateMsg constructing

pull/2436/head
Bohdan Smetaniuk 6 years ago
parent
commit
daeb963195
  1. 4
      application/src/main/java/org/thingsboard/server/service/edge/rpc/constructor/EntityViewUpdateMsgConstructor.java

4
application/src/main/java/org/thingsboard/server/service/edge/rpc/constructor/EntityViewUpdateMsgConstructor.java

@ -45,8 +45,8 @@ public class EntityViewUpdateMsgConstructor {
.setIdLSB(entityView.getId().getId().getLeastSignificantBits()) .setIdLSB(entityView.getId().getId().getLeastSignificantBits())
.setName(entityView.getName()) .setName(entityView.getName())
.setType(entityView.getType()) .setType(entityView.getType())
.setIdMSB(entityView.getEntityId().getId().getMostSignificantBits()) .setEntityIdMSB(entityView.getEntityId().getId().getMostSignificantBits())
.setIdLSB(entityView.getEntityId().getId().getLeastSignificantBits()) .setEntityIdLSB(entityView.getEntityId().getId().getLeastSignificantBits())
.setEntityType(entityType); .setEntityType(entityType);
return builder.build(); return builder.build();
} }

Loading…
Cancel
Save