From 6540a2a9d69432c4cc475e3b32eae11e9e0ace73 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期四, 11 四月 2019 20:28:10 +0800
Subject: [PATCH] 1.srs的分辨率在config.json配置 2.单播推流控制,国标摄像机差一个关闭测试 3. 底库字段添加

---
 QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
index 2eaf1dd..159e448 100644
--- a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
+++ b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
@@ -50,7 +50,11 @@
     bool deleteCamDevandSdkByCamID(QString strCamId);
     bool updateCamDevTable(Record_Cam_Dev camRec);
     std::list<Record_Cam_Dev> searchCamDevTableAll(void);
+    std::list<Record_Cam_Dev> searchCamDevTableByType(int type);
     int searchCamDevNumber(void);
+    bool searchCamDevByCamId(QString strCamId);
+    bool updateCamDevSnapshot(const QString& strIp ,const QString& imgUrl);
+    bool updateCamDevSnapshotbyID(const QString &strID, const QString &imgUrl);
 
     //load_file_info
     bool insertLoadFileTable(Record_Load_File_info loadfileRec);
@@ -133,6 +137,17 @@
     QSqlTableModel *m_pModel;
 
     QMutex m_mutexVisit;
+public:
+    QSqlDatabase* get_m_db() {
+        return &m_db;
+    }
+    QSqlTableModel* get_m_pModel() {
+        return m_pModel;
+    }
+    QMutex* get_m_mutexVisit() {
+        return &m_mutexVisit;
+    }
+
 };
 
 #endif // LDBTOOL_H

--
Gitblit v1.8.0