From 22f649a39f7a453f516469feaba5723c6c9181c2 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 19 六月 2019 18:15:21 +0800
Subject: [PATCH] new pb.go

---
 protomsg.proto |  111 +++++++------------------------------------------------
 1 files changed, 14 insertions(+), 97 deletions(-)

diff --git a/protomsg.proto b/protomsg.proto
index da3ef59..11fa01e 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -3,109 +3,27 @@
 
 package protomsg;
 
+message SdkmsgWithTask {
+    string sdkid = 1;
+    string sdktype = 2;
+    string sdkName = 3;
+    bytes  sdkdata = 4;
+}
+
 message TaskLabel {
 	string taskid = 1;
-	repeated string sdkids = 2;
-	int32 index = 3 ;
+    string taskname = 2;
+	repeated SdkmsgWithTask sdkinfos = 3;
+	int32 index = 4 ;
 }
 
 //SdkMessage struct test
 message SdkMessage {
-	string cid = 1;
-	TaskLabel tasklab = 2;
-	bytes	data =3 ;
-
-    Personaction personaction =4;
-    Vediopersons vedioperson = 5;
+	string    cid = 1;
+    string    caddr = 2;
+	TaskLabel tasklab =3 ;
+	bytes	  data = 4;
 }
-
-message Personaction{
-    string imgKey       = 1; 
-    string videoReqNum  = 2;
-    string sdkType      = 3;
-    string picName      = 4;
-    string content      = 5;
-    string cluster_id   = 6;
-    string personPicUrl = 7;
-    string channlId     = 8;
-    string likeDate     = 9;
-
-    string picAddress   = 10;
-    string picMaxUrl    = 11;
-    string picDate      = 12;
-    string picLocalUrl  = 13;
-    string isDelete     = 14;
-    string likePer      = 15;
-    string baseName     = 16;
-    string videoNum     = 17;
-    string collection   = 18;
-    string picSmUrl     = 19;
-    
-    string indeviceid   = 20;
-    string idcard       = 21;
-    string ack_alarm    = 22;
-    string personId     = 23;
-    string id           = 24;
-    string indevicename = 25;
-    string faceFeature  = 26;
-    string personIsHub  = 27;
-    string videoIp      = 28;
-    string taskId       = 29;
-}
-
-message PersonBaseInfo {
-    string personNamae  = 1;
-    string iDCard       = 2;
-    string gender       = 3;
-    string personPicUrl = 4;
-    string likePer      = 5;
-    string tableId      = 6;
-    string monitorLevel = 7;
-    string personId     = 8;
-    string phoneNum     = 9;
-    string content      = 10;
-    string tableName    = 11;
-}
-
-message Vediopersons {
-    string iD           = 1;
-    string videoReqNum  = 2;
-    string sdkType=3;
-    string gender=4;
-    string picName=5;
-    string content=6;
-    string personPicUrl=7;
-    string channlId=8;
-    string likeDate=9;
-    string race=10;
-    string pciAddress=11;
-    string picMaxUrl=12;
-    string age=13;
-    string picDate=14;
-    string picLocalUrl=15;
-    string isDelete=16;
-    repeated string tableName=17;
-    string videoNum=18;
-    string picSmUrl=19;
-    string simleLevel=20;
-    string indeviceId=21;
-    repeated string iDcard=22;
-    repeated string personId=23;
-    string beautyLevel=24;
-    string indeviceName=25;
-    string faceFeature=26;
-    string personIsHub=27;
-    string videoIp=28;
-    string ackAlarm=29;
-    string clusterId=30;
-    string taskId=31;
-    string taskName=32;
-    repeated PersonBaseInfo baseinfo =33;
-    string collection=34;
-    string ageDescription=35;
-    repeated string tableId=36;
-}
-
 
 //Area缁撴瀯浣�
 message Area{
@@ -288,4 +206,3 @@
     string type = 7;
     int32 defence_state = 8;
 }
-

--
Gitblit v1.8.0