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
8d1bfdaa
Commit
8d1bfdaa
authored
Oct 11, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发电量单位
parent
e31e43f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+1
-1
MonitoringServiceImpl.java
.../module/jxiop/biz/service/impl/MonitoringServiceImpl.java
+4
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
8d1bfdaa
...
...
@@ -1061,7 +1061,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
ColModel
colModelPower
=
new
ColModel
(
"power"
,
"power"
,
"有功功率(MW)"
,
"有功功率(MW)"
,
"dataGrid"
,
"power"
);
ColModel
colModelWindSpeed
=
new
ColModel
(
"windSpeed"
,
"windSpeed"
,
"风速(m/s)"
,
"风速(m/s)"
,
"dataGrid"
,
"windSpeed"
);
ColModel
colModelWind
=
new
ColModel
(
"wind"
,
"wind"
,
"风向(°)"
,
"风向(°)"
,
"dataGrid"
,
"wind"
);
ColModel
colModelElectricity
=
new
ColModel
(
"electricity"
,
"electricity"
,
"日发电量(万
KWh)"
,
"日发电量(万K
Wh)"
,
"dataGrid"
,
"electricity"
);
ColModel
colModelElectricity
=
new
ColModel
(
"electricity"
,
"electricity"
,
"日发电量(万
kWh)"
,
"日发电量(万k
Wh)"
,
"dataGrid"
,
"electricity"
);
List
<
ColModel
>
listColModel
=
Arrays
.
asList
(
colModelEquipmentNumber
,
colModelPower
,
colModelWindSpeed
,
colModelWind
,
colModelElectricity
);
ResultsData
resultsData
=
new
ResultsData
(
DataGridMock
,
listColModel
);
return
resultsData
;
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitoringServiceImpl.java
View file @
8d1bfdaa
...
...
@@ -726,13 +726,13 @@ public class MonitoringServiceImpl {
}
});
HashMap
<
String
,
String
>
dayHashMap
=
new
HashMap
<>();
dayHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
dailyPower
.
get
())
+
"万
K
Wh"
);
dayHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
dailyPower
.
get
())
+
"万
k
Wh"
);
HashMap
<
String
,
String
>
monthHashMap
=
new
HashMap
<>();
monthHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
monthlyPower
.
get
())
+
"万
K
Wh"
);
monthHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
monthlyPower
.
get
())
+
"万
k
Wh"
);
HashMap
<
String
,
String
>
annualHashMap
=
new
HashMap
<>();
annualHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
annualPower
.
get
())
+
"万
K
Wh"
);
annualHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
annualPower
.
get
())
+
"万
k
Wh"
);
HashMap
<
String
,
String
>
totalHashMap
=
new
HashMap
<>();
totalHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
annualPower
.
get
())
+
"万
K
Wh"
);
totalHashMap
.
put
(
"title"
,
String
.
format
(
CommonConstans
.
Fourdecimalplaces
,
annualPower
.
get
())
+
"万
k
Wh"
);
hashMapList
.
add
(
dayHashMap
);
hashMapList
.
add
(
monthHashMap
);
hashMapList
.
add
(
annualHashMap
);
...
...
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