| | |
| | | |
| | | 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); |
| | | |
| | |
| | | |
| | | 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); |
| | | }; |
| | | |
| | | #endif |