Commit da920f40 authored by hezhuozhi's avatar hezhuozhi

修改泰和单位

parent 6879fe91
...@@ -91,16 +91,16 @@ public class GFDZSBJCServiceImpl implements IJXDZService { ...@@ -91,16 +91,16 @@ public class GFDZSBJCServiceImpl implements IJXDZService {
if (flag) { if (flag) {
String pointName = (String) map.get("pointName"); String pointName = (String) map.get("pointName");
if (pointName.contains("日发电量")) { if (pointName.contains("日发电量")) {
pvDeviceDataVO.setGenerationDaily(result.getDouble("value")); pvDeviceDataVO.setGenerationDaily(result.getDouble("value")/100000);
} }
if (pointName.contains("月发电量")) { if (pointName.contains("月发电量")) {
pvDeviceDataVO.setGenerationMonth(result.getDouble("value")); pvDeviceDataVO.setGenerationMonth(result.getDouble("value")/10000);
} }
if (pointName.contains("年发电量")) { if (pointName.contains("年发电量")) {
pvDeviceDataVO.setGenerationYear(result.getDouble("value")/10000); pvDeviceDataVO.setGenerationYear(result.getDouble("value")/100000000);
} }
if (pointName.contains("总发电量")) { if (pointName.contains("总发电量")) {
pvDeviceDataVO.setGenerationGross(result.getDouble("value")/10000); pvDeviceDataVO.setGenerationGross(result.getDouble("value")/100000000);
} }
} }
} }
......
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