648540858
2023-04-23 269ad8cedbb07ca207a6f33af23085894dab4aa6
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package com.genersoft.iot.vmp.gb28181.event.subscribe.catalog;
 
import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
import com.genersoft.iot.vmp.gb28181.bean.GbStream;
import org.springframework.context.ApplicationEvent;
 
import java.util.List;
 
public class CatalogEvent  extends ApplicationEvent {
    public CatalogEvent(Object source) {
        super(source);
    }
 
    /**
     * 上线
     */
    public static final String ON = "ON";
 
    /**
     * 离线
     */
    public static final String OFF = "OFF";
 
    /**
     * 视频丢失
     */
    public static final String VLOST = "VLOST";
 
    /**
     * 故障
     */
    public static final String DEFECT = "DEFECT";
 
    /**
     * 增加
     */
    public static final String ADD = "ADD";
 
    /**
     * 删除
     */
    public static final String DEL = "DEL";
 
    /**
     * 更新
     */
    public static final String UPDATE = "UPDATE";
 
    private List<DeviceChannel> deviceChannels;
    private List<GbStream> gbStreams;
    private String type;
    private String platformId;
 
    public List<DeviceChannel> getDeviceChannels() {
        return deviceChannels;
    }
 
    public void setDeviceChannels(List<DeviceChannel> deviceChannels) {
        this.deviceChannels = deviceChannels;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getPlatformId() {
        return platformId;
    }
 
    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }
 
    public List<GbStream> getGbStreams() {
        return gbStreams;
    }
 
    public void setGbStreams(List<GbStream> gbStreams) {
        this.gbStreams = gbStreams;
    }
}