From daeb9631950028d6f2a5979720dcd05bceab2047 Mon Sep 17 00:00:00 2001 From: Bohdan Smetaniuk Date: Thu, 16 Jul 2020 16:34:18 +0300 Subject: [PATCH] fix in EntityViewUpdateMsg constructing --- .../edge/rpc/constructor/EntityViewUpdateMsgConstructor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/main/java/org/thingsboard/server/service/edge/rpc/constructor/EntityViewUpdateMsgConstructor.java b/application/src/main/java/org/thingsboard/server/service/edge/rpc/constructor/EntityViewUpdateMsgConstructor.java index 75301c7ed9..2ca0b4fcbe 100644 --- a/application/src/main/java/org/thingsboard/server/service/edge/rpc/constructor/EntityViewUpdateMsgConstructor.java +++ b/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(); }