Commit a68fca63 authored by lilongyang's avatar lilongyang

Merge branch 'developer' of http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz into developer

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