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
57fd373a
Commit
57fd373a
authored
Mar 06, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://36.40.66.175:5000/moa/amos-boot-biz
into developer
parents
e40e7bcd
c7c2e34f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
WarningRecordStatusMessage.java
...oot/module/jxiop/biz/emqx/WarningRecordStatusMessage.java
+2
-0
AlarmInfoDetailServiceImpl.java
...le/jxiop/biz/service/impl/AlarmInfoDetailServiceImpl.java
+24
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/emqx/WarningRecordStatusMessage.java
View file @
57fd373a
...
...
@@ -90,6 +90,7 @@ public class WarningRecordStatusMessage extends EmqxListener {
list
.
add
(
fanWarningRecord
);
}
if
(
list
.
size
()>
0
){
log
.
info
(
"XXXXXXXXXXXX风电修改预警状态XXXXXXXXXXXXXXXXXX"
,
JSON
.
toJSONString
(
list
));
fanWaringRecordMapper
.
updateStatusByTs
(
list
);
}
...
...
@@ -118,6 +119,7 @@ public class WarningRecordStatusMessage extends EmqxListener {
list
.
add
(
pvWarningRecord
);
}
if
(
list
.
size
()>
0
){
log
.
info
(
"XXXXXXXXXXXX光伏修改预警状态XXXXXXXXXXXXXXXXXX"
,
JSON
.
toJSONString
(
list
));
pvWaringRecordMapper
.
updateStatusByTs
(
list
);
}
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/AlarmInfoDetailServiceImpl.java
View file @
57fd373a
...
...
@@ -540,9 +540,21 @@ public class AlarmInfoDetailServiceImpl implements IAlarmInfoDetailService {
Double
processValue1
=
indicatorDataListMap
.
get
(
s
+
"_"
+
process1Address
);
Double
processValue2
=
indicatorDataListMap
.
get
(
s
+
"_"
+
process2Address
);
Double
processValue3
=
indicatorDataListMap
.
get
(
s
+
"_"
+
process3Address
);
if
(
ObjectUtils
.
isEmpty
(
analyseValue
)){
analyseValue
=
0.0
;
}
currentValueMap
.
put
(
"analyseValue"
,
keepOneKeepDecimalPlace
(
analyseValue
));
if
(
ObjectUtils
.
isEmpty
(
processValue1
)){
processValue1
=
0.0
;
}
currentValueMap
.
put
(
"processValue1"
,
keepOneKeepDecimalPlace
(
processValue1
));
if
(
ObjectUtils
.
isEmpty
(
processValue2
)){
processValue2
=
0.0
;
}
currentValueMap
.
put
(
"processValue2"
,
keepOneKeepDecimalPlace
(
processValue2
));
if
(
ObjectUtils
.
isEmpty
(
processValue3
)){
processValue3
=
0.0
;
}
currentValueMap
.
put
(
"processValue3"
,
keepOneKeepDecimalPlace
(
processValue3
));
HashMap
<
String
,
String
>
trainValueMap
=
getWorkingConditionCombinationIntervalFan
(
processValue1
,
processValue2
,
processValue3
,
idxBizFanPointVarCentralValueList
);
trainValueMap
.
put
(
"time"
,
s
);
...
...
@@ -599,9 +611,21 @@ public class AlarmInfoDetailServiceImpl implements IAlarmInfoDetailService {
Double
processValue1
=
indicatorDataListMap
.
get
(
s
+
"_"
+
process1Address
);
Double
processValue2
=
indicatorDataListMap
.
get
(
s
+
"_"
+
process2Address
);
Double
processValue3
=
indicatorDataListMap
.
get
(
s
+
"_"
+
process3Address
);
if
(
ObjectUtils
.
isEmpty
(
analyseValue
)){
analyseValue
=
0.0
;
}
currentValueMap
.
put
(
"analyseValue"
,
keepOneKeepDecimalPlace
(
analyseValue
));
if
(
ObjectUtils
.
isEmpty
(
processValue1
)){
processValue1
=
0.0
;
}
currentValueMap
.
put
(
"processValue1"
,
keepOneKeepDecimalPlace
(
processValue1
));
if
(
ObjectUtils
.
isEmpty
(
analyseValue
)){
processValue2
=
0.0
;
}
currentValueMap
.
put
(
"processValue2"
,
keepOneKeepDecimalPlace
(
processValue2
));
if
(
ObjectUtils
.
isEmpty
(
processValue3
)){
processValue3
=
0.0
;
}
currentValueMap
.
put
(
"processValue3"
,
keepOneKeepDecimalPlace
(
processValue3
));
HashMap
<
String
,
String
>
trainValueMap
=
getWorkingConditionCombinationIntervalPv
(
processValue1
,
processValue2
,
processValue3
,
idxBizPvPointVarCentralValueList
);
trainValueMap
.
put
(
"time"
,
s
);
...
...
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