| | |
| | | int32 fps = 23; //fps设置 |
| | | |
| | | repeated Sensor sensors = 24; //传感器 |
| | | |
| | | bool voiceEnable = 25; |
| | | string voiceId = 26; |
| | | string coordTransform = 27; //坐标转换信息 |
| | | |
| | | int32 status = 28; |
| | | } |
| | | |
| | | message Sensor { |
| | |
| | | message SdkRun { |
| | | string ipc_id = 1; |
| | | string sdk_type = 2; |
| | | bool isTriggerByPreSdk = 3; |
| | | int32 isTriggerByPreSdk = 3; |
| | | int32 confidence = 4; |
| | | bool bReid = 5; |
| | | int32 triggerNextSdkType = 6; |
| | | } |
| | | |
| | | |
| | |
| | | string scene_name = 10; |
| | | string desc = 11; |
| | | bool enable = 12; |
| | | string voiceId = 13; //事件声音 |
| | | } |
| | | |
| | | message GroupRuleSdks { |
| | |
| | | string camera_id =2; |
| | | string polygon_id =3; |
| | | string sdk_id = 4; |
| | | string sdk_arg_alias = 5; |
| | | string operator = 6; |
| | | string operator_type = 7; |
| | | string sdk_arg_value = 8; |
| | | repeated SdkSetBase sdk_set = 5; |
| | | string rule_with_pre = 6; |
| | | bool is_save_anyhow = 7; //rule_with_pre是触发时,是否无论被触发的条件满不满足,都保留数据 |
| | | string group_id =8; |
| | | int32 sort = 9; |
| | | string rule_with_pre = 10; |
| | | string group_id =11; |
| | | } |
| | | |
| | | message RuleTemplate { |
| | |
| | | string rule_with_pre = 6; |
| | | } |
| | | |
| | | message SdkSetBase { |
| | | string sdk_arg_alias = 1; |
| | | string operator = 2; |
| | | string operator_type = 3; |
| | | string sdk_arg_value = 4; |
| | | int32 sort = 5; |
| | | } |
| | | |
| | | //Sdk struct |
| | | message Sdk { |
| | | string id = 1; |
| | |
| | | string version = 14; //版本 |
| | | bool enTrack = 15; //是否开启跟踪 |
| | | string argDef = 16; //默认参数 |
| | | string ruleSo = 17; //规则用so |
| | | string iconBlob2 = 18; //第二套图片二进制 |
| | | string activateCode = 19; // |
| | | } |
| | | |
| | | //SdkArg struct |
| | |
| | | T_FileSetting = 8;//本地文件分析设置 |
| | | T_SdkChanSet = 9;//算法通道设置变化 |
| | | T_FileStack = 10;//数据栈变化 |
| | | T_ResourceConfig = 11;//对外服务配置变化 |
| | | T_CalculationPower = 12;//需要重新计算算力占用情况 |
| | | T_EventPush = 13; //事件推送有变化 |
| | | T_Cluster = 14; //集群创建、加入或退出 |
| | | T_CameraPolygonRelation = 15; //摄像机区域的关联关系 |
| | | T_Voice = 16;//报警声音发生变化 |
| | | } |
| | | |
| | | enum DbAction { |
| | |
| | | string direction_line = 6; |
| | | string type = 7; |
| | | int32 defence_state = 8; |
| | | string camera_name = 9; //摄像机名称 |
| | | } |
| | | |
| | | message CameraPolygonRelation { |
| | | string id = 1; |
| | | string source_camera_id = 2; |
| | | string source_polygon_id = 3; |
| | | string target_camera_id = 4; |
| | | string target_polygon_id = 5; |
| | | } |
| | | |
| | | message VideotapeInfo { |
| | |
| | | string path = 3; |
| | | } |
| | | |
| | | message VoiceList { |
| | | repeated Voice list = 1; |
| | | } |
| | | |
| | | message CompareArgs { |
| | | repeated string tableIds = 1; |
| | | float compareThreshold = 2; |
| | |
| | | bool source = 11; |
| | | string analyServerId = 12; |
| | | string compareTarget = 13;//比对的目标 |
| | | bool isCompareAll = 14; //是否比对全部,做测试用 |
| | | repeated string serverIds = 15; //管理平台比对多个设备产生的数据 |
| | | } |
| | | |
| | | message CompareEvent { |
| | |
| | | ReInitCache = 0; // 重新初始化底库缓存(加入集群后执行) |
| | | UpdateCache = 1; // 更新底库和人员缓存 |
| | | Compare = 2; // 做比对请求 |
| | | DeleteCache = 3; // 删除缓存 |
| | | } |
| | | |
| | | message SdkCompareEach { |
| | |
| | | repeated PushIpPort ip_ports = 10; |
| | | repeated PushUrl urls = 11; |
| | | repeated EventPushRule rules = 12; |
| | | map<string,string> filtRename = 13; |
| | | repeated PushSetMenu push_set = 14; |
| | | } |
| | | |
| | | message PushSetMenu { |
| | | string id = 1; |
| | | string name = 2; |
| | | bool checked = 3; |
| | | string alias = 4; |
| | | repeated PushSetMenu children = 5; |
| | | } |
| | | |
| | | message EventPushRule { |
| | |
| | | int32 enable = 6; |
| | | string carNo = 7; |
| | | } |
| | | |
| | | message ClusterAndNodes { |
| | | string clusterId = 1; |
| | | string clusterName = 2; |
| | | repeated Node nodes = 3; |
| | | string virtualIp = 4; |
| | | string password = 5; |
| | | } |
| | | |
| | | message Node { |
| | | string id = 1; |
| | | string cluster_id=2; |
| | | string node_name = 3; |
| | | string node_id = 4; |
| | | string node_ip = 5; |
| | | string create_time = 6; |
| | | bool isDelete = 7; |
| | | string drift_state = 8; |
| | | string device_type = 9; |
| | | } |
| | | |
| | | message Dic { |
| | | string id = 1; |
| | | string value = 2; |
| | | string name = 3; |
| | | string type = 4; |
| | | string description = 5; |
| | | int32 sort = 6; |
| | | string parent_id = 7; |
| | | } |