Lawrence
2021-01-22 b0088b8bd38c7ddc0c3f88fb2c8485d44e9a6ddb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.genersoft.iot.vmp.gb28181.event.alarm;
 
import com.genersoft.iot.vmp.gb28181.bean.DeviceAlarm;
import org.springframework.context.ApplicationEvent;
 
/**
 * @description: 报警事件
 * @author: lawrencehj
 * @data: 2021-01-20
 */
 
public class AlarmEvent extends ApplicationEvent {
    public AlarmEvent(Object source) {
        super(source);
    }
 
    private DeviceAlarm deviceAlarm;
 
    public DeviceAlarm getAlarmInfo() {
        return deviceAlarm;
    }
    
    public void setAlarmInfo(DeviceAlarm deviceAlarm) {
        this.deviceAlarm = deviceAlarm;
    }
}