Commit 851ccb12 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 94b5d4be e293c256
...@@ -92,10 +92,10 @@ public class IdxBizPvWeightController extends BaseController { ...@@ -92,10 +92,10 @@ public class IdxBizPvWeightController extends BaseController {
e.setType("场站"); e.setType("场站");
break; break;
case "3": case "3":
e.setType("设备"); e.setType("子阵");
break; break;
case "4": case "4":
e.setType("子阵"); e.setType("设备");
break; break;
case "5": case "5":
e.setType("变量"); e.setType("变量");
......
...@@ -93,8 +93,8 @@ public class FDZSBJCServiceImpl implements IJXDZService { ...@@ -93,8 +93,8 @@ public class FDZSBJCServiceImpl implements IJXDZService {
windDeviceDataVO.setGenerationMonth(result.getDouble("value")); windDeviceDataVO.setGenerationMonth(result.getDouble("value"));
} }
if ("年发电量".equals(pointName)) { if ("年发电量".equals(pointName)) {
windDeviceDataVO.setGenerationYear(result.getDouble("value")); windDeviceDataVO.setGenerationYear(result.getDouble("value")/10000);
windDeviceDataVO.setGenerationGross(result.getDouble("value")); windDeviceDataVO.setGenerationGross(result.getDouble("value")/10000);
} }
} }
} }
......
...@@ -97,10 +97,10 @@ public class GFDZSBJCServiceImpl implements IJXDZService { ...@@ -97,10 +97,10 @@ public class GFDZSBJCServiceImpl implements IJXDZService {
pvDeviceDataVO.setGenerationMonth(result.getDouble("value")); pvDeviceDataVO.setGenerationMonth(result.getDouble("value"));
} }
if (pointName.contains("年发电量")) { if (pointName.contains("年发电量")) {
pvDeviceDataVO.setGenerationYear(result.getDouble("value")); pvDeviceDataVO.setGenerationYear(result.getDouble("value")/10000);
} }
if (pointName.contains("总发电量")) { if (pointName.contains("总发电量")) {
pvDeviceDataVO.setGenerationGross(result.getDouble("value")); pvDeviceDataVO.setGenerationGross(result.getDouble("value")/10000);
} }
} }
} }
......
...@@ -57,10 +57,10 @@ public class JXDZExecute { ...@@ -57,10 +57,10 @@ public class JXDZExecute {
fdzsbjcService.backupData(windDeviceDataVOList, needDataVO.getDateTime()); fdzsbjcService.backupData(windDeviceDataVOList, needDataVO.getDateTime());
gfdzsbjcService.backupData(pvDeviceDataVOList, needDataVO.getDateTime()); gfdzsbjcService.backupData(pvDeviceDataVOList, needDataVO.getDateTime());
//发送请求 //发送请求
// fdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windStationDataVOList); fdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windStationDataVOList);
// gfdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvStationDataVOList); gfdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvStationDataVOList);
// fdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windDeviceDataVOList); fdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windDeviceDataVOList);
// gfdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvDeviceDataVOList); gfdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvDeviceDataVOList);
log.info("小时任务执行成功"); log.info("小时任务执行成功");
} }
......
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