648540858
2024-05-29 764d04b497356ba6bcbb75fd42b51eca750f7223
src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java
@@ -142,13 +142,13 @@
    * 云台类型
    */
   @Schema(description = "云台类型")
   private int PTZType;
   private int ptzType;
   /**
    * 云台类型描述字符串
    */
   @Schema(description = "云台类型描述字符串")
   private String PTZTypeText;
   private String ptzTypeText;
   /**
    * 创建时间
@@ -185,6 +185,18 @@
    */
   @Schema(description = "纬度")
   private double latitude;
   /**
    * 经度
    */
   @Schema(description = "自定义经度")
   private double customLongitude;
   /**
    * 纬度
    */
   @Schema(description = "自定义纬度")
   private double customLatitude;
   /**
    * 经度 GCJ02
@@ -226,7 +238,7 @@
    *  是否含有音频
    */
   @Schema(description = "是否含有音频")
   private boolean hasAudio;
   private Boolean hasAudio;
   /**
    * 标记通道的类型,0->国标通道 1->直播流通道 2->业务分组/虚拟组织/行政区划
@@ -266,23 +278,23 @@
      this.deviceId = deviceId;
   }
   public void setPTZType(int PTZType) {
      this.PTZType = PTZType;
      switch (PTZType) {
   public void setPtzType(int ptzType) {
      this.ptzType = ptzType;
      switch (ptzType) {
         case 0:
            this.PTZTypeText = "未知";
            this.ptzTypeText = "未知";
            break;
         case 1:
            this.PTZTypeText = "球机";
            this.ptzTypeText = "球机";
            break;
         case 2:
            this.PTZTypeText = "半球";
            this.ptzTypeText = "半球";
            break;
         case 3:
            this.PTZTypeText = "固定枪机";
            this.ptzTypeText = "固定枪机";
            break;
         case 4:
            this.PTZTypeText = "遥控枪机";
            this.ptzTypeText = "遥控枪机";
            break;
      }
   }
@@ -447,16 +459,16 @@
      this.password = password;
   }
   public int getPTZType() {
      return PTZType;
   public int getPtzType() {
      return ptzType;
   }
   public String getPTZTypeText() {
      return PTZTypeText;
   public String getPtzTypeText() {
      return ptzTypeText;
   }
   public void setPTZTypeText(String PTZTypeText) {
      this.PTZTypeText = PTZTypeText;
   public void setPtzTypeText(String ptzTypeText) {
      this.ptzTypeText = ptzTypeText;
   }
   public boolean isStatus() {
@@ -523,11 +535,11 @@
      this.subCount = subCount;
   }
   public boolean isHasAudio() {
   public Boolean getHasAudio() {
      return hasAudio;
   }
   public void setHasAudio(boolean hasAudio) {
   public void setHasAudio(Boolean hasAudio) {
      this.hasAudio = hasAudio;
   }
@@ -586,4 +598,20 @@
   public void setStreamIdentification(String streamIdentification) {
      this.streamIdentification = streamIdentification;
   }
   public double getCustomLongitude() {
      return customLongitude;
   }
   public void setCustomLongitude(double customLongitude) {
      this.customLongitude = customLongitude;
   }
   public double getCustomLatitude() {
      return customLatitude;
   }
   public void setCustomLatitude(double customLatitude) {
      this.customLatitude = customLatitude;
   }
}