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
0b199000
Commit
0b199000
authored
Sep 01, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正向总有功,正向总无功值不显示问题处理
parent
4cd7239f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+1
-1
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 @
0b199000
...
@@ -1168,7 +1168,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1168,7 +1168,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
List
<
IndicatorsDto
>
xyxSqlData
=
influxDButils
.
getListData
(
xyxSql
,
IndicatorsDto
.
class
);
List
<
IndicatorsDto
>
xyxSqlData
=
influxDButils
.
getListData
(
xyxSql
,
IndicatorsDto
.
class
);
xyxSqlData
.
forEach
(
item
->
resultMap
.
put
(
"xyx"
+
item
.
getDisplayName
(),
keepTwoDecimalPlaces
(
item
.
getValue
())));
xyxSqlData
.
forEach
(
item
->
resultMap
.
put
(
"xyx"
+
item
.
getDisplayName
(),
keepTwoDecimalPlaces
(
item
.
getValue
())));
String
dlbjSql
=
String
.
format
(
"SELECT value, displayName FROM \"indicators_%s\" WHERE systemType = '模拟量' and frontModule = '
电量表计
'"
,
gatewayId
);
String
dlbjSql
=
String
.
format
(
"SELECT value, displayName FROM \"indicators_%s\" WHERE systemType = '模拟量' and frontModule = '
模拟量
'"
,
gatewayId
);
List
<
IndicatorsDto
>
dlbjSqlData
=
influxDButils
.
getListData
(
dlbjSql
,
IndicatorsDto
.
class
);
List
<
IndicatorsDto
>
dlbjSqlData
=
influxDButils
.
getListData
(
dlbjSql
,
IndicatorsDto
.
class
);
// 正向总有功正向总无功需要计算
// 正向总有功正向总无功需要计算
dlbjSqlData
.
forEach
(
item
->
{
dlbjSqlData
.
forEach
(
item
->
{
...
...
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