Device.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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 int channelCount;
  59. public String getDeviceId() {
  60. return deviceId;
  61. }
  62. public void setDeviceId(String deviceId) {
  63. this.deviceId = deviceId;
  64. }
  65. public String getName() {
  66. return name;
  67. }
  68. public void setName(String name) {
  69. this.name = name;
  70. }
  71. public String getManufacturer() {
  72. return manufacturer;
  73. }
  74. public void setManufacturer(String manufacturer) {
  75. this.manufacturer = manufacturer;
  76. }
  77. public String getModel() {
  78. return model;
  79. }
  80. public void setModel(String model) {
  81. this.model = model;
  82. }
  83. public String getFirmware() {
  84. return firmware;
  85. }
  86. public void setFirmware(String firmware) {
  87. this.firmware = firmware;
  88. }
  89. public String getTransport() {
  90. return transport;
  91. }
  92. public void setTransport(String transport) {
  93. this.transport = transport;
  94. }
  95. public String getStreamMode() {
  96. return streamMode;
  97. }
  98. public void setStreamMode(String streamMode) {
  99. this.streamMode = streamMode;
  100. }
  101. public String getIp() {
  102. return ip;
  103. }
  104. public void setIp(String ip) {
  105. this.ip = ip;
  106. }
  107. public int getPort() {
  108. return port;
  109. }
  110. public void setPort(int port) {
  111. this.port = port;
  112. }
  113. public String getHostAddress() {
  114. return hostAddress;
  115. }
  116. public void setHostAddress(String hostAddress) {
  117. this.hostAddress = hostAddress;
  118. }
  119. public int getOnline() {
  120. return online;
  121. }
  122. public void setOnline(int online) {
  123. this.online = online;
  124. }
  125. public int getChannelCount() {
  126. return channelCount;
  127. }
  128. public void setChannelCount(int channelCount) {
  129. this.channelCount = channelCount;
  130. }
  131. public Long getRegisterTimeMillis() {
  132. return registerTimeMillis;
  133. }
  134. public void setRegisterTimeMillis(Long registerTimeMillis) {
  135. this.registerTimeMillis = registerTimeMillis;
  136. }
  137. }