From bdaaccef1c9f4cf7210a5e2c16305c79ff2ba19c Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 14 六月 2019 09:50:39 +0800
Subject: [PATCH] CameraTaskArgs messsages

---
 protomsg.proto |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/protomsg.proto b/protomsg.proto
index dbb35ec..51a3677 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -89,8 +89,7 @@
 message CameraTimerule {
     string id = 1;//id
     string name = 2;//瑙勫垯鍚嶇О
-    string camera_id = 3;//鎽勫儚鏈篿d
-    repeated DayCtl time_rule = 4;//鍏蜂綋鏃堕棿瑙勫垯璁剧疆
+    string time_rule = 3;//鍏蜂綋鏃堕棿瑙勫垯璁剧疆
 }
 
 //DayCtl struct   姣忓ぉ鐨勬椂闂存帶鍒惰鍒�
@@ -109,10 +108,20 @@
 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;
@@ -123,9 +132,8 @@
     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
@@ -248,4 +256,15 @@
     string id = 2;//鍙樺寲鏁版嵁id
     DbAction action = 3;//action
     string info = 4;//鍙樺寲鍐呭
+}
+
+message CameraPolygon {
+    string id = 1;
+    string camera_id = 2;//鎽勫儚鏈篿d
+    string name = 3;//鍚嶇О
+    string polygon = 4;//鍧愭爣鐐归泦鍚�
+    string trigger_line = 5;
+    string direction_line = 6;
+    string type = 7;
+    int32 defence_state = 8;
 }
\ No newline at end of file

--
Gitblit v1.8.0