Device.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. package com.genersoft.iot.vmp.gb28181.bean;
  2. public class Device {
  3. /**
  4. * 设备Id
  5. */
  6. private String deviceId;
  7. /**
  8. * 设备名
  9. */
  10. private String name;
  11. /**
  12. * 生产厂商
  13. */
  14. private String manufacturer;
  15. /**
  16. * 型号
  17. */
  18. private String model;
  19. /**
  20. * 固件版本
  21. */
  22. private String firmware;
  23. /**
  24. * 传输协议
  25. * UDP/TCP
  26. */
  27. private String transport;
  28. /**
  29. * 数据流传输模式
  30. * UDP:udp传输
  31. * TCP-ACTIVE:tcp主动模式
  32. * TCP-PASSIVE:tcp被动模式
  33. */
  34. private String streamMode;
  35. /**
  36. * wan地址_ip
  37. */
  38. private String ip;
  39. /**
  40. * wan地址_port
  41. */
  42. private int port;
  43. /**
  44. * wan地址
  45. */
  46. private String hostAddress;
  47. /**
  48. * 在线
  49. */
  50. private int online;
  51. /**
  52. * 注册时间
  53. */
  54. private Long registerTimeMillis;
  55. /**
  56. * 心跳时间
  57. */
  58. private Long KeepaliveTimeMillis;
  59. /**
  60. * 通道个数
  61. */
  62. private int channelCount;
  63. public String getDeviceId() {
  64. return deviceId;
  65. }
  66. public void setDeviceId(String deviceId) {
  67. this.deviceId = deviceId;
  68. }
  69. public String getName() {
  70. return name;
  71. }
  72. public void setName(String name) {
  73. this.name = name;
  74. }
  75. public String getManufacturer() {
  76. return manufacturer;
  77. }
  78. public void setManufacturer(String manufacturer) {
  79. this.manufacturer = manufacturer;
  80. }
  81. public String getModel() {
  82. return model;
  83. }
  84. public void setModel(String model) {
  85. this.model = model;
  86. }
  87. public String getFirmware() {
  88. return firmware;
  89. }
  90. public void setFirmware(String firmware) {
  91. this.firmware = firmware;
  92. }
  93. public String getTransport() {
  94. return transport;
  95. }
  96. public void setTransport(String transport) {
  97. this.transport = transport;
  98. }
  99. public String getStreamMode() {
  100. return streamMode;
  101. }
  102. public void setStreamMode(String streamMode) {
  103. this.streamMode = streamMode;
  104. }
  105. public String getIp() {
  106. return ip;
  107. }
  108. public void setIp(String ip) {
  109. this.ip = ip;
  110. }
  111. public int getPort() {
  112. return port;
  113. }
  114. public void setPort(int port) {
  115. this.port = port;
  116. }
  117. public String getHostAddress() {
  118. return hostAddress;
  119. }
  120. public void setHostAddress(String hostAddress) {
  121. this.hostAddress = hostAddress;
  122. }
  123. public int getOnline() {
  124. return online;
  125. }
  126. public void setOnline(int online) {
  127. this.online = online;
  128. }
  129. public int getChannelCount() {
  130. return channelCount;
  131. }
  132. public void setChannelCount(int channelCount) {
  133. this.channelCount = channelCount;
  134. }
  135. public Long getRegisterTimeMillis() {
  136. return registerTimeMillis;
  137. }
  138. public void setRegisterTimeMillis(Long registerTimeMillis) {
  139. this.registerTimeMillis = registerTimeMillis;
  140. }
  141. public Long getKeepaliveTimeMillis() {
  142. return KeepaliveTimeMillis;
  143. }
  144. public void setKeepaliveTimeMillis(Long keepaliveTimeMillis) {
  145. KeepaliveTimeMillis = keepaliveTimeMillis;
  146. }
  147. }