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
c82d315d
Commit
c82d315d
authored
Oct 16, 2023
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接第三方北向数据
parent
8f63b3d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
KsolarDataAcquisitionServiceImpl.java
...i/face/service/impl/KsolarDataAcquisitionServiceImpl.java
+7
-7
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/KsolarDataAcquisitionServiceImpl.java
View file @
c82d315d
...
@@ -171,15 +171,15 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -171,15 +171,15 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
jpStation
.
setState
(
KSolarConstant
.
collectStaus
.
get
(
String
.
valueOf
(
ksolarStation
.
getStatus
())));
jpStation
.
setState
(
KSolarConstant
.
collectStaus
.
get
(
String
.
valueOf
(
ksolarStation
.
getStatus
())));
jpStation
.
setRealTimePower
(
ksolarStation
.
getPowerInter
());
jpStation
.
setRealTimePower
(
ksolarStation
.
getPowerInter
());
jpStation
.
setDayGenerate
(
ksolarStation
.
getDayGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpStation
.
setDayGenerate
(
ksolarStation
.
getDayGeneration
());
jpStation
.
setAccumulatedPower
(
ksolarStation
.
getTotalGeneration
());
jpStation
.
setAccumulatedPower
(
ksolarStation
.
getTotalGeneration
());
jpStation
.
setArea
(
ksolarStation
.
getAddress
());
jpStation
.
setArea
(
ksolarStation
.
getAddress
());
// 日收益
// 日收益
jpStation
.
setDayIncome
(
stationEarn
.
getDayEarn
());
jpStation
.
setDayIncome
(
stationEarn
.
getDayEarn
());
// 月发电量
// 月发电量
jpStation
.
setMonthGenerate
(
stationEarn
.
getMonthGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpStation
.
setMonthGenerate
(
stationEarn
.
getMonthGeneration
());
// 年发电量
// 年发电量
jpStation
.
setYearGenerate
(
stationEarn
.
getYearGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpStation
.
setYearGenerate
(
stationEarn
.
getYearGeneration
());
// 月收益
// 月收益
jpStation
.
setMonthIncome
(
monthEarn
.
get
(
"monthEarn"
));
jpStation
.
setMonthIncome
(
monthEarn
.
get
(
"monthEarn"
));
...
@@ -464,10 +464,10 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -464,10 +464,10 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
jpInverter
.
setUpdateTime
(
new
Date
());
jpInverter
.
setUpdateTime
(
new
Date
());
jpInverter
.
setCurrentPower
(
ksolarStationCollectData
.
getPowerApparent
());
jpInverter
.
setCurrentPower
(
ksolarStationCollectData
.
getPowerApparent
());
jpInverter
.
setDayPowerGeneration
(
ksolarStationCollectData
.
getDayGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpInverter
.
setDayPowerGeneration
(
ksolarStationCollectData
.
getDayGeneration
());
jpInverter
.
setMonthPowerGeneration
(
ksolarStationCollectData
.
getMonthGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpInverter
.
setMonthPowerGeneration
(
ksolarStationCollectData
.
getMonthGeneration
());
jpInverter
.
setYearPowerGeneration
(
ksolarStationCollectData
.
getYearGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpInverter
.
setYearPowerGeneration
(
ksolarStationCollectData
.
getYearGeneration
());
jpInverter
.
setTotalPowerGeneration
(
ksolarStationCollectData
.
getTotalGeneration
()
*
KSolarConstant
.
kwhToMwh
);
jpInverter
.
setTotalPowerGeneration
(
ksolarStationCollectData
.
getTotalGeneration
());
jpInverter
.
setModel
(
ksolarStationCollectData
.
getDeviceModel
());
jpInverter
.
setModel
(
ksolarStationCollectData
.
getDeviceModel
());
jpInverter
.
setVersion
(
ksolarStationCollectData
.
getVersion
());
jpInverter
.
setVersion
(
ksolarStationCollectData
.
getVersion
());
jpInverter
.
setThirdStationId
(
ksolarStationCollectList
.
getThirdStationId
());
jpInverter
.
setThirdStationId
(
ksolarStationCollectList
.
getThirdStationId
());
...
...
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