From f5ec65382e6f0729cc6f530018063d72f87514aa Mon Sep 17 00:00:00 2001
From: cheliequan <liequanche@126.com>
Date: 星期二, 07 二月 2023 15:48:24 +0800
Subject: [PATCH] add FilterResult protobuf struct between dataprocess and ruleserver

---
 dataprocess.proto |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/dataprocess.proto b/dataprocess.proto
new file mode 100644
index 0000000..90ed36f
--- /dev/null
+++ b/dataprocess.proto
@@ -0,0 +1,43 @@
+syntax = "proto3";
+option go_package="./;protomsg";
+import "rule.proto";
+import "protomsg.proto";
+
+message TaskBasicInfo {
+	string CamId = 1;       
+	string CamName = 2;     
+	string TaskID = 3;      
+	string TaskName = 4;    
+	string HandleTime = 5;  
+	int64 ImageId = 6;     
+	string ImageTime = 7;   
+	bool IsEndRecord = 8; 
+	string  FileId = 9;      // 鏁版嵁鏍堜腑鐨勬枃浠秈d
+}
+
+message SoTarget {
+	Target SrcTarget = 1;       
+	string AreaId    = 2;      
+	string AreaName  = 3;      
+	string BelongsTargetID = 4;
+	repeated RuleBaseCompareInfo CompDbInfo = 5;
+	int64 ImageId   = 6;      
+}
+
+message EventCache {
+	map<uint64, SoTarget> Targets = 1;
+	map<string, GroupRule> RuleGroups = 2; 
+	map<int64, Image> Images = 3;
+}
+
+message TargetCache  {
+	repeated SoTarget Target = 1;
+	map<string, GroupRule> RuleGroups = 2;
+	Image Image = 3;
+}
+
+message FilterResult {
+	TaskBasicInfo BaseInfo = 1;
+	map<string, EventCache> Events = 2;
+	map<string, TargetCache> Targets = 3;
+}
\ No newline at end of file

--
Gitblit v1.8.0