zhangzengfei
2023-01-12 88178aed18f9f1a42b8429e500b8431952f87f4d
main.cpp
@@ -42,9 +42,15 @@
    // }
    // 数据栈配置 fileanalysis.pb.h
    protomsg::FileAnalysisSetting node;
    if (dbapi_get_stack_config(handle, node)) {
        printf("StackConfig: %s\n", node.filedirectory().c_str());
    // protomsg::FileAnalysisSetting node;
    // if (dbapi_get_stack_config(handle, node)) {
    //     printf("StackConfig: %s\n", node.filedirectory().c_str());
    // }
    // 时间规则
    std::vector<protomsg::CameraTimerule> list;
    if (dbapi_get_time_rules(handle, list)) {
        printf("CameraTimerule:\n");
    }
    return 0;