From 950d89112665bead13fa79ae7e37b8addc188ca8 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 13 十月 2020 10:47:43 +0800
Subject: [PATCH] isTriggerByPreSdk set 0:非触发,1:必要触发,2:非必要触发
---
sdk.pb.go | 301 +++++++++++++++++++++++++++++++-------------------
1 files changed, 187 insertions(+), 114 deletions(-)
diff --git a/sdk.pb.go b/sdk.pb.go
index eeb30c4..fa7fc53 100644
--- a/sdk.pb.go
+++ b/sdk.pb.go
@@ -24,13 +24,15 @@
// Image ipc struct
type Image struct {
- Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
- Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
- Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
- Cid string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
- Cname string `protobuf:"bytes,7,opt,name=cname,proto3" json:"cname,omitempty"`
+ Width int32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
+ Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
+ Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
+ Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
+ Cid string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
+ Cname string `protobuf:"bytes,7,opt,name=cname,proto3" json:"cname,omitempty"`
+ Channel int32 `protobuf:"varint,8,opt,name=channel,proto3" json:"channel,omitempty"`
+ I64Timestamp int64 `protobuf:"varint,9,opt,name=i64timestamp,proto3" json:"i64timestamp,omitempty"`
}
func (m *Image) Reset() { *m = Image{} }
@@ -115,13 +117,27 @@
return ""
}
+func (m *Image) GetChannel() int32 {
+ if m != nil {
+ return m.Channel
+ }
+ return 0
+}
+
+func (m *Image) GetI64Timestamp() int64 {
+ if m != nil {
+ return m.I64Timestamp
+ }
+ return 0
+}
+
type Target struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Confidence int32 `protobuf:"varint,3,opt,name=confidence,proto3" json:"confidence,omitempty"`
Rect *Rect `protobuf:"bytes,4,opt,name=rect,proto3" json:"rect,omitempty"`
Feature []byte `protobuf:"bytes,5,opt,name=feature,proto3" json:"feature,omitempty"`
- Attribute string `protobuf:"bytes,6,opt,name=attribute,proto3" json:"attribute,omitempty"`
+ Attribute []byte `protobuf:"bytes,6,opt,name=attribute,proto3" json:"attribute,omitempty"`
}
func (m *Target) Reset() { *m = Target{} }
@@ -192,11 +208,11 @@
return nil
}
-func (m *Target) GetAttribute() string {
+func (m *Target) GetAttribute() []byte {
if m != nil {
return m.Attribute
}
- return ""
+ return nil
}
type NewSDKMessage struct {
@@ -1796,105 +1812,106 @@
func init() { proto.RegisterFile("sdk.proto", fileDescriptor_70decb0fb6f436df) }
var fileDescriptor_70decb0fb6f436df = []byte{
- // 1556 bytes of a gzipped FileDescriptorProto
+ // 1580 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcd, 0x6e, 0x1b, 0x47,
- 0x12, 0xf6, 0x90, 0x1c, 0x52, 0x2c, 0x51, 0x12, 0xdd, 0x36, 0x76, 0x07, 0xc2, 0x42, 0x20, 0x66,
- 0x17, 0x36, 0x77, 0xd7, 0xab, 0xb5, 0xb5, 0xc6, 0xe6, 0x6a, 0x4b, 0xb2, 0x61, 0x21, 0xb6, 0x2c,
- 0xb4, 0x05, 0x07, 0x39, 0x36, 0x67, 0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 0x00, 0x00, 0xff, 0xff, 0x6b, 0x6e, 0xc8, 0x6f, 0xff, 0x10, 0x00, 0x00,
}
func (m *Image) Marshal() (dAtA []byte, err error) {
@@ -1950,6 +1967,16 @@
i++
i = encodeVarintSdk(dAtA, i, uint64(len(m.Cname)))
i += copy(dAtA[i:], m.Cname)
+ }
+ if m.Channel != 0 {
+ dAtA[i] = 0x40
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.Channel))
+ }
+ if m.I64Timestamp != 0 {
+ dAtA[i] = 0x48
+ i++
+ i = encodeVarintSdk(dAtA, i, uint64(m.I64Timestamp))
}
return i, nil
}
@@ -3167,6 +3194,12 @@
if l > 0 {
n += 1 + l + sovSdk(uint64(l))
}
+ if m.Channel != 0 {
+ n += 1 + sovSdk(uint64(m.Channel))
+ }
+ if m.I64Timestamp != 0 {
+ n += 1 + sovSdk(uint64(m.I64Timestamp))
+ }
return n
}
@@ -4005,6 +4038,44 @@
}
m.Cname = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Channel", wireType)
+ }
+ m.Channel = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Channel |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field I64Timestamp", wireType)
+ }
+ m.I64Timestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowSdk
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.I64Timestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipSdk(dAtA[iNdEx:])
@@ -4202,7 +4273,7 @@
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Attribute", wireType)
}
- var stringLen uint64
+ var byteLen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSdk
@@ -4212,23 +4283,25 @@
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ byteLen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if byteLen < 0 {
return ErrInvalidLengthSdk
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + byteLen
if postIndex < 0 {
return ErrInvalidLengthSdk
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Attribute = string(dAtA[iNdEx:postIndex])
+ m.Attribute = append(m.Attribute[:0], dAtA[iNdEx:postIndex]...)
+ if m.Attribute == nil {
+ m.Attribute = []byte{}
+ }
iNdEx = postIndex
default:
iNdEx = preIndex
--
Gitblit v1.8.0