From f1d079f9c0b3d384090477ca54e0548373d62b57 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 16 Jan 2025 11:56:39 +0800
Subject: [PATCH] 配置修改
---
src/main/java/com/genersoft/iot/vmp/gb28181/event/subscribe/catalog/CatalogEvent.java | 85 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/event/subscribe/catalog/CatalogEvent.java b/src/main/java/com/genersoft/iot/vmp/gb28181/event/subscribe/catalog/CatalogEvent.java
new file mode 100644
index 0000000..5c064f7
--- /dev/null
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/event/subscribe/catalog/CatalogEvent.java
@@ -0,0 +1,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;
+ }
+}
--
Gitblit v1.9.3