| | |
| | | * 云台类型 |
| | | */ |
| | | @Schema(description = "云台类型") |
| | | private int PTZType; |
| | | private int ptzType; |
| | | |
| | | /** |
| | | * 云台类型描述字符串 |
| | | */ |
| | | @Schema(description = "云台类型描述字符串") |
| | | private String PTZTypeText; |
| | | private String ptzTypeText; |
| | | |
| | | /** |
| | | * 创建时间 |
| | |
| | | @Schema(description = "GPS的更新时间") |
| | | private String gpsTime; |
| | | |
| | | @Schema(description = "码流标识,优先级高于设备中码流标识," + |
| | | "用于选择码流时组成码流标识。默认为null,不设置。可选值: stream/streamnumber/streamprofile/streamMode") |
| | | private String streamIdentification; |
| | | |
| | | public int getId() { |
| | | return id; |
| | | } |
| | |
| | | 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() { |
| | |
| | | public void setGpsTime(String gpsTime) { |
| | | this.gpsTime = gpsTime; |
| | | } |
| | | |
| | | public String getStreamIdentification() { |
| | | return streamIdentification; |
| | | } |
| | | |
| | | public void setStreamIdentification(String streamIdentification) { |
| | | this.streamIdentification = streamIdentification; |
| | | } |
| | | } |