修正部分参数
This commit is contained in:
@ -146,6 +146,9 @@ public class FXXDataProcessServiceImpl implements IFXXDataProcessService {
|
||||
String stackDeviceId = "";
|
||||
if (up != null && up.size() >0) {
|
||||
stackDeviceId = up.get(0).getParentId();
|
||||
if (stackDeviceId != null || stackDeviceId.isEmpty()) {
|
||||
stackDeviceId = "1";
|
||||
}
|
||||
}
|
||||
//BMS 电池簇
|
||||
EmsBatteryCluster data = new EmsBatteryCluster();
|
||||
@ -216,6 +219,9 @@ public class FXXDataProcessServiceImpl implements IFXXDataProcessService {
|
||||
String stackDeviceId = "";
|
||||
if (up != null && up.size() >0) {
|
||||
stackDeviceId = up.get(0).getParentId();
|
||||
if (stackDeviceId != null || stackDeviceId.isEmpty()) {
|
||||
stackDeviceId = "1";
|
||||
}
|
||||
}
|
||||
//单体电池
|
||||
Map<String, Map<String, Object>> records = processData(JSON.parseObject(dataJson, new TypeReference<Map<String, Object>>() {}));
|
||||
|
Reference in New Issue
Block a user