DeviceChannel.java 6.4 KB

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