Device.java 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. package com.genersoft.iot.vmp.gb28181.bean;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. /**
  4. * 国标设备/平台
  5. * @author lin
  6. */
  7. @Schema(description = "国标设备/平台")
  8. public class Device {
  9. /**
  10. * 设备国标编号
  11. */
  12. @Schema(description = "设备国标编号")
  13. private String deviceId;
  14. /**
  15. * 设备名
  16. */
  17. @Schema(description = "名称")
  18. private String name;
  19. /**
  20. * 生产厂商
  21. */
  22. @Schema(description = "生产厂商")
  23. private String manufacturer;
  24. /**
  25. * 型号
  26. */
  27. @Schema(description = "型号")
  28. private String model;
  29. /**
  30. * 固件版本
  31. */
  32. @Schema(description = "固件版本")
  33. private String firmware;
  34. /**
  35. * 传输协议
  36. * UDP/TCP
  37. */
  38. @Schema(description = "传输协议(UDP/TCP)")
  39. private String transport;
  40. /**
  41. * 数据流传输模式
  42. * UDP:udp传输
  43. * TCP-ACTIVE:tcp主动模式
  44. * TCP-PASSIVE:tcp被动模式
  45. */
  46. @Schema(description = "数据流传输模式")
  47. private String streamMode;
  48. /**
  49. * wan地址_ip
  50. */
  51. @Schema(description = "IP")
  52. private String ip;
  53. /**
  54. * wan地址_port
  55. */
  56. @Schema(description = "端口")
  57. private int port;
  58. /**
  59. * wan地址
  60. */
  61. @Schema(description = "wan地址")
  62. private String hostAddress;
  63. /**
  64. * 在线
  65. */
  66. @Schema(description = "是否在线,1为在线,0为离线")
  67. private int online;
  68. /**
  69. * 注册时间
  70. */
  71. @Schema(description = "注册时间")
  72. private String registerTime;
  73. /**
  74. * 心跳时间
  75. */
  76. @Schema(description = "心跳时间")
  77. private String keepaliveTime;
  78. /**
  79. * 心跳间隔
  80. */
  81. @Schema(description = "心跳间隔")
  82. private int keepaliveIntervalTime;
  83. /**
  84. * 通道个数
  85. */
  86. @Schema(description = "通道个数")
  87. private int channelCount;
  88. /**
  89. * 注册有效期
  90. */
  91. @Schema(description = "注册有效期")
  92. private int expires;
  93. /**
  94. * 创建时间
  95. */
  96. @Schema(description = "创建时间")
  97. private String createTime;
  98. /**
  99. * 更新时间
  100. */
  101. @Schema(description = "更新时间")
  102. private String updateTime;
  103. /**
  104. * 设备使用的媒体id, 默认为null
  105. */
  106. @Schema(description = "设备使用的媒体id, 默认为null")
  107. private String mediaServerId;
  108. /**
  109. * 字符集, 支持 UTF-8 与 GB2312
  110. */
  111. @Schema(description = "符集, 支持 UTF-8 与 GB2312")
  112. private String charset ;
  113. /**
  114. * 目录订阅周期,0为不订阅
  115. */
  116. @Schema(description = "目录订阅周期,0为不订阅")
  117. private int subscribeCycleForCatalog;
  118. /**
  119. * 移动设备位置订阅周期,0为不订阅
  120. */
  121. @Schema(description = "移动设备位置订阅周期,0为不订阅")
  122. private int subscribeCycleForMobilePosition;
  123. /**
  124. * 移动设备位置信息上报时间间隔,单位:秒,默认值5
  125. */
  126. @Schema(description = "移动设备位置信息上报时间间隔,单位:秒,默认值5")
  127. private int mobilePositionSubmissionInterval = 5;
  128. /**
  129. * 报警订阅周期,0为不订阅
  130. */
  131. @Schema(description = "报警心跳时间订阅周期,0为不订阅")
  132. private int subscribeCycleForAlarm;
  133. /**
  134. * 是否开启ssrc校验,默认关闭,开启可以防止串流
  135. */
  136. @Schema(description = "是否开启ssrc校验,默认关闭,开启可以防止串流")
  137. private boolean ssrcCheck = true;
  138. /**
  139. * 地理坐标系, 目前支持 WGS84,GCJ02
  140. */
  141. @Schema(description = "地理坐标系, 目前支持 WGS84,GCJ02")
  142. private String geoCoordSys;
  143. /**
  144. * 树类型 国标规定了两种树的展现方式 行政区划:CivilCode 和业务分组:BusinessGroup
  145. */
  146. @Schema(description = "树类型 国标规定了两种树的展现方式 行政区划:CivilCode 和业务分组:BusinessGroup")
  147. private String treeType;
  148. @Schema(description = "密码")
  149. private String password;
  150. @Schema(description = "收流IP")
  151. private String sdpIp;
  152. @Schema(description = "SIP交互IP(设备访问平台的IP)")
  153. private String localIp;
  154. @Schema(description = "是否作为消息通道")
  155. private boolean asMessageChannel;
  156. public String getDeviceId() {
  157. return deviceId;
  158. }
  159. public void setDeviceId(String deviceId) {
  160. this.deviceId = deviceId;
  161. }
  162. public String getName() {
  163. return name;
  164. }
  165. public void setName(String name) {
  166. this.name = name;
  167. }
  168. public String getManufacturer() {
  169. return manufacturer;
  170. }
  171. public void setManufacturer(String manufacturer) {
  172. this.manufacturer = manufacturer;
  173. }
  174. public String getModel() {
  175. return model;
  176. }
  177. public void setModel(String model) {
  178. this.model = model;
  179. }
  180. public String getFirmware() {
  181. return firmware;
  182. }
  183. public void setFirmware(String firmware) {
  184. this.firmware = firmware;
  185. }
  186. public String getTransport() {
  187. return transport;
  188. }
  189. public void setTransport(String transport) {
  190. this.transport = transport;
  191. }
  192. public String getStreamMode() {
  193. return streamMode;
  194. }
  195. public void setStreamMode(String streamMode) {
  196. this.streamMode = streamMode;
  197. }
  198. public String getIp() {
  199. return ip;
  200. }
  201. public void setIp(String ip) {
  202. this.ip = ip;
  203. }
  204. public int getPort() {
  205. return port;
  206. }
  207. public void setPort(int port) {
  208. this.port = port;
  209. }
  210. public String getHostAddress() {
  211. return hostAddress;
  212. }
  213. public void setHostAddress(String hostAddress) {
  214. this.hostAddress = hostAddress;
  215. }
  216. public int getOnline() {
  217. return online;
  218. }
  219. public void setOnline(int online) {
  220. this.online = online;
  221. }
  222. public int getChannelCount() {
  223. return channelCount;
  224. }
  225. public void setChannelCount(int channelCount) {
  226. this.channelCount = channelCount;
  227. }
  228. public String getRegisterTime() {
  229. return registerTime;
  230. }
  231. public void setRegisterTime(String registerTime) {
  232. this.registerTime = registerTime;
  233. }
  234. public String getKeepaliveTime() {
  235. return keepaliveTime;
  236. }
  237. public void setKeepaliveTime(String keepaliveTime) {
  238. this.keepaliveTime = keepaliveTime;
  239. }
  240. public int getExpires() {
  241. return expires;
  242. }
  243. public void setExpires(int expires) {
  244. this.expires = expires;
  245. }
  246. public String getCreateTime() {
  247. return createTime;
  248. }
  249. public void setCreateTime(String createTime) {
  250. this.createTime = createTime;
  251. }
  252. public String getUpdateTime() {
  253. return updateTime;
  254. }
  255. public void setUpdateTime(String updateTime) {
  256. this.updateTime = updateTime;
  257. }
  258. public String getMediaServerId() {
  259. return mediaServerId;
  260. }
  261. public void setMediaServerId(String mediaServerId) {
  262. this.mediaServerId = mediaServerId;
  263. }
  264. public String getCharset() {
  265. return charset;
  266. }
  267. public void setCharset(String charset) {
  268. this.charset = charset;
  269. }
  270. public int getSubscribeCycleForCatalog() {
  271. return subscribeCycleForCatalog;
  272. }
  273. public void setSubscribeCycleForCatalog(int subscribeCycleForCatalog) {
  274. this.subscribeCycleForCatalog = subscribeCycleForCatalog;
  275. }
  276. public int getSubscribeCycleForMobilePosition() {
  277. return subscribeCycleForMobilePosition;
  278. }
  279. public void setSubscribeCycleForMobilePosition(int subscribeCycleForMobilePosition) {
  280. this.subscribeCycleForMobilePosition = subscribeCycleForMobilePosition;
  281. }
  282. public int getMobilePositionSubmissionInterval() {
  283. return mobilePositionSubmissionInterval;
  284. }
  285. public void setMobilePositionSubmissionInterval(int mobilePositionSubmissionInterval) {
  286. this.mobilePositionSubmissionInterval = mobilePositionSubmissionInterval;
  287. }
  288. public int getSubscribeCycleForAlarm() {
  289. return subscribeCycleForAlarm;
  290. }
  291. public void setSubscribeCycleForAlarm(int subscribeCycleForAlarm) {
  292. this.subscribeCycleForAlarm = subscribeCycleForAlarm;
  293. }
  294. public boolean isSsrcCheck() {
  295. return ssrcCheck;
  296. }
  297. public void setSsrcCheck(boolean ssrcCheck) {
  298. this.ssrcCheck = ssrcCheck;
  299. }
  300. public String getGeoCoordSys() {
  301. return geoCoordSys;
  302. }
  303. public void setGeoCoordSys(String geoCoordSys) {
  304. this.geoCoordSys = geoCoordSys;
  305. }
  306. public String getTreeType() {
  307. return treeType;
  308. }
  309. public void setTreeType(String treeType) {
  310. this.treeType = treeType;
  311. }
  312. public String getPassword() {
  313. return password;
  314. }
  315. public void setPassword(String password) {
  316. this.password = password;
  317. }
  318. public String getSdpIp() {
  319. return sdpIp;
  320. }
  321. public void setSdpIp(String sdpIp) {
  322. this.sdpIp = sdpIp;
  323. }
  324. public String getLocalIp() {
  325. return localIp;
  326. }
  327. public void setLocalIp(String localIp) {
  328. this.localIp = localIp;
  329. }
  330. public int getKeepaliveIntervalTime() {
  331. return keepaliveIntervalTime;
  332. }
  333. public void setKeepaliveIntervalTime(int keepaliveIntervalTime) {
  334. this.keepaliveIntervalTime = keepaliveIntervalTime;
  335. }
  336. public boolean isAsMessageChannel() {
  337. return asMessageChannel;
  338. }
  339. public void setAsMessageChannel(boolean asMessageChannel) {
  340. this.asMessageChannel = asMessageChannel;
  341. }
  342. }