From 23beb4fde063b4a648c2a273f17cf5c423fa0ae6 Mon Sep 17 00:00:00 2001 From: leesam <leesam@leesam.cn> Date: 星期一, 01 四月 2024 09:19:46 +0800 Subject: [PATCH] Merge branch 'master' into develop-add-api-key --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java index d58abcb..32b6fac 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java +++ b/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; /** * 鍒涘缓鏃堕棿 @@ -266,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; } } @@ -447,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() { -- Gitblit v1.8.0