From 2b1a3988c9fd35c39e3e43d0382d65a13c45efee Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期四, 14 三月 2019 10:38:27 +0800
Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of http://192.168.1.226:10010/r/development/c++ into yw.1.2.fixbug

---
 QiaoJiaSystem/StructureApp/PerimeterElement.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/PerimeterElement.cpp b/QiaoJiaSystem/StructureApp/PerimeterElement.cpp
index 34e0ba7..a88ed9f 100644
--- a/QiaoJiaSystem/StructureApp/PerimeterElement.cpp
+++ b/QiaoJiaSystem/StructureApp/PerimeterElement.cpp
@@ -13,7 +13,7 @@
 #include <uuid/uuid.h>
 #include <jsoncpp/json/json.h>
 
-#define ALARM_PERCENT (10)  //10%
+#define ALARM_PERCENT (25)  //25%
 PerimeterElement::PerimeterElement(const SdkRule &rule) :
     m_sdkRule(rule),
     PipeElement(true),
@@ -392,7 +392,7 @@
         if (!server)
         {
             ERR("server is null");
-            return false;
+            //return false;
         }
         INFO("Record Video "<<imgKey);
         server->recordVideo(imgKey);
@@ -400,7 +400,7 @@
     catch (std::exception &e)
     {
         ERR("Record Video Err: "<<imgKey <<"   Message: "<<e.what());
-        return false;
+        //return false;
     }
     INFO("SaveImgKeyToES: "<<imgKey);
     bool retface = false;

--
Gitblit v1.8.0