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
0b46f579
Commit
0b46f579
authored
Sep 04, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
光伏集电线返回逆变器状态
parent
1a5a48fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+2
-0
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 @
0b46f579
...
@@ -1720,6 +1720,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1720,6 +1720,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
public
void
getListByNbq
(
String
gatewayId
,
String
werks
,
String
stationId
)
{
public
void
getListByNbq
(
String
gatewayId
,
String
werks
,
String
stationId
)
{
HashMap
<
String
,
String
>
equipStatesMap
=
getPvNBQStationBy
(
gatewayId
);
String
sql
=
" SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentIndexName ='总直流功率' and frontModule = '逆变器'"
;
String
sql
=
" SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentIndexName ='总直流功率' and frontModule = '逆变器'"
;
String
sql1
=
" SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentIndexName ='有功功率' and frontModule = '逆变器'"
;
String
sql1
=
" SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentIndexName ='有功功率' and frontModule = '逆变器'"
;
List
<
IndicatorsDto
>
listData
=
influxDButils
.
getListData
(
sql
,
IndicatorsDto
.
class
);
List
<
IndicatorsDto
>
listData
=
influxDButils
.
getListData
(
sql
,
IndicatorsDto
.
class
);
...
@@ -1745,6 +1746,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1745,6 +1746,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
map
.
put
(
"titie"
+
number
,
equipNum
);
map
.
put
(
"titie"
+
number
,
equipNum
);
map
.
put
(
"value"
+
number
,
String
.
format
(
"%.2f"
,
Double
.
parseDouble
(
indicatorsDto
.
getValue
()))
);
map
.
put
(
"value"
+
number
,
String
.
format
(
"%.2f"
,
Double
.
parseDouble
(
indicatorsDto
.
getValue
()))
);
map
.
put
(
"valueLabel"
+
number
,
String
.
format
(
"%.2f"
,
Double
.
parseDouble
(
indicatorsDto
.
getValueLabel
()))
);
map
.
put
(
"valueLabel"
+
number
,
String
.
format
(
"%.2f"
,
Double
.
parseDouble
(
indicatorsDto
.
getValueLabel
()))
);
map
.
put
(
"state"
+
number
,
equipStatesMap
.
get
(
indicatorsDto
.
getEquipmentNumber
()));
maps
.
add
(
map
);
maps
.
add
(
map
);
}
}
List
<
Map
<
String
,
Object
>>
dataMaps
=
sjglZsjZsbtzServiceImpl
.
sjglZsjZsbtzMapper
.
getStationInfoMapByStationGFWerks
(
werks
,
"集电线"
);
List
<
Map
<
String
,
Object
>>
dataMaps
=
sjglZsjZsbtzServiceImpl
.
sjglZsjZsbtzMapper
.
getStationInfoMapByStationGFWerks
(
werks
,
"集电线"
);
...
...
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