DeviceChannel.java 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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. /**
  118. * 是否含有音频
  119. */
  120. private boolean hasAudio;
  121. /**
  122. * 是否正在播放
  123. */
  124. private boolean play;
  125. public void setPTZType(int PTZType) {
  126. this.PTZType = PTZType;
  127. switch (PTZType) {
  128. case 0:
  129. this.PTZTypeText = "未知";
  130. break;
  131. case 1:
  132. this.PTZTypeText = "球机";
  133. break;
  134. case 2:
  135. this.PTZTypeText = "半球";
  136. break;
  137. case 3:
  138. this.PTZTypeText = "固定枪机";
  139. break;
  140. case 4:
  141. this.PTZTypeText = "遥控枪机";
  142. break;
  143. }
  144. }
  145. public String getChannelId() {
  146. return channelId;
  147. }
  148. public void setChannelId(String channelId) {
  149. this.channelId = channelId;
  150. }
  151. public String getName() {
  152. return name;
  153. }
  154. public void setName(String name) {
  155. this.name = name;
  156. }
  157. public String getManufacture() {
  158. return manufacture;
  159. }
  160. public void setManufacture(String manufacture) {
  161. this.manufacture = manufacture;
  162. }
  163. public String getModel() {
  164. return model;
  165. }
  166. public void setModel(String model) {
  167. this.model = model;
  168. }
  169. public String getOwner() {
  170. return owner;
  171. }
  172. public void setOwner(String owner) {
  173. this.owner = owner;
  174. }
  175. public String getCivilCode() {
  176. return civilCode;
  177. }
  178. public void setCivilCode(String civilCode) {
  179. this.civilCode = civilCode;
  180. }
  181. public String getBlock() {
  182. return block;
  183. }
  184. public void setBlock(String block) {
  185. this.block = block;
  186. }
  187. public String getAddress() {
  188. return address;
  189. }
  190. public void setAddress(String address) {
  191. this.address = address;
  192. }
  193. public int getParental() {
  194. return parental;
  195. }
  196. public void setParental(int parental) {
  197. this.parental = parental;
  198. }
  199. public String getParentId() {
  200. return parentId;
  201. }
  202. public void setParentId(String parentId) {
  203. this.parentId = parentId;
  204. }
  205. public int getSafetyWay() {
  206. return safetyWay;
  207. }
  208. public void setSafetyWay(int safetyWay) {
  209. this.safetyWay = safetyWay;
  210. }
  211. public int getRegisterWay() {
  212. return registerWay;
  213. }
  214. public void setRegisterWay(int registerWay) {
  215. this.registerWay = registerWay;
  216. }
  217. public String getCertNum() {
  218. return certNum;
  219. }
  220. public void setCertNum(String certNum) {
  221. this.certNum = certNum;
  222. }
  223. public int getCertifiable() {
  224. return certifiable;
  225. }
  226. public void setCertifiable(int certifiable) {
  227. this.certifiable = certifiable;
  228. }
  229. public int getErrCode() {
  230. return errCode;
  231. }
  232. public void setErrCode(int errCode) {
  233. this.errCode = errCode;
  234. }
  235. public String getEndTime() {
  236. return endTime;
  237. }
  238. public void setEndTime(String endTime) {
  239. this.endTime = endTime;
  240. }
  241. public String getSecrecy() {
  242. return secrecy;
  243. }
  244. public void setSecrecy(String secrecy) {
  245. this.secrecy = secrecy;
  246. }
  247. public String getIpAddress() {
  248. return ipAddress;
  249. }
  250. public void setIpAddress(String ipAddress) {
  251. this.ipAddress = ipAddress;
  252. }
  253. public int getPort() {
  254. return port;
  255. }
  256. public void setPort(int port) {
  257. this.port = port;
  258. }
  259. public String getPassword() {
  260. return password;
  261. }
  262. public void setPassword(String password) {
  263. this.password = password;
  264. }
  265. public int getPTZType() {
  266. return PTZType;
  267. }
  268. public String getPTZTypeText() {
  269. return PTZTypeText;
  270. }
  271. public void setPTZTypeText(String PTZTypeText) {
  272. this.PTZTypeText = PTZTypeText;
  273. }
  274. public int getStatus() {
  275. return status;
  276. }
  277. public void setStatus(int status) {
  278. this.status = status;
  279. }
  280. public double getLongitude() {
  281. return longitude;
  282. }
  283. public void setLongitude(double longitude) {
  284. this.longitude = longitude;
  285. }
  286. public double getLatitude() {
  287. return latitude;
  288. }
  289. public void setLatitude(double latitude) {
  290. this.latitude = latitude;
  291. }
  292. public int getSubCount() {
  293. return subCount;
  294. }
  295. public void setSubCount(int subCount) {
  296. this.subCount = subCount;
  297. }
  298. public String getSsrc() {
  299. return ssrc;
  300. }
  301. public void setSsrc(String ssrc) {
  302. this.ssrc = ssrc;
  303. }
  304. public boolean isHasAudio() {
  305. return hasAudio;
  306. }
  307. public void setHasAudio(boolean hasAudio) {
  308. this.hasAudio = hasAudio;
  309. }
  310. public boolean isPlay() {
  311. return play;
  312. }
  313. public void setPlay(boolean play) {
  314. this.play = play;
  315. }
  316. }