wvp-GB28181-pro/src/main/java/com/genersoft/iot/vmp/common/CommonGbChannel.java

609 lines
17 KiB
Java
Raw Normal View History

2023-07-24 09:04:47 +08:00
package com.genersoft.iot.vmp.common;
import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
2023-07-24 09:04:47 +08:00
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
2023-07-24 09:04:47 +08:00
public class CommonGbChannel {
2023-08-21 17:54:15 +08:00
/**
* ID
*/
@Schema(description = "自增ID")
private int commonGbId;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* //()
2023-07-24 09:04:47 +08:00
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "设备/区域/系统编码(必选)")
private String commonGbDeviceID;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* //()
2023-07-24 09:04:47 +08:00
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "设备/区域/系统名称(必选)")
private String commonGbName;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* ,()
2023-07-24 09:04:47 +08:00
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "当为设备时,设备厂商(必选)")
private String commonGbManufacturer;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* ,()
2023-07-24 09:04:47 +08:00
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "当为设备时,设备型号(必选)")
private String commonGbModel;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* ,()
2023-07-24 09:04:47 +08:00
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "当为设备时,设备归属(必选)")
private String commonGbOwner;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* ()
*/
@Schema(description = "行政区域(必选)")
private String commonGbCivilCode;
/**
* ()
*/
@Schema(description = "警区(可选)")
private String commonGbBlock;
/**
* ,()
*/
@Schema(description = "当为设备时,安装地址(必选)")
private String commonGbAddress;
/**
* ,()1,0
*/
@Schema(description = "当为设备时,是否有子设备(必选)1有,0没有")
private Integer commonGbParental;
/**
* //ID()
*/
@Schema(description = "父设备/区域/系统ID(必选)")
private String commonGbParentID;
/**
* ()0; 0:;2:S/MIME ;3:S/
* MIME;4:
*/
@Schema(description = "信令安全模式(可选)缺省为0; " +
"0:不采用;" +
"2:S/MIME 签名方式;" +
"3:S/MIME加密签名同时采用方式;4:数字摘要方式")
private Integer commonGbSafetyWay;
/**
* ()1;1:IETFRFC3261
* ;2:;3:
*/
@Schema(description = "注册方式(必选)缺省为1;" +
"1:符合IETFRFC3261标准的认证注册模式;" +
"2:基于口令的双向认证注册模式;" +
"3:基于数字证书的双向认证注册模式")
private Integer commonGbRegisterWay;
/**
* ()
*/
@Schema(description = "证书序列号(有证书的设备必选)")
private String commonGbCertNum;
/**
* ()0;:0: 1:
*/
@Schema(description = "证书有效标识(有证书的设备必选)缺省为0;证书有效标识:0:无效 1:有效")
private Integer commonGbCertifiable;
/**
* ()
*/
@Schema(description = "无效原因码(有证书且证书无效的设备必选)")
private Integer commonGbErrCode;
/**
* ()
*/
@Schema(description = "证书终止有效期(有证书的设备必选)")
private String commonGbEndTime;
/**
* ()0;0:,1:
*/
@Schema(description = "保密属性(必选)缺省为0;0:不涉密,1:涉密")
private Integer commonGbSecrecy;
/**
* //IP()
*/
@Schema(description = "设备/区域/系统IP地址(可选)")
2023-08-21 17:54:15 +08:00
private String commonGbIPAddress;
2023-08-18 12:20:40 +08:00
/**
* //()
*/
@Schema(description = "设备/区域/系统端口(可选)")
2023-08-21 17:54:15 +08:00
private Integer commonGbPort;
2023-08-18 12:20:40 +08:00
/**
* ()
*/
@Schema(description = "设备口令(可选)")
2023-08-21 17:54:15 +08:00
private String commonGbPassword;
2023-08-18 12:20:40 +08:00
/**
* ()
*/
@Schema(description = "设备状态(必选)")
2023-08-25 15:49:56 +08:00
private Boolean commonGbStatus;
2023-08-18 12:20:40 +08:00
/**
* ()
*/
@Schema(description = "经度(可选)")
private Double commonGbLongitude;
/**
* ()
*/
@Schema(description = "纬度(可选)")
private Double commonGbLatitude;
/**
* ,, :
2023-07-24 09:04:47 +08:00
* 1-;
* 2-;
* 3-;
* 4-
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "摄像机类型扩展,标识摄像机类型,当目录项为摄像机时可选:\n" +
" 1-球机;\n" +
" 2-半球;\n" +
" 3-固定枪机;\n" +
" 4-遥控枪机")
private Integer commonGbPtzType;
2023-07-24 09:04:47 +08:00
/**
*
* 1-
* 2-
* 3-
* 4-广
* 5-
* 6-
* 7-
* 8-
* 9-
* 10-线
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "摄像机位置类型扩展" +
" 1-省际检查站、\n" +
" 2-党政机关、\n" +
" 3-车站码头、\n" +
" 4-中心广场、\n" +
" 5-体育场馆、\n" +
" 6-商业中心、\n" +
" 7-宗教场所、\n" +
" 8-校园周边、\n" +
" 9-治安复杂区域、\n" +
" 10-交通干线")
private Integer commonGbPositionType;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* ,
2023-07-24 09:04:47 +08:00
* 1-
* 2-
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "安装位置室外、室内属性, 1-室外、2-室内")
private Integer commonGbRoomType;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
* ,
2023-07-24 09:04:47 +08:00
* 1-
* 2-
* 3-
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "用途, " +
" 1-治安、\n" +
" 2-交通、\n" +
" 3-重点、")
private Integer commonGbUseType;
2023-07-24 09:04:47 +08:00
/**
*
* 1-
* 2-
* 3-
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "补光属性, " +
" 1-无补光、\n" +
" 2-红外补光、\n" +
" 3-白光补光")
private Integer commonGbSupplyLightType;
2023-07-24 09:04:47 +08:00
/**
2023-08-18 12:20:40 +08:00
*
2023-07-24 09:04:47 +08:00
* 1-
* 2-西
* 3-
* 4-
* 5-
* 6-
* 7-西
* 8-西
*
*/
2023-08-18 12:20:40 +08:00
@Schema(description = "方位, 当目录项为摄像机时且为固定摄像机或设置看守位摄像机时可选。" +
" 1-东、\n" +
" 2-西、\n" +
" 3-南、\n" +
" 4-北、\n" +
" 5-东南、\n" +
" 6-东北、\n" +
" 7-西南、\n" +
" 8-西北")
private Integer commonGbDirectionType;
2023-07-24 09:04:47 +08:00
2023-08-18 12:20:40 +08:00
/**
* ,,/
* FSDPf
*/
@Schema(description = "摄像机支持的分辨率,可有多个分辨率值,各个取值间以“/”分隔。" +
"分辨率取值参见附录 F中SDPf字段规定。当目录项为摄像机时可选。")
2023-08-21 17:54:15 +08:00
private String commonGbResolution;
2023-07-24 09:04:47 +08:00
2023-08-18 12:20:40 +08:00
/**
2023-08-18 17:58:29 +08:00
* ID,,
*
2023-08-18 12:20:40 +08:00
*
*/
2023-08-18 17:58:29 +08:00
@Schema(description = "虚拟组织所属的业务分组ID,业务分组根据特定的业务需求制定," +
"一个业务分组包含一组特定的虚拟组织。")
2023-08-21 17:54:15 +08:00
private String commonGbBusinessGroupID;
2023-07-24 09:04:47 +08:00
2023-08-18 17:58:29 +08:00
/**
* (),/,1,2,4
* 1/2/4
*/
@Schema(description = "下载倍速范围(可选),各可选参数以“/”分隔,如设备支持1,2,4倍速下\n" +
"载则应写为“1/2/4")
2023-08-21 17:54:15 +08:00
private String commonGbDownloadSpeed;
2023-08-18 17:58:29 +08:00
/**
2023-08-21 17:54:15 +08:00
* ,0:;1:1;2:2;3:3()
2023-08-18 17:58:29 +08:00
*/
2023-08-21 17:54:15 +08:00
@Schema(description = "时域编码能力,取值0:不支持;1:1级增强;2:2级增强;3:3级增强(可选)")
2023-08-18 17:58:29 +08:00
private Integer commonGbSVCTimeSupportMode;
2023-08-21 17:54:15 +08:00
/**
* : 28181, push, proxy
*/
@Schema(description = "类型: 28181, push, proxy")
private String type;
2023-08-25 15:49:56 +08:00
/**
*
*/
@Schema(description = "更新时间")
private String updateTime;
/**
*
*/
@Schema(description = "创建时间")
private String createTime;
2023-08-21 17:54:15 +08:00
public int getCommonGbId() {
return commonGbId;
}
public void setCommonGbId(int commonGbId) {
this.commonGbId = commonGbId;
}
public String getCommonGbDeviceID() {
return commonGbDeviceID;
}
public void setCommonGbDeviceID(String commonGbDeviceID) {
this.commonGbDeviceID = commonGbDeviceID;
}
public String getCommonGbName() {
return commonGbName;
}
public void setCommonGbName(String commonGbName) {
this.commonGbName = commonGbName;
}
public String getCommonGbManufacturer() {
return commonGbManufacturer;
}
public void setCommonGbManufacturer(String commonGbManufacturer) {
this.commonGbManufacturer = commonGbManufacturer;
}
public String getCommonGbModel() {
return commonGbModel;
}
public void setCommonGbModel(String commonGbModel) {
this.commonGbModel = commonGbModel;
}
public String getCommonGbOwner() {
return commonGbOwner;
}
public void setCommonGbOwner(String commonGbOwner) {
this.commonGbOwner = commonGbOwner;
}
public String getCommonGbCivilCode() {
return commonGbCivilCode;
}
public void setCommonGbCivilCode(String commonGbCivilCode) {
this.commonGbCivilCode = commonGbCivilCode;
}
public String getCommonGbBlock() {
return commonGbBlock;
}
public void setCommonGbBlock(String commonGbBlock) {
this.commonGbBlock = commonGbBlock;
}
public String getCommonGbAddress() {
return commonGbAddress;
}
public void setCommonGbAddress(String commonGbAddress) {
this.commonGbAddress = commonGbAddress;
}
public Integer getCommonGbParental() {
return commonGbParental;
}
public void setCommonGbParental(Integer commonGbParental) {
this.commonGbParental = commonGbParental;
}
public String getCommonGbParentID() {
return commonGbParentID;
}
public void setCommonGbParentID(String commonGbParentID) {
this.commonGbParentID = commonGbParentID;
}
public Integer getCommonGbSafetyWay() {
return commonGbSafetyWay;
}
public void setCommonGbSafetyWay(Integer commonGbSafetyWay) {
this.commonGbSafetyWay = commonGbSafetyWay;
}
public Integer getCommonGbRegisterWay() {
return commonGbRegisterWay;
}
public void setCommonGbRegisterWay(Integer commonGbRegisterWay) {
this.commonGbRegisterWay = commonGbRegisterWay;
}
public String getCommonGbCertNum() {
return commonGbCertNum;
}
public void setCommonGbCertNum(String commonGbCertNum) {
this.commonGbCertNum = commonGbCertNum;
}
public Integer getCommonGbCertifiable() {
return commonGbCertifiable;
}
public void setCommonGbCertifiable(Integer commonGbCertifiable) {
this.commonGbCertifiable = commonGbCertifiable;
}
public Integer getCommonGbErrCode() {
return commonGbErrCode;
}
public void setCommonGbErrCode(Integer commonGbErrCode) {
this.commonGbErrCode = commonGbErrCode;
}
public String getCommonGbEndTime() {
return commonGbEndTime;
}
public void setCommonGbEndTime(String commonGbEndTime) {
this.commonGbEndTime = commonGbEndTime;
}
public Integer getCommonGbSecrecy() {
return commonGbSecrecy;
}
public void setCommonGbSecrecy(Integer commonGbSecrecy) {
this.commonGbSecrecy = commonGbSecrecy;
}
public String getCommonGbIPAddress() {
return commonGbIPAddress;
}
public void setCommonGbIPAddress(String commonGbIPAddress) {
this.commonGbIPAddress = commonGbIPAddress;
}
public Integer getCommonGbPort() {
return commonGbPort;
}
public void setCommonGbPort(Integer commonGbPort) {
this.commonGbPort = commonGbPort;
}
public String getCommonGbPassword() {
return commonGbPassword;
}
public void setCommonGbPassword(String commonGbPassword) {
this.commonGbPassword = commonGbPassword;
}
public Boolean getCommonGbStatus() {
2023-08-21 17:54:15 +08:00
return commonGbStatus;
}
public void setCommonGbStatus(Boolean commonGbStatus) {
2023-08-21 17:54:15 +08:00
this.commonGbStatus = commonGbStatus;
}
public Double getCommonGbLongitude() {
return commonGbLongitude;
}
public void setCommonGbLongitude(Double commonGbLongitude) {
this.commonGbLongitude = commonGbLongitude;
}
public Double getCommonGbLatitude() {
return commonGbLatitude;
}
public void setCommonGbLatitude(Double commonGbLatitude) {
this.commonGbLatitude = commonGbLatitude;
}
public Integer getCommonGbPtzType() {
return commonGbPtzType;
}
public void setCommonGbPtzType(Integer commonGbPtzType) {
this.commonGbPtzType = commonGbPtzType;
}
public Integer getCommonGbPositionType() {
return commonGbPositionType;
}
public void setCommonGbPositionType(Integer commonGbPositionType) {
this.commonGbPositionType = commonGbPositionType;
}
public Integer getCommonGbRoomType() {
return commonGbRoomType;
}
public void setCommonGbRoomType(Integer commonGbRoomType) {
this.commonGbRoomType = commonGbRoomType;
}
public Integer getCommonGbUseType() {
return commonGbUseType;
}
public void setCommonGbUseType(Integer commonGbUseType) {
this.commonGbUseType = commonGbUseType;
}
public Integer getCommonGbSupplyLightType() {
return commonGbSupplyLightType;
}
public void setCommonGbSupplyLightType(Integer commonGbSupplyLightType) {
this.commonGbSupplyLightType = commonGbSupplyLightType;
}
public Integer getCommonGbDirectionType() {
return commonGbDirectionType;
}
public void setCommonGbDirectionType(Integer commonGbDirectionType) {
this.commonGbDirectionType = commonGbDirectionType;
}
public String getCommonGbResolution() {
return commonGbResolution;
}
public void setCommonGbResolution(String commonGbResolution) {
this.commonGbResolution = commonGbResolution;
}
public String getCommonGbBusinessGroupID() {
return commonGbBusinessGroupID;
}
public void setCommonGbBusinessGroupID(String commonGbBusinessGroupID) {
this.commonGbBusinessGroupID = commonGbBusinessGroupID;
}
public String getCommonGbDownloadSpeed() {
return commonGbDownloadSpeed;
}
public void setCommonGbDownloadSpeed(String commonGbDownloadSpeed) {
this.commonGbDownloadSpeed = commonGbDownloadSpeed;
}
public Integer getCommonGbSVCTimeSupportMode() {
return commonGbSVCTimeSupportMode;
}
public void setCommonGbSVCTimeSupportMode(Integer commonGbSVCTimeSupportMode) {
this.commonGbSVCTimeSupportMode = commonGbSVCTimeSupportMode;
}
public String getType() {
return type;
}
2023-07-24 09:04:47 +08:00
2023-08-21 17:54:15 +08:00
public void setType(String type) {
this.type = type;
}
2023-08-25 15:49:56 +08:00
public String getUpdateTime() {
return updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public static CommonGbChannel getInstance(List<String> syncKeys, DeviceChannel channel){
}
2023-07-24 09:04:47 +08:00
}