Commit dc902d65 authored by zhangsen's avatar zhangsen

bug修改

parent 8483c05b
......@@ -1610,20 +1610,20 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
indicatorsDtos.forEach(e -> {
switch (e.getEquipmentIndexName()) {
case "总直流功率":
map.put("sr", keepTwoDecimalPlaces(e.getValue()));
map.put("sr", keepTwoDecimalPlaces(e.getValueDouble().toString()));
break;
case "有功功率":
map.put("sc", keepTwoDecimalPlaces(e.getValue()));
map.put("sc", keepTwoDecimalPlaces(e.getValueDouble().toString()));
break;
case "逆变器效率":
map.put("efficiency", keepTwoDecimalPlaces(e.getValue()));
map.put("efficiency", keepTwoDecimalPlaces(e.getValueDouble().toString()));
break;
case "日发电量":
double v = Double.parseDouble(e.getValue()) * CommonConstans.pvGenPoweActor;
double v = Double.parseDouble(e.getValueDouble().toString()) * CommonConstans.pvGenPoweActor;
map.put("dayNum", keepTwoDecimalPlaces(String.valueOf(v)));
break;
case "总发电量":
double a = Double.parseDouble(e.getValue()) * CommonConstans.pvGenPoweActor;
double a = Double.parseDouble(e.getValueDouble().toString()) * CommonConstans.pvGenPoweActor;
map.put("yearNum", keepTwoDecimalPlaces(String.valueOf(a)));
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment