From 80ae7958a17a492098f18f31fa21804f37b6cbaa Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 08 五月 2024 14:52:55 +0800
Subject: [PATCH] 更新dataprocess.pb

---
 dataprocess.proto |   45 ++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 40 insertions(+), 5 deletions(-)

diff --git a/dataprocess.proto b/dataprocess.proto
index 90ed36f..2608a8a 100644
--- a/dataprocess.proto
+++ b/dataprocess.proto
@@ -1,5 +1,7 @@
 syntax = "proto3";
-option go_package="./;protomsg";
+package protomsg;
+
+import "sdk.proto";
 import "rule.proto";
 import "protomsg.proto";
 
@@ -15,14 +17,47 @@
 	string  FileId = 9;      // 鏁版嵁鏍堜腑鐨勬枃浠秈d
 }
 
+message RuleParams {
+	string SdkArgAlias = 1; 
+	string Operator = 2;    
+	string OperatorType = 3;  
+	string SdkArgValue = 4; 
+}
+
+message SoRule {
+	string Id = 1;          
+	string CameraId = 2;     
+	string PolygonId = 3;   
+	string SdkId = 4;        
+	int32 Sort = 5;        
+	string RuleWithPre = 6;  
+	bool IsSaveAnyhow =7; 
+	string GroupId = 8;     
+	repeated RuleParams Params = 9;
+}
+
 message SoTarget {
 	Target SrcTarget = 1;       
-	string AreaId    = 2;      
-	string AreaName  = 3;      
+	string AreaId = 2;      
+	string AreaName = 3;      
 	string BelongsTargetID = 4;
 	repeated RuleBaseCompareInfo CompDbInfo = 5;
-	int64 ImageId   = 6;      
+	int64 ImageId = 6;      
 }
+
+message SoResult {
+	bool IsEvent = 1;    
+	bool IsEndRecord = 2;
+	repeated SoTarget Targets = 3;
+	Image FirstImage = 4;
+	Image CacheImage = 5;
+	SoRule soRule = 6;
+	GroupRule groupRule = 7;
+	string SoType = 8;
+}
+
+
+
 
 message EventCache {
 	map<uint64, SoTarget> Targets = 1;
@@ -40,4 +75,4 @@
 	TaskBasicInfo BaseInfo = 1;
 	map<string, EventCache> Events = 2;
 	map<string, TargetCache> Targets = 3;
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0