From 861d775dd793859c151f1cd020011863441f1053 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 12 十月 2020 13:14:20 +0800
Subject: [PATCH] 添加wiki
---
src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 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 73fafc1..55d0a63 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
@@ -103,9 +103,14 @@
private String password;
/**
- * 浜戝彴鎺у埗
+ * 浜戝彴绫诲瀷
*/
private int PTZType;
+
+ /**
+ * 浜戝彴绫诲瀷鎻忚堪瀛楃涓�
+ */
+ private String PTZTypeText;
/**
* 鍦ㄧ嚎/绂荤嚎
@@ -328,6 +333,27 @@
public void setPTZType(int PTZType) {
this.PTZType = PTZType;
+ switch (PTZType) {
+ case 0:
+ this.PTZTypeText = "鏈煡";
+ break;
+ case 1:
+ this.PTZTypeText = "鐞冩満";
+ break;
+ case 2:
+ this.PTZTypeText = "鍗婄悆";
+ break;
+ case 3:
+ this.PTZTypeText = "鍥哄畾鏋満";
+ break;
+ case 4:
+ this.PTZTypeText = "閬ユ帶鏋満";
+ break;
+ }
+ }
+
+ public String getPTZTypeText() {
+ return PTZTypeText;
}
public String getSsrc() {
--
Gitblit v1.8.0