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
6fe9de63
Commit
6fe9de63
authored
Sep 04, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风机布置图-风机统计状态问题修改
parent
869641d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.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 @
6fe9de63
...
@@ -408,12 +408,12 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -408,12 +408,12 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
List
<
IndexDto
>
equipNumList
=
getFanStatusList
(
stationId
);
List
<
IndexDto
>
equipNumList
=
getFanStatusList
(
stationId
);
Map
<
String
,
Long
>
countMap
=
equipNumList
.
stream
().
collect
(
Collectors
.
groupingBy
(
IndexDto:
:
getState
,
Collectors
.
counting
()));
Map
<
String
,
Long
>
countMap
=
equipNumList
.
stream
().
collect
(
Collectors
.
groupingBy
(
IndexDto:
:
getState
,
Collectors
.
counting
()));
List
<
IndexDto
>
resultList
=
new
ArrayList
<>();
List
<
IndexDto
>
resultList
=
new
ArrayList
<>();
List
<
String
>
list
=
Arrays
.
asList
(
"正常运行"
,
"
告警运行"
,
"正常停机"
,
"故障停机
"
,
"限功率"
,
"待机状态"
,
"维护状态"
,
"通讯中断"
);
List
<
String
>
list
=
Arrays
.
asList
(
"正常运行"
,
"
报警运行"
,
"停机状态"
,
"故障状态
"
,
"限功率"
,
"待机状态"
,
"维护状态"
,
"通讯中断"
);
HashMap
<
String
,
String
>
colorMap
=
new
HashMap
<>();
HashMap
<
String
,
String
>
colorMap
=
new
HashMap
<>();
colorMap
.
put
(
"正常运行"
,
"#00aa00"
);
colorMap
.
put
(
"正常运行"
,
"#00aa00"
);
colorMap
.
put
(
"
告
警运行"
,
"#ffc400"
);
colorMap
.
put
(
"
报
警运行"
,
"#ffc400"
);
colorMap
.
put
(
"
正常停机
"
,
"#0055ff"
);
colorMap
.
put
(
"
停机状态
"
,
"#0055ff"
);
colorMap
.
put
(
"故障
停机
"
,
"#00aaff"
);
colorMap
.
put
(
"故障
状态
"
,
"#00aaff"
);
colorMap
.
put
(
"限功率"
,
"#a3f5aa"
);
colorMap
.
put
(
"限功率"
,
"#a3f5aa"
);
colorMap
.
put
(
"待机状态"
,
"#ff0000"
);
colorMap
.
put
(
"待机状态"
,
"#ff0000"
);
colorMap
.
put
(
"维护状态"
,
"#ff00ff"
);
colorMap
.
put
(
"维护状态"
,
"#ff00ff"
);
...
...
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