Commit 4353e002 authored by caotao's avatar caotao

满发小时数由发电量/额定功率修改为发电量/装机容量

parent f8b77d2e
...@@ -115,9 +115,9 @@ public class HouseholdTestController { ...@@ -115,9 +115,9 @@ public class HouseholdTestController {
public void ksolarnew() throws IOException { public void ksolarnew() throws IOException {
// kSolarDataAcquisitionService.stationList(); // kSolarDataAcquisitionService.stationList();
// kSolarDataAcquisitionService.stationList(); // kSolarDataAcquisitionService.stationList();
kSolarDataAcquisitionService.stationDetail(); // kSolarDataAcquisitionService.stationDetail();
// kSolarDataAcquisitionService.collectorList(); // kSolarDataAcquisitionService.collectorList();
// kSolarDataAcquisitionService.collectorDetail(); kSolarDataAcquisitionService.collectorDetail();
//// goLangDataAcquisitionService.inverterList(); //// goLangDataAcquisitionService.inverterList();
// goLangDataAcquisitionService.collectorDetail(); // goLangDataAcquisitionService.collectorDetail();
// goLangDataAcquisitionService.inverterDetail(); // goLangDataAcquisitionService.inverterDetail();
......
...@@ -171,10 +171,11 @@ public class GoLangDataAcquisitionServiceImpl implements GoLangDataAcquisitionSe ...@@ -171,10 +171,11 @@ public class GoLangDataAcquisitionServiceImpl implements GoLangDataAcquisitionSe
jpStation.setRealTimePower(golangStationDetail.getPower()); jpStation.setRealTimePower(golangStationDetail.getPower());
jpStation.setOnGridType(GoLangConstant.intoNetWorkStatus.get(String.valueOf(golangStationDetail.getStationtypenew()))); jpStation.setOnGridType(GoLangConstant.intoNetWorkStatus.get(String.valueOf(golangStationDetail.getStationtypenew())));
jpStation.setDayGenerate(golangStationDetail.getDayenergy()); jpStation.setDayGenerate(golangStationDetail.getDayenergy());
if(!golangStationDetail.getMonthenergystr().toLowerCase().equals("kwh")){ if (!golangStationDetail.getMonthenergystr().toLowerCase().equals("kwh")) {
jpStation.setMonthGenerate(golangStationDetail.getMonthenergy() * GoLangConstant.mwhTokwh); jpStation.setMonthGenerate(golangStationDetail.getMonthenergy() * GoLangConstant.mwhTokwh);
} else {
jpStation.setMonthGenerate(golangStationDetail.getMonthenergy());
} }
jpStation.setMonthGenerate(golangStationDetail.getMonthenergy());
jpStation.setYearGenerate(golangStationDetail.getYearenergy() * GoLangConstant.mwhTokwh); jpStation.setYearGenerate(golangStationDetail.getYearenergy() * GoLangConstant.mwhTokwh);
jpStation.setAccumulatedPower(golangStationDetail.getAllenergy() * GoLangConstant.mwhTokwh); jpStation.setAccumulatedPower(golangStationDetail.getAllenergy() * GoLangConstant.mwhTokwh);
jpStation.setDayIncome(golangStationDetail.getDayincome()); jpStation.setDayIncome(golangStationDetail.getDayincome());
......
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