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
b3c2b053
Commit
b3c2b053
authored
Oct 24, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.逆变器基础信息页逆变器状态显示错误问题处理。
parent
bf2cc842
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-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/service/impl/MonitorFanIndicatorImpl.java
View file @
b3c2b053
...
@@ -1754,6 +1754,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1754,6 +1754,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
public
HashMap
<
String
,
Object
>
getEquipInfoByEquipNum
(
String
gatewayId
,
String
equipmentNumber
)
{
public
HashMap
<
String
,
Object
>
getEquipInfoByEquipNum
(
String
gatewayId
,
String
equipmentNumber
)
{
HashMap
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
Map
<
String
,
List
<
String
>>
queryCondtion
=
new
HashMap
<>();
Map
<
String
,
List
<
String
>>
queryCondtion
=
new
HashMap
<>();
queryCondtion
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
gatewayId
));
queryCondtion
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
gatewayId
));
...
@@ -1771,11 +1772,12 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1771,11 +1772,12 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
type
=
"汇流箱系统"
;
type
=
"汇流箱系统"
;
queryEquipNum
=
equipNames
[
0
]
+
equipNames
[
1
]
+
Integer
.
parseInt
(
equipNames
[
2
]);
queryEquipNum
=
equipNames
[
0
]
+
equipNames
[
1
]
+
Integer
.
parseInt
(
equipNames
[
2
]);
}
else
{
}
else
{
HashMap
<
String
,
String
>
nbpStatus
=
getPvNBQStationBy
(
gatewayId
);
type
=
"光伏逆变器系统"
;
type
=
"光伏逆变器系统"
;
queryCondtion
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"待机"
,
"故障停机"
,
"告警运行"
,
"限额运行"
,
"停机"
,
"通讯故障"
,
"降额运行"
,
"运行"
));
queryCondtion
.
put
(
CommonConstans
.
QueryStringEquipmentIndexName
,
Arrays
.
asList
(
"待机"
,
"故障停机"
,
"告警运行"
,
"限额运行"
,
"停机"
,
"通讯故障"
,
"降额运行"
,
"运行"
));
queryCondtion
.
put
(
CommonConstans
.
QueryStringValueKeyword
,
Arrays
.
asList
(
"true"
));
queryCondtion
.
put
(
CommonConstans
.
QueryStringValueKeyword
,
Arrays
.
asList
(
"true"
));
List
<
ESEquipments
>
list1
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
null
,
ESEquipments
.
class
);
List
<
ESEquipments
>
list1
=
commonServiceImpl
.
getListDataByCondtions
(
queryCondtion
,
null
,
ESEquipments
.
class
);
resultMap
.
put
(
"status"
,
AlarmDesc
.
getCode
(
list1
.
get
(
0
).
getEquipmentIndexName
()
));
resultMap
.
put
(
"status"
,
nbpStatus
.
get
(
equipmentNumber
));
// queryEquipNum = "#" + Integer.parseInt(equipNames[0]);
// queryEquipNum = "#" + Integer.parseInt(equipNames[0]);
queryEquipNum
=
equipNames
[
0
]
+
equipNames
[
1
]
+
1
;
queryEquipNum
=
equipNames
[
0
]
+
equipNames
[
1
]
+
1
;
}
}
...
...
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