From b10d8e00b83032d802adab3222def7e6d280d928 Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期一, 28 一月 2019 20:33:33 +0800
Subject: [PATCH] 添加布控等级。对比暂未添加本字段。

---
 QiaoJiaSystem/FaceSearchServer/AlarmServer.hpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/QiaoJiaSystem/FaceSearchServer/AlarmServer.hpp b/QiaoJiaSystem/FaceSearchServer/AlarmServer.hpp
index 1fe1b9c..05c80aa 100644
--- a/QiaoJiaSystem/FaceSearchServer/AlarmServer.hpp
+++ b/QiaoJiaSystem/FaceSearchServer/AlarmServer.hpp
@@ -27,6 +27,8 @@
     std::vector<std::vector<unsigned char>> features;
     std::string faceUrl;
     std::string idcard;
+    std::string enabled;
+    std::string monLevel;
 };
 
 static std::vector<std::string> AlarmServerPropertyAnalyseByComma(std::string str_list) {
@@ -100,7 +102,7 @@
 
     //m_dbReady is false return,true go on
     //use parallelFor
-    virtual bool compare(std::thread::id key, AlarmData *, int topN) = 0;
+    virtual bool compare(std::thread::id key, AlarmData *, int topN, float score) = 0;
 
 private:
     //init data,this is thread body

--
Gitblit v1.8.0