zhangzengfei
2024-05-08 80ae7958a17a492098f18f31fa21804f37b6cbaa
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;      // 数据栈中的文件id
}
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;
}
}