From d8cfbb5980817d904e305acee4a3d7b36d78c656 Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期五, 15 三月 2019 11:20:23 +0800 Subject: [PATCH] GB28181集成完成。录像bug暂未解决,已注释 --- QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.cpp b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.cpp index 8070b13..f1a6d89 100644 --- a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.cpp +++ b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.cpp @@ -332,6 +332,7 @@ rec.setValue("password", channelRec.str_password); rec.setValue("brand", channelRec.str_brand); rec.setValue("reserved", channelRec.str_reserved); + rec.setValue("type", channelRec.type); pModel.insertRecord(-1, rec);//TODO @@ -510,6 +511,7 @@ Record_Cam_Dev lChannelRec; QSqlRecord rec = pModel.record(i); lChannelRec.n_id = rec.value("id").toInt(); + lChannelRec.type = rec.value("type").toInt(); lChannelRec.str_cam_dev_id = rec.value("cam_dev_id").toString(); lChannelRec.str_name = rec.value("name").toString(); lChannelRec.str_addr = rec.value("addr").toString(); -- Gitblit v1.8.0