Device.java 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. package com.genersoft.iot.vmp.gb28181.bean;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. /**
  5. * 国标设备/平台
  6. * @author lin
  7. */
  8. @Data
  9. @Schema(description = "国标设备/平台")
  10. public class Device {
  11. @Schema(description = "数据库自增ID")
  12. private int id;
  13. /**
  14. * 设备国标编号
  15. */
  16. @Schema(description = "设备国标编号")
  17. private String deviceId;
  18. /**
  19. * 设备名
  20. */
  21. @Schema(description = "名称")
  22. private String name;
  23. /**
  24. * 生产厂商
  25. */
  26. @Schema(description = "生产厂商")
  27. private String manufacturer;
  28. /**
  29. * 型号
  30. */
  31. @Schema(description = "型号")
  32. private String model;
  33. /**
  34. * 固件版本
  35. */
  36. @Schema(description = "固件版本")
  37. private String firmware;
  38. /**
  39. * 传输协议
  40. * UDP/TCP
  41. */
  42. @Schema(description = "传输协议(UDP/TCP)")
  43. private String transport;
  44. /**
  45. * 数据流传输模式
  46. * UDP:udp传输
  47. * TCP-ACTIVE:tcp主动模式
  48. * TCP-PASSIVE:tcp被动模式
  49. */
  50. @Schema(description = "数据流传输模式")
  51. private String streamMode;
  52. /**
  53. * wan地址_ip
  54. */
  55. @Schema(description = "IP")
  56. private String ip;
  57. /**
  58. * wan地址_port
  59. */
  60. @Schema(description = "端口")
  61. private int port;
  62. /**
  63. * wan地址
  64. */
  65. @Schema(description = "wan地址")
  66. private String hostAddress;
  67. /**
  68. * 在线
  69. */
  70. @Schema(description = "是否在线,true为在线,false为离线")
  71. private boolean onLine;
  72. /**
  73. * 注册时间
  74. */
  75. @Schema(description = "注册时间")
  76. private String registerTime;
  77. /**
  78. * 心跳时间
  79. */
  80. @Schema(description = "心跳时间")
  81. private String keepaliveTime;
  82. /**
  83. * 心跳间隔
  84. */
  85. @Schema(description = "心跳间隔")
  86. private int keepaliveIntervalTime;
  87. /**
  88. * 通道个数
  89. */
  90. @Schema(description = "通道个数")
  91. private int channelCount;
  92. /**
  93. * 注册有效期
  94. */
  95. @Schema(description = "注册有效期")
  96. private int expires;
  97. /**
  98. * 创建时间
  99. */
  100. @Schema(description = "创建时间")
  101. private String createTime;
  102. /**
  103. * 更新时间
  104. */
  105. @Schema(description = "更新时间")
  106. private String updateTime;
  107. /**
  108. * 设备使用的媒体id, 默认为null
  109. */
  110. @Schema(description = "设备使用的媒体id, 默认为null")
  111. private String mediaServerId;
  112. /**
  113. * 字符集, 支持 UTF-8 与 GB2312
  114. */
  115. @Schema(description = "符集, 支持 UTF-8 与 GB2312")
  116. private String charset ;
  117. /**
  118. * 目录订阅周期,0为不订阅
  119. */
  120. @Schema(description = "目录订阅周期,o为不订阅")
  121. private int subscribeCycleForCatalog;
  122. /**
  123. * 移动设备位置订阅周期,0为不订阅
  124. */
  125. @Schema(description = "移动设备位置订阅周期,0为不订阅")
  126. private int subscribeCycleForMobilePosition;
  127. /**
  128. * 移动设备位置信息上报时间间隔,单位:秒,默认值5
  129. */
  130. @Schema(description = "移动设备位置信息上报时间间隔,单位:秒,默认值5")
  131. private int mobilePositionSubmissionInterval = 5;
  132. /**
  133. * 报警订阅周期,0为不订阅
  134. */
  135. @Schema(description = "报警心跳时间订阅周期,0为不订阅")
  136. private int subscribeCycleForAlarm;
  137. /**
  138. * 是否开启ssrc校验,默认关闭,开启可以防止串流
  139. */
  140. @Schema(description = "是否开启ssrc校验,默认关闭,开启可以防止串流")
  141. private boolean ssrcCheck = false;
  142. /**
  143. * 地理坐标系, 目前支持 WGS84,GCJ02
  144. */
  145. @Schema(description = "地理坐标系, 目前支持 WGS84,GCJ02")
  146. private String geoCoordSys;
  147. @Schema(description = "密码")
  148. private String password;
  149. @Schema(description = "收流IP")
  150. private String sdpIp;
  151. @Schema(description = "SIP交互IP(设备访问平台的IP)")
  152. private String localIp;
  153. @Schema(description = "是否作为消息通道")
  154. private boolean asMessageChannel;
  155. @Schema(description = "设备注册的事务信息")
  156. private SipTransactionInfo sipTransactionInfo;
  157. @Schema(description = "控制语音对讲流程,释放收到ACK后发流")
  158. private boolean broadcastPushAfterAck;
  159. }