| | |
| | | message CameraTimerule { |
| | | string id = 1;//id |
| | | string name = 2;//规则名称 |
| | | string camera_id = 3;//摄像机id |
| | | repeated DayCtl time_rule = 4;//具体时间规则设置 |
| | | string time_rule = 3;//具体时间规则设置 |
| | | } |
| | | |
| | | //DayCtl struct 每天的时间控制规则 |
| | |
| | | message Polygon { |
| | | string id = 1;//形状id |
| | | string name = 2;//形状的名称 |
| | | repeated Point points = 4;//点的集合 |
| | | repeated Point points = 3;//点的集合 |
| | | } |
| | | |
| | | message CameraTaskArgs { |
| | | string camera_id = 1; |
| | | repeated TaskGroupArgs task_args = 2; |
| | | } |
| | | |
| | | message TaskGroupArgs { |
| | | string task_id = 1; |
| | | repeated TaskArgs group_args = 2; |
| | | } |
| | | |
| | | message TaskArgs { |
| | | string id =1; |
| | | string camera_task_id =2; |
| | | string camera_id =3; |
| | |
| | | string operator_type = 8; |
| | | string sdk_arg_value = 9; |
| | | int32 sort = 10; |
| | | string rule_with_next = 11; |
| | | string rule_with_pre = 11; |
| | | string group_id =12; |
| | | |
| | | } |
| | | |
| | | //Sdk struct |
| | |
| | | string direction_line = 6; |
| | | string type = 7; |
| | | int32 defence_state = 8; |
| | | } |
| | | |
| | | message CameraTaskArg { |
| | | string id = 1; |
| | | string camera_task_id = 2; |
| | | string camera_id = 3; |
| | | string polygon_id = 4; |
| | | string sdk_id = 5; |
| | | string sdk_arg_alias = 6; |
| | | string operator = 7; |
| | | string operator_type = 8; |
| | | string sdk_arg_value = 9; |
| | | int32 sort = 10; |
| | | string rule_with_pre = 11; |
| | | string group_id = 12; |
| | | } |
| | | |
| | | message CameraTimeRule { |
| | | string id = 1; |
| | | string name = 3; |
| | | string time_rule = 4; |
| | | } |