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 | 67 +++++++++++++++++++++++++++++++++
1 files changed, 66 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 1bccad8..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
@@ -100,7 +100,17 @@
/**
* 瀵嗙爜
*/
- private String password;
+ private String password;
+
+ /**
+ * 浜戝彴绫诲瀷
+ */
+ private int PTZType;
+
+ /**
+ * 浜戝彴绫诲瀷鎻忚堪瀛楃涓�
+ */
+ private String PTZTypeText;
/**
* 鍦ㄧ嚎/绂荤嚎
@@ -122,6 +132,16 @@
* 绾害
*/
private double latitude;
+
+ /**
+ * 瀛愯澶囨暟
+ */
+ private int subCount;
+
+ /**
+ * 娴佸敮涓�缂栧彿锛屽瓨鍦ㄨ〃绀烘鍦ㄧ洿鎾�
+ */
+ private String ssrc;
public String getChannelId() {
return channelId;
@@ -306,4 +326,49 @@
public void setLatitude(double latitude) {
this.latitude = latitude;
}
+
+ public int getPTZType() {
+ return PTZType;
+ }
+
+ 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() {
+ return ssrc;
+ }
+
+ public void setSsrc(String ssrc) {
+ this.ssrc = ssrc;
+ }
+
+ public int getSubCount() {
+ return subCount;
+ }
+
+ public void setSubCount(int subCount) {
+ this.subCount = subCount;
+ }
}
--
Gitblit v1.8.0