From 621518e84ad75f819f8171f143be3fc7668e81d3 Mon Sep 17 00:00:00 2001
From: Lawrence <1934378145@qq.com>
Date: 星期六, 07 十一月 2020 17:37:45 +0800
Subject: [PATCH] 增加dockfile
---
src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java | 104 +++++++++++++++++++++++++++++----------------------
1 files changed, 59 insertions(+), 45 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 00bd995..810feab 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
@@ -148,6 +148,33 @@
*/
private boolean hasAudio;
+ /**
+ * 鏄惁姝e湪鎾斁
+ */
+ private boolean play;
+
+
+ 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 getChannelId() {
return channelId;
}
@@ -162,14 +189,6 @@
public void setName(String name) {
this.name = name;
- }
-
- public int getStatus() {
- return status;
- }
-
- public void setStatus(int status) {
- this.status = status;
}
public String getManufacture() {
@@ -316,6 +335,26 @@
this.password = password;
}
+ public int getPTZType() {
+ return PTZType;
+ }
+
+ public String getPTZTypeText() {
+ return PTZTypeText;
+ }
+
+ public void setPTZTypeText(String PTZTypeText) {
+ this.PTZTypeText = PTZTypeText;
+ }
+
+ public int getStatus() {
+ return status;
+ }
+
+ public void setStatus(int status) {
+ this.status = status;
+ }
+
public double getLongitude() {
return longitude;
}
@@ -332,33 +371,12 @@
this.latitude = latitude;
}
- public int getPTZType() {
- return PTZType;
+ public int getSubCount() {
+ return subCount;
}
- 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 void setSubCount(int subCount) {
+ this.subCount = subCount;
}
public String getSsrc() {
@@ -369,18 +387,6 @@
this.ssrc = ssrc;
}
- public int getSubCount() {
- return subCount;
- }
-
- public void setSubCount(int subCount) {
- this.subCount = subCount;
- }
-
- public void setPTZTypeText(String PTZTypeText) {
- this.PTZTypeText = PTZTypeText;
- }
-
public boolean isHasAudio() {
return hasAudio;
}
@@ -388,4 +394,12 @@
public void setHasAudio(boolean hasAudio) {
this.hasAudio = hasAudio;
}
+
+ public boolean isPlay() {
+ return play;
+ }
+
+ public void setPlay(boolean play) {
+ this.play = play;
+ }
}
--
Gitblit v1.8.0