功率曲线导出优化;
This commit is contained in:
parent
dd28e98209
commit
afe2063b70
@ -431,10 +431,13 @@ public class StatisticalAnalysisServiceImpl implements StatisticalAnalysisServic
|
|||||||
Map<String, Object> stringObjectMap = dataList.get(i);
|
Map<String, Object> stringObjectMap = dataList.get(i);
|
||||||
stringObjectMap.put("theoryIWindSpeed", stringObjectMap1.get("theoryIWindSpeed"));
|
stringObjectMap.put("theoryIWindSpeed", stringObjectMap1.get("theoryIWindSpeed"));
|
||||||
stringObjectMap.put("theoryIGenPower", stringObjectMap1.get("theoryIGenPower"));
|
stringObjectMap.put("theoryIGenPower", stringObjectMap1.get("theoryIGenPower"));
|
||||||
listMap.remove(i);
|
}else {
|
||||||
|
HashMap<String, Object> theoryMaps = new HashMap<>();
|
||||||
|
theoryMaps.put("theoryIWindSpeed", stringObjectMap1.get("theoryIWindSpeed"));
|
||||||
|
theoryMaps.put("theoryIGenPower", stringObjectMap1.get("theoryIGenPower"));
|
||||||
|
dataList.add(theoryMaps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dataList.addAll(listMap);
|
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < dataList.size(); i++) {
|
for (int i = 0; i < dataList.size(); i++) {
|
||||||
Map<String, Object> dataMap = dataList.get(i);
|
Map<String, Object> dataMap = dataList.get(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user