From a82b831b8b2b96dfa5791808f1207500e16697cf Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 04 一月 2023 10:39:40 +0800
Subject: [PATCH] 优化设备状态保持,自动记录心跳间隔,三次心跳失败则设备离线,不在使用设备有效期字段作为唯一判断标准,提高容错能力和稳定性。

---
 src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatformCatch.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatformCatch.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatformCatch.java
index 994039a..a53d26e 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatformCatch.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/ParentPlatformCatch.java
@@ -4,11 +4,15 @@
 
     private String id;
 
-    // 蹇冭烦鏈洖澶嶆鏁�
+    /**
+     * 蹇冭烦鏈洖澶嶆鏁�
+     */
     private int keepAliveReply;
 
     // 娉ㄥ唽鏈洖澶嶆鏁�
     private int registerAliveReply;
+
+    private String callId;
 
     private ParentPlatform parentPlatform;
 
@@ -43,4 +47,12 @@
     public void setParentPlatform(ParentPlatform parentPlatform) {
         this.parentPlatform = parentPlatform;
     }
+
+    public String getCallId() {
+        return callId;
+    }
+
+    public void setCallId(String callId) {
+        this.callId = callId;
+    }
 }

--
Gitblit v1.8.0