Commit b070b587 authored by 周昊's avatar 周昊

Merge branch 'master' into production

parents 31d0ca6b 9e652982
...@@ -79,11 +79,12 @@ public class StreamingJob { ...@@ -79,11 +79,12 @@ public class StreamingJob {
AlgorithmWarnPushDto warnPushBase = new AlgorithmWarnPushDto(); AlgorithmWarnPushDto warnPushBase = new AlgorithmWarnPushDto();
warnPushBase.setOrderName("AI预警平台"); warnPushBase.setOrderName("AI预警平台");
//获取摄像头名称 //获取摄像头名称
warnPushBase.setAlarmDeviceName(getAlgorithmCameraPoByRtsp(algorithmCameraPoList,algorithmPushDto.getCameraName()) AlgorithmCameraPo cameraPo = getAlgorithmCameraPoByRtsp(algorithmCameraPoList, algorithmPushDto.getCameraName());
.getCameraName()); warnPushBase.setAlarmDeviceName(cameraPo.getCameraName());
//获取摄像头归属 //获取摄像头归属
warnPushBase.setBelong(getAlgorithmCameraPoByRtsp(algorithmCameraPoList,algorithmPushDto.getCameraName()) warnPushBase.setBelong(cameraPo.getBelong());
.getBelong()); //获取摄像头Id
warnPushBase.setChannelId(cameraPo.getRtsp()+"$1$0$0");
warnPushBase.setGradeName("二级预警"); warnPushBase.setGradeName("二级预警");
//获取摄像头名称 //获取摄像头名称
warnPushBase.setGradeType(getAlgorithmPoById(algorithmPoList,Long.valueOf(algorithmPushDto.getAlgorithmName())) warnPushBase.setGradeType(getAlgorithmPoById(algorithmPoList,Long.valueOf(algorithmPushDto.getAlgorithmName()))
......
...@@ -42,4 +42,7 @@ public class AlgorithmWarnPushDto { ...@@ -42,4 +42,7 @@ public class AlgorithmWarnPushDto {
/** 备注 */ /** 备注 */
private String remark; private String remark;
/** 摄像头id */
private String channelId;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment