From 6c8f1689d545a6384046b79558e06ba32ec5dacf Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期三, 06 三月 2019 11:48:22 +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/VideoAnalysFromHC/RtspAnalysElement.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h b/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h
index 890e317..21db01e 100644
--- a/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h
+++ b/QiaoJiaSystem/VideoAnalysFromHC/RtspAnalysElement.h
@@ -21,7 +21,7 @@
 
     virtual ~RtspAnalysElement();
 
-    int addCamera(const std::string &, const std::string &);
+    int addCamera(const std::string &, const std::map<int, SdkRule>& sdkRuleMap);
 
     int removeCamera(const std::string &);
 
@@ -40,7 +40,7 @@
 
     static std::vector<int> chnString2Vec(std::string str_list);
 
-    void setDataByType(int type,Json::Value& json,int camId);
+    void setDataByType(Json::Value& json,const SdkRule& rule);
 
 private:
     LDBTool *m_lDBTool;
@@ -50,6 +50,7 @@
     int maxCount;
 
     FastFdsWithLock fdfsClient;
+    std::map<int, SdkRule> sdkRuleMap;
 };
 
 

--
Gitblit v1.8.0