DeviceChannel.java 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. package com.genersoft.iot.vmp.gb28181.bean;
  2. public class DeviceChannel {
  3. /**
  4. * 通道id
  5. */
  6. private String channelId;
  7. /**
  8. * 通道名
  9. */
  10. private String name;
  11. /**
  12. * 生产厂商
  13. */
  14. private String manufacture;
  15. /**
  16. * 型号
  17. */
  18. private String model;
  19. /**
  20. * 设备归属
  21. */
  22. private String owner;
  23. /**
  24. * 行政区域
  25. */
  26. private String civilCode;
  27. /**
  28. * 警区
  29. */
  30. private String block;
  31. /**
  32. * 安装地址
  33. */
  34. private String address;
  35. /**
  36. * 是否有子设备 1有, 0没有
  37. */
  38. private int parental;
  39. /**
  40. * 父级id
  41. */
  42. private String parentId;
  43. /**
  44. * 信令安全模式 缺省为0; 0:不采用; 2: S/MIME签名方式; 3: S/ MIME加密签名同时采用方式; 4:数字摘要方式
  45. */
  46. private int safetyWay;
  47. /**
  48. * 注册方式 缺省为1;1:符合IETFRFC3261标准的认证注册模 式; 2:基于口令的双向认证注册模式; 3:基于数字证书的双向认证注册模式
  49. */
  50. private int registerWay;
  51. /**
  52. * 证书序列号
  53. */
  54. private String certNum;
  55. /**
  56. * 证书有效标识 缺省为0;证书有效标识:0:无效1: 有效
  57. */
  58. private int certifiable;
  59. /**
  60. * 证书无效原因码
  61. */
  62. private int errCode;
  63. /**
  64. * 证书终止有效期
  65. */
  66. private String endTime;
  67. /**
  68. * 保密属性 缺省为0; 0:不涉密, 1:涉密
  69. */
  70. private String secrecy;
  71. /**
  72. * IP地址
  73. */
  74. private String ipAddress;
  75. /**
  76. * 端口号
  77. */
  78. private int port;
  79. /**
  80. * 密码
  81. */
  82. private String password;
  83. /**
  84. * 云台类型
  85. */
  86. private int PTZType;
  87. /**
  88. * 云台类型描述字符串
  89. */
  90. private String PTZTypeText;
  91. /**
  92. * 在线/离线
  93. * 1在线,0离线
  94. * 默认在线
  95. * 信令:
  96. * <Status>ON</Status>
  97. * <Status>OFF</Status>
  98. * 遇到过NVR下的IPC下发信令可以推流, 但是 Status 响应 OFF
  99. */
  100. private int status;
  101. /**
  102. * 经度
  103. */
  104. private double longitude;
  105. /**
  106. * 纬度
  107. */
  108. private double latitude;
  109. /**
  110. * 子设备数
  111. */
  112. private int subCount;
  113. /**
  114. * 流唯一编号,存在表示正在直播
  115. */
  116. private String ssrc;
  117. public String getChannelId() {
  118. return channelId;
  119. }
  120. public void setChannelId(String channelId) {
  121. this.channelId = channelId;
  122. }
  123. public String getName() {
  124. return name;
  125. }
  126. public void setName(String name) {
  127. this.name = name;
  128. }
  129. public int getStatus() {
  130. return status;
  131. }
  132. public void setStatus(int status) {
  133. this.status = status;
  134. }
  135. public String getManufacture() {
  136. return manufacture;
  137. }
  138. public void setManufacture(String manufacture) {
  139. this.manufacture = manufacture;
  140. }
  141. public String getModel() {
  142. return model;
  143. }
  144. public void setModel(String model) {
  145. this.model = model;
  146. }
  147. public String getOwner() {
  148. return owner;
  149. }
  150. public void setOwner(String owner) {
  151. this.owner = owner;
  152. }
  153. public String getCivilCode() {
  154. return civilCode;
  155. }
  156. public void setCivilCode(String civilCode) {
  157. this.civilCode = civilCode;
  158. }
  159. public String getBlock() {
  160. return block;
  161. }
  162. public void setBlock(String block) {
  163. this.block = block;
  164. }
  165. public String getAddress() {
  166. return address;
  167. }
  168. public void setAddress(String address) {
  169. this.address = address;
  170. }
  171. public int getParental() {
  172. return parental;
  173. }
  174. public void setParental(int parental) {
  175. this.parental = parental;
  176. }
  177. public String getParentId() {
  178. return parentId;
  179. }
  180. public void setParentId(String parentId) {
  181. this.parentId = parentId;
  182. }
  183. public int getSafetyWay() {
  184. return safetyWay;
  185. }
  186. public void setSafetyWay(int safetyWay) {
  187. this.safetyWay = safetyWay;
  188. }
  189. public int getRegisterWay() {
  190. return registerWay;
  191. }
  192. public void setRegisterWay(int registerWay) {
  193. this.registerWay = registerWay;
  194. }
  195. public String getCertNum() {
  196. return certNum;
  197. }
  198. public void setCertNum(String certNum) {
  199. this.certNum = certNum;
  200. }
  201. public int getCertifiable() {
  202. return certifiable;
  203. }
  204. public void setCertifiable(int certifiable) {
  205. this.certifiable = certifiable;
  206. }
  207. public int getErrCode() {
  208. return errCode;
  209. }
  210. public void setErrCode(int errCode) {
  211. this.errCode = errCode;
  212. }
  213. public String getEndTime() {
  214. return endTime;
  215. }
  216. public void setEndTime(String endTime) {
  217. this.endTime = endTime;
  218. }
  219. public String getSecrecy() {
  220. return secrecy;
  221. }
  222. public void setSecrecy(String secrecy) {
  223. this.secrecy = secrecy;
  224. }
  225. public String getIpAddress() {
  226. return ipAddress;
  227. }
  228. public void setIpAddress(String ipAddress) {
  229. this.ipAddress = ipAddress;
  230. }
  231. public int getPort() {
  232. return port;
  233. }
  234. public void setPort(int port) {
  235. this.port = port;
  236. }
  237. public String getPassword() {
  238. return password;
  239. }
  240. public void setPassword(String password) {
  241. this.password = password;
  242. }
  243. public double getLongitude() {
  244. return longitude;
  245. }
  246. public void setLongitude(double longitude) {
  247. this.longitude = longitude;
  248. }
  249. public double getLatitude() {
  250. return latitude;
  251. }
  252. public void setLatitude(double latitude) {
  253. this.latitude = latitude;
  254. }
  255. public int getPTZType() {
  256. return PTZType;
  257. }
  258. public void setPTZType(int PTZType) {
  259. this.PTZType = PTZType;
  260. switch (PTZType) {
  261. case 0:
  262. this.PTZTypeText = "未知";
  263. break;
  264. case 1:
  265. this.PTZTypeText = "球机";
  266. break;
  267. case 2:
  268. this.PTZTypeText = "半球";
  269. break;
  270. case 3:
  271. this.PTZTypeText = "固定枪机";
  272. break;
  273. case 4:
  274. this.PTZTypeText = "遥控枪机";
  275. break;
  276. }
  277. }
  278. public String getPTZTypeText() {
  279. return PTZTypeText;
  280. }
  281. public String getSsrc() {
  282. return ssrc;
  283. }
  284. public void setSsrc(String ssrc) {
  285. this.ssrc = ssrc;
  286. }
  287. public int getSubCount() {
  288. return subCount;
  289. }
  290. public void setSubCount(int subCount) {
  291. this.subCount = subCount;
  292. }
  293. }