Commit 7cbfc658 authored by hezhuozhi's avatar hezhuozhi

NGN修改单位

parent d1eac0ba
......@@ -93,8 +93,8 @@ public class FDZSBJCServiceImpl implements IJXDZService {
windDeviceDataVO.setGenerationMonth(result.getDouble("value"));
}
if ("年发电量".equals(pointName)) {
windDeviceDataVO.setGenerationYear(result.getDouble("value"));
windDeviceDataVO.setGenerationGross(result.getDouble("value"));
windDeviceDataVO.setGenerationYear(result.getDouble("value")/10000);
windDeviceDataVO.setGenerationGross(result.getDouble("value")/10000);
}
}
}
......
......@@ -97,10 +97,10 @@ public class GFDZSBJCServiceImpl implements IJXDZService {
pvDeviceDataVO.setGenerationMonth(result.getDouble("value"));
}
if (pointName.contains("年发电量")) {
pvDeviceDataVO.setGenerationYear(result.getDouble("value"));
pvDeviceDataVO.setGenerationYear(result.getDouble("value")/10000);
}
if (pointName.contains("总发电量")) {
pvDeviceDataVO.setGenerationGross(result.getDouble("value"));
pvDeviceDataVO.setGenerationGross(result.getDouble("value")/10000);
}
}
}
......
......@@ -57,10 +57,10 @@ public class JXDZExecute {
fdzsbjcService.backupData(windDeviceDataVOList, needDataVO.getDateTime());
gfdzsbjcService.backupData(pvDeviceDataVOList, needDataVO.getDateTime());
//发送请求
// fdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windStationDataVOList);
// gfdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvStationDataVOList);
// fdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windDeviceDataVOList);
// gfdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvDeviceDataVOList);
fdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windStationDataVOList);
gfdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvStationDataVOList);
fdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windDeviceDataVOList);
gfdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvDeviceDataVOList);
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