| | |
| | | * 云台类型 |
| | | */ |
| | | @Schema(description = "云台类型") |
| | | private int PTZType; |
| | | private int ptzType; |
| | | |
| | | /** |
| | | * 云台类型描述字符串 |
| | | */ |
| | | @Schema(description = "云台类型描述字符串") |
| | | private String PTZTypeText; |
| | | private String ptzTypeText; |
| | | |
| | | /** |
| | | * 创建时间 |
| | |
| | | */ |
| | | @Schema(description = "纬度") |
| | | private double latitude; |
| | | |
| | | /** |
| | | * 经度 |
| | | */ |
| | | @Schema(description = "自定义经度") |
| | | private double customLongitude; |
| | | |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @Schema(description = "自定义纬度") |
| | | private double customLatitude; |
| | | |
| | | /** |
| | | * 经度 GCJ02 |
| | |
| | | * 是否含有音频 |
| | | */ |
| | | @Schema(description = "是否含有音频") |
| | | private boolean hasAudio; |
| | | private Boolean hasAudio; |
| | | |
| | | /** |
| | | * 标记通道的类型,0->国标通道 1->直播流通道 2->业务分组/虚拟组织/行政区划 |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | 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() { |
| | |
| | | this.subCount = subCount; |
| | | } |
| | | |
| | | public boolean isHasAudio() { |
| | | public Boolean getHasAudio() { |
| | | return hasAudio; |
| | | } |
| | | |
| | | public void setHasAudio(boolean hasAudio) { |
| | | public void setHasAudio(Boolean hasAudio) { |
| | | this.hasAudio = hasAudio; |
| | | } |
| | | |
| | |
| | | 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; |
| | | } |
| | | } |