648540858
2024-03-28 1de344674afd6bb35b51b165bbad76dbe6299b7e
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;
   /**
    * 创建时间
@@ -246,6 +246,10 @@
   @Schema(description = "GPS的更新时间")
   private String gpsTime;
   @Schema(description = "码流标识,优先级高于设备中码流标识," +
         "用于选择码流时组成码流标识。默认为null,不设置。可选值: stream/streamnumber/streamprofile/streamMode")
   private String streamIdentification;
   public int getId() {
      return id;
   }
@@ -262,23 +266,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;
      }
   }
@@ -443,16 +447,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() {
@@ -574,4 +578,12 @@
   public void setGpsTime(String gpsTime) {
      this.gpsTime = gpsTime;
   }
   public String getStreamIdentification() {
      return streamIdentification;
   }
   public void setStreamIdentification(String streamIdentification) {
      this.streamIdentification = streamIdentification;
   }
}