From 0380d646c7338ac25bfbbbaf49ce9e2745eff57f Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期四, 24 一月 2019 13:40:45 +0800 Subject: [PATCH] 布控相关接口,表结构变更。 --- QiaoJiaSystem/DataManagerServer/http_configserver.h | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/QiaoJiaSystem/DataManagerServer/http_configserver.h b/QiaoJiaSystem/DataManagerServer/http_configserver.h index 5d67869..1aa90fb 100644 --- a/QiaoJiaSystem/DataManagerServer/http_configserver.h +++ b/QiaoJiaSystem/DataManagerServer/http_configserver.h @@ -117,6 +117,12 @@ std::string editDevId(std::string ip, unsigned int port, std::string content, PResponse &response); + std::string findSdkRule(std::string ip, unsigned int port, std::string content, PResponse &response); + + std::string editSdkRule(std::string ip, unsigned int port, std::string content, PResponse &response); + + std::string getSnapshot(std::string ip, unsigned int port, std::string content, PResponse &response); + private: void init(void); @@ -168,13 +174,17 @@ bool getHKDevSerialNumber(const char *ip, const int port, const char *username, const char *passwd, unsigned char *serialNumber = NULL) const; - bool createDevId(const int& dev_batch, const int& dev_sequence) ; - std::string getVideoPathByTime(const std::string& time,const std::string& camId,qint64& sub); + bool createDevId(const int &dev_batch, const int &dev_sequence); + + std::string getVideoPathByTime(const std::string &time, const std::string &camId, qint64 &sub); std::vector<std::string> forEachFile(const std::string &dir_name); - qint64 getVideoTime(/*const std::string& videoPath,*/std::string& str_tmpTime); + qint64 getVideoTime(/*const std::string& videoPath*/std::string &str_tmpTime); + + static void uploadPersonToServer(devHttpServer_c *t_ptrThis, std::string parm_uuid, std::string parm_img_url, + std::string parm_idcard, std::string parm_fea); }; #endif -- Gitblit v1.8.0