From 71156fd4aaa5f18ba9f95f9f08bc930a321e257c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 16 一月 2023 11:26:58 +0800
Subject: [PATCH] 完善摄像机接口, 增加实时轮询参数

---
 dbapi.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dbapi.h b/dbapi.h
index ff58ef4..65d8228 100644
--- a/dbapi.h
+++ b/dbapi.h
@@ -1,6 +1,7 @@
 #ifndef C_BHOME_BUS_DBAPIS_H
 #define C_BHOME_BUS_DBAPIS_H
 
+#include <map>
 #include <vector>
 
 #include "proto/x86_64/fileanalysis.pb.h"
@@ -13,11 +14,11 @@
 bool dbapi_get_poll_config(void *handle, protomsg::PollConfig &message);
 bool dbapi_get_stack_config(void *handle, protomsg::FileAnalysisSetting &message);
 bool dbapi_get_time_rules(void *handle, std::vector<protomsg::CameraTimerule> &list);
-bool dbapi_get_dayctls(char *timeRules, std::vector<protomsg::DayCtl> & list);
-bool dbapi_get_timeranges(char *datactls, std::vector<protomsg::TimeRange> & list);
+bool dbapi_get_dayctls(char *timeRules, std::vector<protomsg::DayCtl> &list);
+bool dbapi_get_timeranges(char *datactls, std::vector<protomsg::TimeRange> &list);
 bool dbapi_get_camera_rules(void *handle, std::vector<protomsg::CameraAndRules> &list);
 
-bool dbapi_get_cameras_by_runtype(void *handle, std::vector<protomsg::Camera> &list);
+bool dbapi_get_cameras_by_runType(void *handle, std::vector<protomsg::Camera> &list, char *runType, bool gb28181);
 bool dbapi_get_gb28181_cameras_by_runtype(void *handle, std::vector<protomsg::Camera> &list);
 bool dbapi_get_sdk_channel_set(void *handle, std::vector<protomsg::SdkChanSet> &list);
 bool dbapi_get_sdks(void *handle, std::vector<protomsg::Sdk> &list);

--
Gitblit v1.8.0