dds-电池簇同步数据获取父类stackId
This commit is contained in:
@ -513,9 +513,10 @@ public class DDSDataProcessServiceImpl extends AbstractBatteryDataProcessor impl
|
|||||||
return stackDeviceId;
|
return stackDeviceId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stackDeviceId = list.get(0).getParentId();
|
for (EmsDevicesSetting emsDevicesSetting : list) {
|
||||||
if (stackDeviceId == null || stackDeviceId.isEmpty()) {
|
if (deviceId.equals(emsDevicesSetting.getDeviceId())) {
|
||||||
return stackDeviceId;
|
stackDeviceId = emsDevicesSetting.getParentId();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return stackDeviceId;
|
return stackDeviceId;
|
||||||
|
|||||||
Reference in New Issue
Block a user