You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.6 KiB
91 lines
1.6 KiB
package com.qniao.rootcloudevent;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author Lzk
|
|
* @date 2022/10/17
|
|
**/
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public class AIWarningDataReceivedEvent implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
|
* 唯一标识
|
|
*/
|
|
private Long id;
|
|
|
|
/**
|
|
* 数据来源 1-根云
|
|
*/
|
|
private Integer dataSource;
|
|
|
|
/**
|
|
* 设备物联地址(云盒物理标识)
|
|
*/
|
|
private String machineIotMac;
|
|
|
|
/**
|
|
* 接受事件时间
|
|
*/
|
|
private Long receivedTime;
|
|
|
|
/**
|
|
* 摄像头id
|
|
*/
|
|
private Long cameraId;
|
|
|
|
/**
|
|
* 摄像头所属区域
|
|
*/
|
|
private String cameraPosition;
|
|
|
|
/**
|
|
* 摄像头名称
|
|
*/
|
|
private String cameraName;
|
|
|
|
/**
|
|
* 告警列表
|
|
*/
|
|
private List<Alarm> alarmList;
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public static class Alarm {
|
|
/**
|
|
* 图片地址
|
|
*/
|
|
private String picUrl;
|
|
|
|
/**
|
|
* 缩略图
|
|
*/
|
|
private String thumbnail;
|
|
|
|
/**
|
|
* 告警时间
|
|
*/
|
|
private Long alarmTime;
|
|
|
|
/**
|
|
* 2 = 人员逗留
|
|
* 5 = 人员入侵
|
|
* 9 = 吸烟
|
|
* 10 = 火苗烟雾
|
|
*/
|
|
private Integer aiType;
|
|
|
|
/**
|
|
* 告警级别 1:严重;2:普通;3:通知;4:仅记录;
|
|
*/
|
|
private Integer alarmLevel;
|
|
}
|
|
}
|