648540858
2020-11-13 33b51c40ddd9750a19b2c6a6618fb22386f87cd7
src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java
@@ -143,6 +143,38 @@
    */
   private String  ssrc;
   /**
    *  是否含有音频
    */
   private  boolean hasAudio;
   /**
    *  是否正在播放
    */
   private  boolean play;
   public void setPTZType(int PTZType) {
      this.PTZType = PTZType;
      switch (PTZType) {
         case 0:
            this.PTZTypeText = "未知";
            break;
         case 1:
            this.PTZTypeText = "球机";
            break;
         case 2:
            this.PTZTypeText = "半球";
            break;
         case 3:
            this.PTZTypeText = "固定枪机";
            break;
         case 4:
            this.PTZTypeText = "遥控枪机";
            break;
      }
   }
   public String getChannelId() {
      return channelId;
   }
@@ -157,14 +189,6 @@
   public void setName(String name) {
      this.name = name;
   }
   public int getStatus() {
      return status;
   }
   public void setStatus(int status) {
      this.status = status;
   }
   public String getManufacture() {
@@ -311,6 +335,26 @@
      this.password = password;
   }
   public int getPTZType() {
      return PTZType;
   }
   public String getPTZTypeText() {
      return PTZTypeText;
   }
   public void setPTZTypeText(String PTZTypeText) {
      this.PTZTypeText = PTZTypeText;
   }
   public int getStatus() {
      return status;
   }
   public void setStatus(int status) {
      this.status = status;
   }
   public double getLongitude() {
      return longitude;
   }
@@ -327,33 +371,12 @@
      this.latitude = latitude;
   }
   public int getPTZType() {
      return PTZType;
   public int getSubCount() {
      return subCount;
   }
   public void setPTZType(int PTZType) {
      this.PTZType = PTZType;
      switch (PTZType) {
         case 0:
            this.PTZTypeText = "未知";
            break;
         case 1:
            this.PTZTypeText = "球机";
            break;
         case 2:
            this.PTZTypeText = "半球";
            break;
         case 3:
            this.PTZTypeText = "固定枪机";
            break;
         case 4:
            this.PTZTypeText = "遥控枪机";
            break;
      }
   }
   public String getPTZTypeText() {
      return PTZTypeText;
   public void setSubCount(int subCount) {
      this.subCount = subCount;
   }
   public String getSsrc() {
@@ -364,11 +387,19 @@
      this.ssrc = ssrc;
   }
   public int getSubCount() {
      return subCount;
   public boolean isHasAudio() {
      return hasAudio;
   }
   public void setSubCount(int subCount) {
      this.subCount = subCount;
   public void setHasAudio(boolean hasAudio) {
      this.hasAudio = hasAudio;
   }
   public boolean isPlay() {
      return play;
   }
   public void setPlay(boolean play) {
      this.play = play;
   }
}