Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
4353e002
Commit
4353e002
authored
Nov 30, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
满发小时数由发电量/额定功率修改为发电量/装机容量
parent
f8b77d2e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
HouseholdTestController.java
.../api/householdapi/controller/HouseholdTestController.java
+2
-2
GoLangDataAcquisitionServiceImpl.java
...i/face/service/impl/GoLangDataAcquisitionServiceImpl.java
+3
-2
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/controller/HouseholdTestController.java
View file @
4353e002
...
@@ -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();
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/GoLangDataAcquisitionServiceImpl.java
View file @
4353e002
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment