Replace order of processUplinkMsg
This commit is contained in:
parent
5ee110b47e
commit
06aa6d680a
@ -659,9 +659,9 @@ public final class EdgeGrpcSession implements Closeable {
|
|||||||
result.addAll(ctx.getTelemetryProcessor().processTelemetryMsg(edge.getTenantId(), entityData));
|
result.addAll(ctx.getTelemetryProcessor().processTelemetryMsg(edge.getTenantId(), entityData));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (uplinkMsg.getEntityViewUpdateMsgCount() > 0) {
|
if (uplinkMsg.getDeviceProfileUpdateMsgCount() > 0) {
|
||||||
for (EntityViewUpdateMsg entityViewUpdateMsg : uplinkMsg.getEntityViewUpdateMsgList()) {
|
for (DeviceProfileUpdateMsg deviceProfileUpdateMsg : uplinkMsg.getDeviceProfileUpdateMsgList()) {
|
||||||
result.add(ctx.getEntityViewProcessor().processEntityViewMsgFromEdge(edge.getTenantId(), edge, entityViewUpdateMsg));
|
result.add(ctx.getDeviceProfileProcessor().processDeviceProfileMsgFromEdge(edge.getTenantId(), edge, deviceProfileUpdateMsg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (uplinkMsg.getDeviceUpdateMsgCount() > 0) {
|
if (uplinkMsg.getDeviceUpdateMsgCount() > 0) {
|
||||||
@ -689,9 +689,9 @@ public final class EdgeGrpcSession implements Closeable {
|
|||||||
result.add(ctx.getAlarmProcessor().processAlarmMsg(edge.getTenantId(), alarmUpdateMsg));
|
result.add(ctx.getAlarmProcessor().processAlarmMsg(edge.getTenantId(), alarmUpdateMsg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (uplinkMsg.getDeviceProfileUpdateMsgCount() > 0) {
|
if (uplinkMsg.getEntityViewUpdateMsgCount() > 0) {
|
||||||
for (DeviceProfileUpdateMsg deviceProfileUpdateMsg : uplinkMsg.getDeviceProfileUpdateMsgList()) {
|
for (EntityViewUpdateMsg entityViewUpdateMsg : uplinkMsg.getEntityViewUpdateMsgList()) {
|
||||||
result.add(ctx.getDeviceProfileProcessor().processDeviceProfileMsgFromEdge(edge.getTenantId(), edge, deviceProfileUpdateMsg));
|
result.add(ctx.getEntityViewProcessor().processEntityViewMsgFromEdge(edge.getTenantId(), edge, entityViewUpdateMsg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (uplinkMsg.getRelationUpdateMsgCount() > 0) {
|
if (uplinkMsg.getRelationUpdateMsgCount() > 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user