Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gass-device-report
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
耿迪迪
gass-device-report
Commits
aa113a98
Commit
aa113a98
authored
Mar 28, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工业报警器消警逻辑
parent
315815b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
FactoryDetectorUdpServerHandler.java
...report/netty/handler/FactoryDetectorUdpServerHandler.java
+6
-2
No files found.
src/main/java/com/zehong/gassdevicereport/netty/handler/FactoryDetectorUdpServerHandler.java
View file @
aa113a98
...
...
@@ -97,9 +97,13 @@ public class FactoryDetectorUdpServerHandler extends SimpleChannelInboundHandler
}
}
else
{
if
(
null
!=
alarm
){
alarm
.
setEndTime
(
new
Date
());
alarm
.
setDealStatus
(
"4"
);
//手动消警的报警结束更新状态
if
(
"4"
.
equals
(
alarm
.
getDealStatus
())){
alarm
.
setDealStatus
(
""
);
}
alarm
.
setEndTime
(
DateUtils
.
getNowDate
());
itDeviceAlarmService
.
updateTDeviceAlarm
(
alarm
);
pushWedSocket
(
alarm
.
getAlarmId
());
}
}
}
...
...
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