From c56015c5c73861b5f794cac48064d0394f8fd37d Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期二, 02 四月 2019 15:48:39 +0800 Subject: [PATCH] 对抓拍记录的picMaxUrl字段赋值(大图路径) --- 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