From 8fdd10d1c2723ead1d2c3b232f64f292ba3ce1cc Mon Sep 17 00:00:00 2001 From: che_shuai <che_shuai@massclouds> Date: 星期一, 24 七月 2023 14:10:46 +0800 Subject: [PATCH] 修复在国标级联选择通道时,如果添加通道到跟平台根目录(即平台本身),无法触发目录变更事件问题.详见 https://github.com/648540858/wvp-GB28181-pro/issues/958 --- src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java index d4ef0bc..2b01d45 100644 --- a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java +++ b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/platform/bean/ChannelReduce.java @@ -1,45 +1,75 @@ package com.genersoft.iot.vmp.vmanager.gb28181.platform.bean; +import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel; +import io.swagger.v3.oas.annotations.media.Schema; + /** * 绮剧畝鐨刢hannel淇℃伅灞曠ず锛屼富瑕佹槸閫夋嫨閫氶亾鐨勬椂鍊欏睍绀哄垪琛ㄤ娇鐢� */ +@Schema(description = "绮剧畝鐨刢hannel淇℃伅灞曠ず") public class ChannelReduce { + + /** + * deviceChannel鐨勬暟鎹簱鑷ID + */ + @Schema(description = "deviceChannel鐨勬暟鎹簱鑷ID") + private int id; /** * 閫氶亾id */ + @Schema(description = "閫氶亾鍥芥爣缂栧彿") private String channelId; /** * 璁惧id */ + @Schema(description = "璁惧鍥芥爣缂栧彿") private String deviceId; /** * 閫氶亾鍚� */ + @Schema(description = "閫氶亾鍚�") private String name; /** * 鐢熶骇鍘傚晢 */ + @Schema(description = "鐢熶骇鍘傚晢") private String manufacturer; /** * wan鍦板潃 */ + @Schema(description = "wan鍦板潃") private String hostAddress; /** * 瀛愯妭鐐规暟 */ + @Schema(description = "瀛愯妭鐐规暟") private int subCount; /** * 骞冲彴Id */ + @Schema(description = "骞冲彴涓婄骇鍥芥爣缂栧彿") private String platformId; + /** + * 鐩綍Id + */ + @Schema(description = "鐩綍鍥芥爣缂栧彿") + private String catalogId; + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } public String getChannelId() { return channelId; @@ -96,4 +126,12 @@ public void setPlatformId(String platformId) { this.platformId = platformId; } + + public String getCatalogId() { + return catalogId; + } + + public void setCatalogId(String catalogId) { + this.catalogId = catalogId; + } } -- Gitblit v1.8.0