From 1d4b8dbfe19b7a1c7856f0695d2ce74936a56bf9 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期日, 16 六月 2019 14:18:41 +0800
Subject: [PATCH] new protomsg.pb.go
---
protomsg.proto | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/protomsg.proto b/protomsg.proto
index 51a3677..08ca4b3 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -118,10 +118,15 @@
message TaskGroupArgs {
string task_id = 1;
- repeated TaskArgs group_args = 2;
+ repeated GroupRule group_rules = 2;
}
-message TaskArgs {
+message GroupRule {
+ string group_id = 1;
+ repeated Rule rules = 2;
+}
+
+message Rule {
string id =1;
string camera_task_id =2;
string camera_id =3;
@@ -148,15 +153,16 @@
string update_time = 8;
string create_by = 9;
string enabled = 10;//鏄惁鍚敤
- string del_flag = 11;//鏄惁鍒犻櫎
+ int32 del_flag = 11;//鏄惁鍒犻櫎
}
//SdkArg struct
message SdkArg {
- string alias = 2;//鍙傛暟鍒悕
- string name = 3;//鍙傛暟鍚嶇О
- string type = 4;//鍙傛暟绫诲瀷
- bool must = 5;//鍙傛暟鏄惁蹇呭~
+ string alias = 1;//鍙傛暟鍒悕
+ string name = 2;//鍙傛暟鍚嶇О
+ string type = 3;//鍙傛暟绫诲瀷
+ bool must = 4;//鍙傛暟鏄惁蹇呭~
+ string unit = 5;//鍗曚綅
string range = 6;//鍙傛暟鐨勮寖鍥�
int32 sort = 7;//鍙傛暟鎺掑簭
}
--
Gitblit v1.8.0