Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
my-flink-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
AI算法平台
my-flink-project
Commits
b070b587
Commit
b070b587
authored
Nov 03, 2023
by
周昊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into production
parents
31d0ca6b
9e652982
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/main/java/com/censoft/flink/StreamingJob.java
src/main/java/com/censoft/flink/StreamingJob.java
+5
-4
src/main/java/com/censoft/flink/domain/AlgorithmWarnPushDto.java
...n/java/com/censoft/flink/domain/AlgorithmWarnPushDto.java
+3
-0
No files found.
src/main/java/com/censoft/flink/StreamingJob.java
View file @
b070b587
...
...
@@ -79,11 +79,12 @@ public class StreamingJob {
AlgorithmWarnPushDto
warnPushBase
=
new
AlgorithmWarnPushDto
();
warnPushBase
.
setOrderName
(
"AI预警平台"
);
//获取摄像头名称
warnPushBase
.
setAlarmDeviceName
(
getAlgorithmCameraPoByRtsp
(
algorithmCameraPoList
,
algorithmPushDto
.
getCameraName
())
.
getCameraName
());
AlgorithmCameraPo
cameraPo
=
getAlgorithmCameraPoByRtsp
(
algorithmCameraPoList
,
algorithmPushDto
.
getCameraName
());
warnPushBase
.
setAlarmDeviceName
(
cameraPo
.
getCameraName
());
//获取摄像头归属
warnPushBase
.
setBelong
(
getAlgorithmCameraPoByRtsp
(
algorithmCameraPoList
,
algorithmPushDto
.
getCameraName
())
.
getBelong
());
warnPushBase
.
setBelong
(
cameraPo
.
getBelong
());
//获取摄像头Id
warnPushBase
.
setChannelId
(
cameraPo
.
getRtsp
()+
"$1$0$0"
);
warnPushBase
.
setGradeName
(
"二级预警"
);
//获取摄像头名称
warnPushBase
.
setGradeType
(
getAlgorithmPoById
(
algorithmPoList
,
Long
.
valueOf
(
algorithmPushDto
.
getAlgorithmName
()))
...
...
src/main/java/com/censoft/flink/domain/AlgorithmWarnPushDto.java
View file @
b070b587
...
...
@@ -42,4 +42,7 @@ public class AlgorithmWarnPushDto {
/** 备注 */
private
String
remark
;
/** 摄像头id */
private
String
channelId
;
}
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