| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432 |
- package com.genersoft.iot.vmp.gb28181.bean;
- public class DeviceChannel {
- /**
- * 通道id
- */
- private String channelId;
- /**
- * 设备id
- */
- private String deviceId;
-
- /**
- * 通道名
- */
- private String name;
-
- /**
- * 生产厂商
- */
- private String manufacture;
-
- /**
- * 型号
- */
- private String model;
-
- /**
- * 设备归属
- */
- private String owner;
-
- /**
- * 行政区域
- */
- private String civilCode;
-
- /**
- * 警区
- */
- private String block;
- /**
- * 安装地址
- */
- private String address;
-
- /**
- * 是否有子设备 1有, 0没有
- */
- private int parental;
-
- /**
- * 父级id
- */
- private String parentId;
-
- /**
- * 信令安全模式 缺省为0; 0:不采用; 2: S/MIME签名方式; 3: S/ MIME加密签名同时采用方式; 4:数字摘要方式
- */
- private int safetyWay;
-
- /**
- * 注册方式 缺省为1;1:符合IETFRFC3261标准的认证注册模 式; 2:基于口令的双向认证注册模式; 3:基于数字证书的双向认证注册模式
- */
- private int registerWay;
-
- /**
- * 证书序列号
- */
- private String certNum;
-
- /**
- * 证书有效标识 缺省为0;证书有效标识:0:无效1: 有效
- */
- private int certifiable;
-
- /**
- * 证书无效原因码
- */
- private int errCode;
-
- /**
- * 证书终止有效期
- */
- private String endTime;
-
- /**
- * 保密属性 缺省为0; 0:不涉密, 1:涉密
- */
- private String secrecy;
-
- /**
- * IP地址
- */
- private String ipAddress;
-
- /**
- * 端口号
- */
- private int port;
-
- /**
- * 密码
- */
- private String password;
- /**
- * 云台类型
- */
- private int PTZType;
- /**
- * 云台类型描述字符串
- */
- private String PTZTypeText;
- /**
- * 创建时间
- */
- private String createTime;
- /**
- * 更新时间
- */
- private String updateTime;
-
- /**
- * 在线/离线
- * 1在线,0离线
- * 默认在线
- * 信令:
- * <Status>ON</Status>
- * <Status>OFF</Status>
- * 遇到过NVR下的IPC下发信令可以推流, 但是 Status 响应 OFF
- */
- private int status;
- /**
- * 经度
- */
- private double longitude;
-
- /**
- * 纬度
- */
- private double latitude;
- /**
- * 子设备数
- */
- private int subCount;
- /**
- * 流唯一编号,存在表示正在直播
- */
- private String streamId;
- /**
- * 是否含有音频
- */
- private boolean hasAudio;
- public String getDeviceId() {
- return deviceId;
- }
- public void setDeviceId(String deviceId) {
- this.deviceId = deviceId;
- }
- public void setPTZType(int PTZType) {
- this.PTZType = PTZType;
- switch (PTZType) {
- case 0:
- this.PTZTypeText = "未知";
- break;
- case 1:
- this.PTZTypeText = "球机";
- break;
- case 2:
- this.PTZTypeText = "半球";
- break;
- case 3:
- this.PTZTypeText = "固定枪机";
- break;
- case 4:
- this.PTZTypeText = "遥控枪机";
- break;
- }
- }
- public String getChannelId() {
- return channelId;
- }
- public void setChannelId(String channelId) {
- this.channelId = channelId;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getManufacture() {
- return manufacture;
- }
- public void setManufacture(String manufacture) {
- this.manufacture = manufacture;
- }
- public String getModel() {
- return model;
- }
- public void setModel(String model) {
- this.model = model;
- }
- public String getOwner() {
- return owner;
- }
- public void setOwner(String owner) {
- this.owner = owner;
- }
- public String getCivilCode() {
- return civilCode;
- }
- public void setCivilCode(String civilCode) {
- this.civilCode = civilCode;
- }
- public String getBlock() {
- return block;
- }
- public void setBlock(String block) {
- this.block = block;
- }
- public String getAddress() {
- return address;
- }
- public void setAddress(String address) {
- this.address = address;
- }
- public int getParental() {
- return parental;
- }
- public void setParental(int parental) {
- this.parental = parental;
- }
- public String getParentId() {
- return parentId;
- }
- public void setParentId(String parentId) {
- this.parentId = parentId;
- }
- public int getSafetyWay() {
- return safetyWay;
- }
- public void setSafetyWay(int safetyWay) {
- this.safetyWay = safetyWay;
- }
- public int getRegisterWay() {
- return registerWay;
- }
- public void setRegisterWay(int registerWay) {
- this.registerWay = registerWay;
- }
- public String getCertNum() {
- return certNum;
- }
- public void setCertNum(String certNum) {
- this.certNum = certNum;
- }
- public int getCertifiable() {
- return certifiable;
- }
- public void setCertifiable(int certifiable) {
- this.certifiable = certifiable;
- }
- public int getErrCode() {
- return errCode;
- }
- public void setErrCode(int errCode) {
- this.errCode = errCode;
- }
- public String getEndTime() {
- return endTime;
- }
- public void setEndTime(String endTime) {
- this.endTime = endTime;
- }
- public String getSecrecy() {
- return secrecy;
- }
- public void setSecrecy(String secrecy) {
- this.secrecy = secrecy;
- }
- public String getIpAddress() {
- return ipAddress;
- }
- public void setIpAddress(String ipAddress) {
- this.ipAddress = ipAddress;
- }
- public int getPort() {
- return port;
- }
- public void setPort(int port) {
- this.port = port;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public int getPTZType() {
- return PTZType;
- }
- public String getPTZTypeText() {
- return PTZTypeText;
- }
- public void setPTZTypeText(String PTZTypeText) {
- this.PTZTypeText = PTZTypeText;
- }
- public int getStatus() {
- return status;
- }
- public void setStatus(int status) {
- this.status = status;
- }
- public double getLongitude() {
- return longitude;
- }
- public void setLongitude(double longitude) {
- this.longitude = longitude;
- }
- public double getLatitude() {
- return latitude;
- }
- public void setLatitude(double latitude) {
- this.latitude = latitude;
- }
- public int getSubCount() {
- return subCount;
- }
- public void setSubCount(int subCount) {
- this.subCount = subCount;
- }
- public boolean isHasAudio() {
- return hasAudio;
- }
- public void setHasAudio(boolean hasAudio) {
- this.hasAudio = hasAudio;
- }
- public String getStreamId() {
- return streamId;
- }
- public void setStreamId(String streamId) {
- this.streamId = streamId;
- }
- public String getCreateTime() {
- return createTime;
- }
- public void setCreateTime(String createTime) {
- this.createTime = createTime;
- }
- public String getUpdateTime() {
- return updateTime;
- }
- public void setUpdateTime(String updateTime) {
- this.updateTime = updateTime;
- }
- }
|