Commit dc902d65 authored by zhangsen's avatar zhangsen

bug修改

parent 8483c05b
...@@ -1610,20 +1610,20 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -1610,20 +1610,20 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
indicatorsDtos.forEach(e -> { indicatorsDtos.forEach(e -> {
switch (e.getEquipmentIndexName()) { switch (e.getEquipmentIndexName()) {
case "总直流功率": case "总直流功率":
map.put("sr", keepTwoDecimalPlaces(e.getValue())); map.put("sr", keepTwoDecimalPlaces(e.getValueDouble().toString()));
break; break;
case "有功功率": case "有功功率":
map.put("sc", keepTwoDecimalPlaces(e.getValue())); map.put("sc", keepTwoDecimalPlaces(e.getValueDouble().toString()));
break; break;
case "逆变器效率": case "逆变器效率":
map.put("efficiency", keepTwoDecimalPlaces(e.getValue())); map.put("efficiency", keepTwoDecimalPlaces(e.getValueDouble().toString()));
break; break;
case "日发电量": 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))); map.put("dayNum", keepTwoDecimalPlaces(String.valueOf(v)));
break; break;
case "总发电量": 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))); map.put("yearNum", keepTwoDecimalPlaces(String.valueOf(a)));
break; 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