添加通道信息

pull/1642/head
648540858 2024-06-20 20:24:15 +08:00
parent e0c957a0c5
commit 40bf2d6642
2 changed files with 59 additions and 1 deletions

View File

@ -338,6 +338,15 @@
<version>32.1.3-jre</version> <version>32.1.3-jre</version>
</dependency> </dependency>
<!-- 自动化生成代码工具 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>

View File

@ -1,11 +1,12 @@
package com.genersoft.iot.vmp.gb28181.bean; package com.genersoft.iot.vmp.gb28181.bean;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "国标通道") @Schema(description = "国标通道")
public class GbChannel { public class GbChannel {
// 国标28181信息
@Schema(description = "国标-编码") @Schema(description = "国标-编码")
private String gbDeviceId; private String gbDeviceId;
@ -18,6 +19,10 @@ public class GbChannel {
@Schema(description = "国标-设备型号") @Schema(description = "国标-设备型号")
private String gbModel; private String gbModel;
// 2016
@Schema(description = "国标-设备归属")
private String gbOwner;
@Schema(description = "国标-行政区域") @Schema(description = "国标-行政区域")
private String gbCivilCode; private String gbCivilCode;
@ -33,9 +38,30 @@ public class GbChannel {
@Schema(description = "国标-父节点ID") @Schema(description = "国标-父节点ID")
private String gbParentId; private String gbParentId;
// 2016
@Schema(description = "国标-信令安全模式")
private Integer gbSafetyWay;
@Schema(description = "国标-注册方式") @Schema(description = "国标-注册方式")
private Integer gbRegisterWay; private Integer gbRegisterWay;
// 2016
@Schema(description = "国标-证书序列号")
private Integer gbCertNum;
// 2016
@Schema(description = "国标-证书有效标识")
private Integer gbCertifiable;
// 2016
@Schema(description = "国标-无效原因码(有证书且证书无效的设备必选)")
private Integer gbErrCode;
// 2016
@Schema(description = "国标-证书终止有效期(有证书且证书无效的设备必选)")
private Integer gbEndTime;
// 2022
@Schema(description = "国标-摄像机安全能力等级代码") @Schema(description = "国标-摄像机安全能力等级代码")
private String gbSecurityLevelCode; private String gbSecurityLevelCode;
@ -75,6 +101,10 @@ public class GbChannel {
@Schema(description = "国标-摄像机安装位置室外、室内属性。1-室外、2-室内。") @Schema(description = "国标-摄像机安装位置室外、室内属性。1-室外、2-室内。")
private Integer gbRoomType; private Integer gbRoomType;
// 2016
@Schema(description = "国标-用途属性")
private Integer gbUseType;
@Schema(description = "国标-摄像机补光属性。1-无补光;2-红外补光;3-白光补光;4-激光补光;9-其他") @Schema(description = "国标-摄像机补光属性。1-无补光;2-红外补光;3-白光补光;4-激光补光;9-其他")
private Integer gbSupplyLightType; private Integer gbSupplyLightType;
@ -85,6 +115,7 @@ public class GbChannel {
@Schema(description = "国标-摄像机支持的分辨率,可多值") @Schema(description = "国标-摄像机支持的分辨率,可多值")
private String gbResolution; private String gbResolution;
// 2022
@Schema(description = "国标-摄像机支持的码流编号列表,用于实时点播时指定码流编号(可选)") @Schema(description = "国标-摄像机支持的码流编号列表,用于实时点播时指定码流编号(可选)")
private String gbStreamNumberList; private String gbStreamNumberList;
@ -97,52 +128,70 @@ public class GbChannel {
@Schema(description = "国标-时域编码能力,取值0-不支持;1-1级增强;2-2级增强;3-3级增强(可选)") @Schema(description = "国标-时域编码能力,取值0-不支持;1-1级增强;2-2级增强;3-3级增强(可选)")
private Integer gbSvcTimeSupportMode; private Integer gbSvcTimeSupportMode;
// 2022
@Schema(description = "国标- SSVC增强层与基本层比例能力 ") @Schema(description = "国标- SSVC增强层与基本层比例能力 ")
private String gbSsvcRatioSupportList; private String gbSsvcRatioSupportList;
// 2022
@Schema(description = "国标-移动采集设备类型(仅移动采集设备适用,必选);1-移动机器人载摄像机;2-执法记录仪;3-移动单兵设备;" + @Schema(description = "国标-移动采集设备类型(仅移动采集设备适用,必选);1-移动机器人载摄像机;2-执法记录仪;3-移动单兵设备;" +
"4-车载视频记录设备;5-无人机载摄像机;9-其他") "4-车载视频记录设备;5-无人机载摄像机;9-其他")
private Integer gbMobileDeviceType; private Integer gbMobileDeviceType;
// 2022
@Schema(description = "国标-摄像机水平视场角(可选),取值范围大于0度小于等于360度") @Schema(description = "国标-摄像机水平视场角(可选),取值范围大于0度小于等于360度")
private Double gbHorizontalFieldAngle; private Double gbHorizontalFieldAngle;
// 2022
@Schema(description = "国标-摄像机竖直视场角(可选),取值范围大于0度小于等于360度 ") @Schema(description = "国标-摄像机竖直视场角(可选),取值范围大于0度小于等于360度 ")
private Double gbVerticalFieldAngle; private Double gbVerticalFieldAngle;
// 2022
@Schema(description = "国标-摄像机可视距离(可选),单位:米") @Schema(description = "国标-摄像机可视距离(可选),单位:米")
private Double gbMaxViewDistance; private Double gbMaxViewDistance;
// 2022
@Schema(description = "国标-基层组织编码(必选,非基层建设时为“000000”)") @Schema(description = "国标-基层组织编码(必选,非基层建设时为“000000”)")
private String gbGrassrootsCode; private String gbGrassrootsCode;
// 2022
@Schema(description = "国标-监控点位类型(当为摄像机时必选),1-一类视频监控点;2-二类视频监控点;3-三类视频监控点;9-其他点位。") @Schema(description = "国标-监控点位类型(当为摄像机时必选),1-一类视频监控点;2-二类视频监控点;3-三类视频监控点;9-其他点位。")
private Integer gbPoType; private Integer gbPoType;
// 2022
@Schema(description = "国标-点位俗称") @Schema(description = "国标-点位俗称")
private String gbPoCommonName; private String gbPoCommonName;
// 2022
@Schema(description = "国标-设备MAC地址(可选),用“XX-XX-XX-XX-XX-XX”格式表达") @Schema(description = "国标-设备MAC地址(可选),用“XX-XX-XX-XX-XX-XX”格式表达")
private String gbMac; private String gbMac;
// 2022
@Schema(description = "国标-摄像机卡口功能类型,01-人脸卡口;02-人员卡口;03-机动车卡口;04-非机动车卡口;05-物品卡口;99-其他") @Schema(description = "国标-摄像机卡口功能类型,01-人脸卡口;02-人员卡口;03-机动车卡口;04-非机动车卡口;05-物品卡口;99-其他")
private String gbFunctionType; private String gbFunctionType;
// 2022
@Schema(description = "国标-摄像机视频编码格式") @Schema(description = "国标-摄像机视频编码格式")
private String gbEncodeType; private String gbEncodeType;
// 2022
@Schema(description = "国标-摄像机安装使用时间") @Schema(description = "国标-摄像机安装使用时间")
private String gbInstallTime; private String gbInstallTime;
// 2022
@Schema(description = "国标-摄像机所属管理单位名称") @Schema(description = "国标-摄像机所属管理单位名称")
private String gbManagementUnit; private String gbManagementUnit;
// 2022
@Schema(description = "国标-摄像机所属管理单位联系人的联系方式(电话号码,可多值,用英文半角“/”分割)") @Schema(description = "国标-摄像机所属管理单位联系人的联系方式(电话号码,可多值,用英文半角“/”分割)")
private String gbContactInfo; private String gbContactInfo;
// 2022
@Schema(description = "国标-录像保存天数(可选)") @Schema(description = "国标-录像保存天数(可选)")
private Integer gbRecordSaveDays; private Integer gbRecordSaveDays;
// 2022
@Schema(description = "国标-国民经济行业分类代码(可选)") @Schema(description = "国标-国民经济行业分类代码(可选)")
private String gbIndustrialClassification; private String gbIndustrialClassification;
} }