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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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(); |
|
|
|
} |
|
|
|
|