fixed device profile proto deserialization
This commit is contained in:
parent
bc82e2084f
commit
13e00bfa7b
@ -658,6 +658,8 @@ public class ProtoUtils {
|
|||||||
}
|
}
|
||||||
if (proto.hasDefaultRuleChainIdMSB() && proto.hasDefaultRuleChainIdLSB()) {
|
if (proto.hasDefaultRuleChainIdMSB() && proto.hasDefaultRuleChainIdLSB()) {
|
||||||
deviceProfile.setDefaultRuleChainId(getEntityId(proto.getDefaultRuleChainIdMSB(), proto.getDefaultRuleChainIdLSB(), RuleChainId::new));
|
deviceProfile.setDefaultRuleChainId(getEntityId(proto.getDefaultRuleChainIdMSB(), proto.getDefaultRuleChainIdLSB(), RuleChainId::new));
|
||||||
|
}
|
||||||
|
if (proto.hasDefaultDashboardIdMSB() && proto.hasDefaultDashboardIdLSB()) {
|
||||||
deviceProfile.setDefaultDashboardId(getEntityId(proto.getDefaultDashboardIdMSB(), proto.getDefaultDashboardIdLSB(), DashboardId::new));
|
deviceProfile.setDefaultDashboardId(getEntityId(proto.getDefaultDashboardIdMSB(), proto.getDefaultDashboardIdLSB(), DashboardId::new));
|
||||||
}
|
}
|
||||||
if (proto.hasDefaultQueueName()) {
|
if (proto.hasDefaultQueueName()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user