zhangzengfei
2023-01-12 22a2a75146214b245fa2bfeacfd998539a8779fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "dbapi.h"
#include "util.h"
 
using namespace protomsg;
 
bool dbapi_get_time_rules(void *handle, std::vector<protomsg::CameraTimerule> & list) {
    const char *topic = DATA_URL_PREFIX("/cameraTimerule/findAll");
 
    return true;
}
 
bool dbapi_get_camera_rules(void *handle, std::vector<protomsg::CameraAndRules> & list) {
    const char *topic = DATA_URL_PREFIX("/camera/rule/findAll");
 
     return true;;
}