From d36920c699d21b4381d679a64a4369cf22e10139 Mon Sep 17 00:00:00 2001
From: 648540858 <456panlinlin>
Date: 星期一, 18 四月 2022 10:52:38 +0800
Subject: [PATCH] 添加自动拉起未推流设备的控制开关

---
 src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java
index 8df7939..7993163 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatform.java
@@ -125,9 +125,14 @@
     private boolean alarmSubscribe;
 
     /**
-     * 宸茶璁㈤槄GPS淇℃伅
+     * 宸茶璁㈤槄绉诲姩浣嶇疆淇℃伅
      */
-    private boolean gpsSubscribe;
+    private boolean mobilePositionSubscribe;
+
+    /**
+     * 鐐规挱鏈帹娴佺殑璁惧鏃舵槸鍚︿娇鐢╮edis閫氱煡鎷夎捣
+     */
+    private boolean startOfflinePush;
 
     public Integer getId() {
         return id;
@@ -322,11 +327,19 @@
         this.alarmSubscribe = alarmSubscribe;
     }
 
-    public boolean isGpsSubscribe() {
-        return gpsSubscribe;
+    public boolean isMobilePositionSubscribe() {
+        return mobilePositionSubscribe;
     }
 
-    public void setGpsSubscribe(boolean gpsSubscribe) {
-        this.gpsSubscribe = gpsSubscribe;
+    public void setMobilePositionSubscribe(boolean mobilePositionSubscribe) {
+        this.mobilePositionSubscribe = mobilePositionSubscribe;
+    }
+
+    public boolean isStartOfflinePush() {
+        return startOfflinePush;
+    }
+
+    public void setStartOfflinePush(boolean startOfflinePush) {
+        this.startOfflinePush = startOfflinePush;
     }
 }

--
Gitblit v1.8.0