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
ca6446ca
Commit
ca6446ca
authored
Apr 12, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改状态
parent
e80cdb4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
GoodWeConstant.java
...eejoin/amos/api/householdapi/constant/GoodWeConstant.java
+4
-3
GoodWeDataAcquisitionServiceImpl.java
...i/face/service/impl/GoodWeDataAcquisitionServiceImpl.java
+1
-1
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/constant/GoodWeConstant.java
View file @
ca6446ca
...
...
@@ -13,9 +13,10 @@ public class GoodWeConstant {
public
static
final
HashMap
<
String
,
String
>
stationStaus
=
new
HashMap
<
String
,
String
>()
{
{
put
(
"-1"
,
"离线"
);
put
(
"0"
,
"待机"
);
put
(
"1"
,
"正常"
);
put
(
"2"
,
"停机"
);
put
(
"0"
,
"离线"
);
put
(
"1"
,
"在线"
);
put
(
"2"
,
"离线"
);
put
(
"-2"
,
"离线"
);
}
};
public
static
final
HashMap
<
String
,
String
>
warningStaus
=
new
HashMap
<
String
,
String
>()
{
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/GoodWeDataAcquisitionServiceImpl.java
View file @
ca6446ca
...
...
@@ -117,7 +117,7 @@ public class GoodWeDataAcquisitionServiceImpl implements GoodWeDataAcquisitionSe
jpStation
.
setStationContact
(
goodWeStationList
.
getOwner_name
());
jpStation
.
setModuleCount
(
0
);
jpStation
.
setRealTimePower
(
goodWeStationList
.
getPac
()
*
GoodWeConstant
.
wToKw
);
jpStation
.
setState
(
GoodWeConstant
.
stationStaus
.
get
(
goodWeStationList
.
getStatus
()));
jpStation
.
setState
(
GoodWeConstant
.
stationStaus
.
get
(
goodWeStationList
.
getStatus
()
+
""
));
jpStation
.
setDayGenerate
(
goodWeStationList
.
getEday
());
jpStation
.
setDayIncome
(
goodWeStationList
.
getEday_income
());
jpStation
.
setAccumulatedPower
(
goodWeStationList
.
getEtotal
());
...
...
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