648540858
2023-05-16 be9bf60e81e22d717199d73886a04ab3019390ab
src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java
@@ -77,8 +77,8 @@
   /**
    * 在线
    */
   @Schema(description = "是否在线,1为在线,0为离线")
   private int online;
   @Schema(description = "是否在线,true为在线,false为离线")
   private boolean onLine;
   /**
@@ -140,7 +140,7 @@
   /**
    * 目录订阅周期,0为不订阅
    */
   @Schema(description = "目录订阅周期,0为不订阅")
   @Schema(description = "目录订阅周期,o为不订阅")
   private int subscribeCycleForCatalog;
   /**
@@ -247,6 +247,17 @@
      return streamMode;
   }
   public Integer getStreamModeForParam() {
      if (streamMode.equalsIgnoreCase("UDP")) {
         return 0;
      }else if (streamMode.equalsIgnoreCase("TCP-PASSIVE")) {
         return 1;
      }else if (streamMode.equalsIgnoreCase("TCP-ACTIVE")) {
         return 2;
      }
      return 0;
   }
   public void setStreamMode(String streamMode) {
      this.streamMode = streamMode;
   }
@@ -275,12 +286,12 @@
      this.hostAddress = hostAddress;
   }
   public int getOnline() {
      return online;
   public boolean isOnLine() {
      return onLine;
   }
   public void setOnline(int online) {
      this.online = online;
   public void setOnLine(boolean onLine) {
      this.onLine = onLine;
   }
   public int getChannelCount() {