Browse Source

Merge pull request #26 from BohdanSmetanyuk/bug/assign_entity_views_to_edge

fix in EntityViewUpdateMsg constructing
pull/2436/head
VoBa 6 years ago
committed by GitHub
parent
commit
9db41693bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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())
.setName(entityView.getName())
.setType(entityView.getType())
.setIdMSB(entityView.getEntityId().getId().getMostSignificantBits())
.setIdLSB(entityView.getEntityId().getId().getLeastSignificantBits())
.setEntityIdMSB(entityView.getEntityId().getId().getMostSignificantBits())
.setEntityIdLSB(entityView.getEntityId().getId().getLeastSignificantBits())
.setEntityType(entityType);
return builder.build();
}

Loading…
Cancel
Save