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
302ed84e
Commit
302ed84e
authored
Sep 28, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
风机修改
parent
a64c1b69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+3
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
302ed84e
...
...
@@ -227,7 +227,7 @@ public class MonitorFanIdxController extends BaseController {
queryCondtion1
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"220kV夏雩线212线路测控装置PCS-9705TA有功功率一次值"
));
queryCondtion1
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
stationBasic
.
getBoosterGatewayId
()));
List
<
ESEquipments
>
result1
=
commonService
.
getListDataByCondtions
(
queryCondtion1
,
null
,
ESEquipments
.
class
);
columnMap
.
put
(
"有功功率"
,
String
.
format
(
"%.2f"
,
result1
.
get
(
0
).
getValueF
()
/
1000
));
columnMap
.
put
(
"有功功率"
,
String
.
format
(
"%.2f"
,
result1
.
get
(
0
).
getValueF
()));
String
num
=
monitorFanIndicator
.
getEquipCount
(
gatewayId
,
"FDZ"
);
columnMap
.
put
(
"风机台数"
,
num
);
...
...
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 @
302ed84e
...
...
@@ -1554,7 +1554,9 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
for
(
String
value
:
values
)
{
mean
+=
Double
.
parseDouble
(
value
);
}
mean
=
Double
.
parseDouble
(
String
.
format
(
"%.2f"
,
mean
/
values
.
size
()));
mean
=
Double
.
parseDouble
(
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
mean
/
values
.
size
()));
max
=
Double
.
parseDouble
(
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
max
));
min
=
Double
.
parseDouble
(
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
min
));
List
<
Map
<
String
,
Object
>>
seriesData
=
new
ArrayList
<>();
...
...
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