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
ecfce0c2
Commit
ecfce0c2
authored
Feb 20, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预警未标黄问题排查处理
parent
dedbaaa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
AlarmInfoDetailServiceImpl.java
...le/jxiop/biz/service/impl/AlarmInfoDetailServiceImpl.java
+4
-2
No files found.
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 @
ecfce0c2
...
...
@@ -633,6 +633,8 @@ public class AlarmInfoDetailServiceImpl implements IAlarmInfoDetailService {
* @return
*/
public
HashMap
<
String
,
Object
>
getWaringCycleAndMaxValueByWaring
(
String
warningPeriod
,
String
warningContenct
,
String
pointName
){
// 汇流箱机内温度连续30分钟健康指数≤74.0
HashMap
<
String
,
Object
>
result
=
new
HashMap
<>();
warningContenct
=
warningContenct
.
replace
(
pointName
+
"连续"
,
""
);
String
spiltStr
=
CommonConstans
.
waringPeriodTowaringCycle
.
get
(
warningPeriod
);
...
...
@@ -645,8 +647,8 @@ public class AlarmInfoDetailServiceImpl implements IAlarmInfoDetailService {
}
else
{
warningCycle
=
Integer
.
valueOf
(
strings
[
0
].
replace
(
".0"
,
""
));
}
if
(
strings
[
1
].
contains
(
"
<
"
)){
maxValue
=
Double
.
valueOf
(
strings
[
1
].
split
(
"
<
"
)[
1
]);
if
(
strings
[
1
].
contains
(
"
≤
"
)){
maxValue
=
Double
.
valueOf
(
strings
[
1
].
split
(
"
≤
"
)[
1
]);
}
}
result
.
put
(
"maxValue"
,
maxValue
);
...
...
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