From f959aecb5d1bb681269d77b331db0ad5895c5d78 Mon Sep 17 00:00:00 2001
From: 554325746@qq.com <554325746@qq.com>
Date: 星期三, 26 六月 2019 16:08:13 +0800
Subject: [PATCH] add recvmsg

---
 commsg.pb.go   | 1412 +++++++++
 commsg.proto   |   30 
 protomsg.proto |   20 
 protomsg.pb.go | 7441 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 8,883 insertions(+), 20 deletions(-)

diff --git a/commsg.pb.go b/commsg.pb.go
new file mode 100644
index 0000000..636c59b
--- /dev/null
+++ b/commsg.pb.go
@@ -0,0 +1,1412 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: commsg.proto
+
+package protomsg
+
+import (
+	fmt "fmt"
+	proto "github.com/gogo/protobuf/proto"
+	io "io"
+	math "math"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
+
+type SdkmsgWithTask struct {
+	Sdkid   string `protobuf:"bytes,1,opt,name=sdkid,proto3" json:"sdkid,omitempty"`
+	Sdktype string `protobuf:"bytes,2,opt,name=sdktype,proto3" json:"sdktype,omitempty"`
+	SdkName string `protobuf:"bytes,3,opt,name=sdkName,proto3" json:"sdkName,omitempty"`
+	Sdkdata []byte `protobuf:"bytes,4,opt,name=sdkdata,proto3" json:"sdkdata,omitempty"`
+}
+
+func (m *SdkmsgWithTask) Reset()         { *m = SdkmsgWithTask{} }
+func (m *SdkmsgWithTask) String() string { return proto.CompactTextString(m) }
+func (*SdkmsgWithTask) ProtoMessage()    {}
+func (*SdkmsgWithTask) Descriptor() ([]byte, []int) {
+	return fileDescriptor_968fba5e415d8aac, []int{0}
+}
+func (m *SdkmsgWithTask) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *SdkmsgWithTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_SdkmsgWithTask.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *SdkmsgWithTask) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_SdkmsgWithTask.Merge(m, src)
+}
+func (m *SdkmsgWithTask) XXX_Size() int {
+	return m.Size()
+}
+func (m *SdkmsgWithTask) XXX_DiscardUnknown() {
+	xxx_messageInfo_SdkmsgWithTask.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkmsgWithTask proto.InternalMessageInfo
+
+func (m *SdkmsgWithTask) GetSdkid() string {
+	if m != nil {
+		return m.Sdkid
+	}
+	return ""
+}
+
+func (m *SdkmsgWithTask) GetSdktype() string {
+	if m != nil {
+		return m.Sdktype
+	}
+	return ""
+}
+
+func (m *SdkmsgWithTask) GetSdkName() string {
+	if m != nil {
+		return m.SdkName
+	}
+	return ""
+}
+
+func (m *SdkmsgWithTask) GetSdkdata() []byte {
+	if m != nil {
+		return m.Sdkdata
+	}
+	return nil
+}
+
+type TaskLabel struct {
+	Taskid   string            `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
+	Taskname string            `protobuf:"bytes,2,opt,name=taskname,proto3" json:"taskname,omitempty"`
+	Sdkinfos []*SdkmsgWithTask `protobuf:"bytes,3,rep,name=sdkinfos,proto3" json:"sdkinfos,omitempty"`
+	Index    int32             `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
+}
+
+func (m *TaskLabel) Reset()         { *m = TaskLabel{} }
+func (m *TaskLabel) String() string { return proto.CompactTextString(m) }
+func (*TaskLabel) ProtoMessage()    {}
+func (*TaskLabel) Descriptor() ([]byte, []int) {
+	return fileDescriptor_968fba5e415d8aac, []int{1}
+}
+func (m *TaskLabel) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *TaskLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_TaskLabel.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *TaskLabel) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_TaskLabel.Merge(m, src)
+}
+func (m *TaskLabel) XXX_Size() int {
+	return m.Size()
+}
+func (m *TaskLabel) XXX_DiscardUnknown() {
+	xxx_messageInfo_TaskLabel.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TaskLabel proto.InternalMessageInfo
+
+func (m *TaskLabel) GetTaskid() string {
+	if m != nil {
+		return m.Taskid
+	}
+	return ""
+}
+
+func (m *TaskLabel) GetTaskname() string {
+	if m != nil {
+		return m.Taskname
+	}
+	return ""
+}
+
+func (m *TaskLabel) GetSdkinfos() []*SdkmsgWithTask {
+	if m != nil {
+		return m.Sdkinfos
+	}
+	return nil
+}
+
+func (m *TaskLabel) GetIndex() int32 {
+	if m != nil {
+		return m.Index
+	}
+	return 0
+}
+
+type SdkMessage struct {
+	Cid     string     `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
+	Caddr   string     `protobuf:"bytes,2,opt,name=caddr,proto3" json:"caddr,omitempty"`
+	Tasklab *TaskLabel `protobuf:"bytes,3,opt,name=tasklab,proto3" json:"tasklab,omitempty"`
+	Data    []byte     `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
+}
+
+func (m *SdkMessage) Reset()         { *m = SdkMessage{} }
+func (m *SdkMessage) String() string { return proto.CompactTextString(m) }
+func (*SdkMessage) ProtoMessage()    {}
+func (*SdkMessage) Descriptor() ([]byte, []int) {
+	return fileDescriptor_968fba5e415d8aac, []int{2}
+}
+func (m *SdkMessage) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *SdkMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_SdkMessage.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *SdkMessage) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_SdkMessage.Merge(m, src)
+}
+func (m *SdkMessage) XXX_Size() int {
+	return m.Size()
+}
+func (m *SdkMessage) XXX_DiscardUnknown() {
+	xxx_messageInfo_SdkMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkMessage proto.InternalMessageInfo
+
+func (m *SdkMessage) GetCid() string {
+	if m != nil {
+		return m.Cid
+	}
+	return ""
+}
+
+func (m *SdkMessage) GetCaddr() string {
+	if m != nil {
+		return m.Caddr
+	}
+	return ""
+}
+
+func (m *SdkMessage) GetTasklab() *TaskLabel {
+	if m != nil {
+		return m.Tasklab
+	}
+	return nil
+}
+
+func (m *SdkMessage) GetData() []byte {
+	if m != nil {
+		return m.Data
+	}
+	return nil
+}
+
+type Recvmsg struct {
+	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	Addr    string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
+	Picdata []byte `protobuf:"bytes,3,opt,name=picdata,proto3" json:"picdata,omitempty"`
+}
+
+func (m *Recvmsg) Reset()         { *m = Recvmsg{} }
+func (m *Recvmsg) String() string { return proto.CompactTextString(m) }
+func (*Recvmsg) ProtoMessage()    {}
+func (*Recvmsg) Descriptor() ([]byte, []int) {
+	return fileDescriptor_968fba5e415d8aac, []int{3}
+}
+func (m *Recvmsg) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Recvmsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Recvmsg.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Recvmsg) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Recvmsg.Merge(m, src)
+}
+func (m *Recvmsg) XXX_Size() int {
+	return m.Size()
+}
+func (m *Recvmsg) XXX_DiscardUnknown() {
+	xxx_messageInfo_Recvmsg.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Recvmsg proto.InternalMessageInfo
+
+func (m *Recvmsg) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *Recvmsg) GetAddr() string {
+	if m != nil {
+		return m.Addr
+	}
+	return ""
+}
+
+func (m *Recvmsg) GetPicdata() []byte {
+	if m != nil {
+		return m.Picdata
+	}
+	return nil
+}
+
+func init() {
+	proto.RegisterType((*SdkmsgWithTask)(nil), "protomsg.SdkmsgWithTask")
+	proto.RegisterType((*TaskLabel)(nil), "protomsg.TaskLabel")
+	proto.RegisterType((*SdkMessage)(nil), "protomsg.SdkMessage")
+	proto.RegisterType((*Recvmsg)(nil), "protomsg.recvmsg")
+}
+
+func init() { proto.RegisterFile("commsg.proto", fileDescriptor_968fba5e415d8aac) }
+
+var fileDescriptor_968fba5e415d8aac = []byte{
+	// 322 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xbf, 0x4e, 0xc3, 0x30,
+	0x10, 0xc6, 0xeb, 0xa6, 0x7f, 0xaf, 0x55, 0x85, 0x0c, 0x42, 0x16, 0x83, 0x55, 0x65, 0xea, 0x42,
+	0x87, 0xc2, 0x13, 0xb0, 0xb0, 0x00, 0x43, 0x8a, 0xc4, 0xec, 0xc4, 0x26, 0x44, 0xa9, 0x93, 0x28,
+	0xb6, 0xf8, 0xf3, 0x0c, 0x2c, 0x3c, 0x16, 0x63, 0x47, 0x46, 0x94, 0xbc, 0x08, 0xb2, 0x93, 0xb8,
+	0x65, 0xca, 0xfd, 0x72, 0xe7, 0xfb, 0xbe, 0xef, 0x60, 0x1e, 0xe5, 0x52, 0xaa, 0x78, 0x5d, 0x94,
+	0xb9, 0xce, 0xf1, 0xc4, 0x7e, 0xa4, 0x8a, 0x7d, 0x0d, 0x8b, 0x2d, 0x4f, 0xa5, 0x8a, 0x9f, 0x12,
+	0xfd, 0xf2, 0xc8, 0x54, 0x8a, 0xcf, 0x60, 0xa8, 0x78, 0x9a, 0x70, 0x82, 0x96, 0x68, 0x35, 0x0d,
+	0x1a, 0xc0, 0x04, 0xc6, 0x8a, 0xa7, 0xfa, 0xa3, 0x10, 0xa4, 0x6f, 0xff, 0x77, 0xd8, 0x76, 0x1e,
+	0x98, 0x14, 0xc4, 0x73, 0x1d, 0x83, 0x6d, 0x87, 0x33, 0xcd, 0xc8, 0x60, 0x89, 0x56, 0xf3, 0xa0,
+	0x43, 0xff, 0x13, 0xc1, 0xd4, 0x88, 0xdd, 0xb1, 0x50, 0xec, 0xf0, 0x39, 0x8c, 0x34, 0x53, 0x07,
+	0xc9, 0x96, 0xf0, 0x05, 0x4c, 0x4c, 0x95, 0x99, 0xd5, 0x8d, 0xa8, 0x63, 0x7c, 0x0d, 0x13, 0x63,
+	0x2c, 0x7b, 0xce, 0x15, 0xf1, 0x96, 0xde, 0x6a, 0xb6, 0x21, 0xeb, 0x2e, 0xd4, 0xfa, 0x7f, 0xa2,
+	0xc0, 0x4d, 0x9a, 0x6c, 0x49, 0xc6, 0xc5, 0xbb, 0xf5, 0x33, 0x0c, 0x1a, 0xf0, 0xdf, 0x00, 0xb6,
+	0x3c, 0xbd, 0x17, 0x4a, 0xb1, 0x58, 0xe0, 0x13, 0xf0, 0x22, 0x67, 0xc5, 0x94, 0xe6, 0x55, 0xc4,
+	0x38, 0x2f, 0x5b, 0x13, 0x0d, 0xe0, 0x4b, 0x18, 0x1b, 0x37, 0x3b, 0x16, 0xda, 0xdc, 0xb3, 0xcd,
+	0xe9, 0xc1, 0x80, 0xcb, 0x16, 0x74, 0x33, 0x18, 0xc3, 0xe0, 0xe8, 0x12, 0xb6, 0xf6, 0x6f, 0x61,
+	0x5c, 0x8a, 0xe8, 0x55, 0xaa, 0x18, 0x2f, 0xa0, 0xef, 0x44, 0xfb, 0x09, 0x37, 0xe3, 0x47, 0x92,
+	0xb6, 0x36, 0xf7, 0x2c, 0x92, 0xc8, 0x6e, 0xf1, 0x9a, 0x7b, 0xb6, 0x78, 0x43, 0xbe, 0x2b, 0x8a,
+	0xf6, 0x15, 0x45, 0xbf, 0x15, 0x45, 0x5f, 0x35, 0xed, 0xed, 0x6b, 0xda, 0xfb, 0xa9, 0x69, 0x2f,
+	0x1c, 0x59, 0x4f, 0x57, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x63, 0x72, 0x18, 0x00, 0x02,
+	0x00, 0x00,
+}
+
+func (m *SdkmsgWithTask) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *SdkmsgWithTask) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Sdkid) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Sdkid)))
+		i += copy(dAtA[i:], m.Sdkid)
+	}
+	if len(m.Sdktype) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Sdktype)))
+		i += copy(dAtA[i:], m.Sdktype)
+	}
+	if len(m.SdkName) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.SdkName)))
+		i += copy(dAtA[i:], m.SdkName)
+	}
+	if len(m.Sdkdata) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Sdkdata)))
+		i += copy(dAtA[i:], m.Sdkdata)
+	}
+	return i, nil
+}
+
+func (m *TaskLabel) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *TaskLabel) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Taskid) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Taskid)))
+		i += copy(dAtA[i:], m.Taskid)
+	}
+	if len(m.Taskname) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Taskname)))
+		i += copy(dAtA[i:], m.Taskname)
+	}
+	if len(m.Sdkinfos) > 0 {
+		for _, msg := range m.Sdkinfos {
+			dAtA[i] = 0x1a
+			i++
+			i = encodeVarintCommsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	if m.Index != 0 {
+		dAtA[i] = 0x20
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(m.Index))
+	}
+	return i, nil
+}
+
+func (m *SdkMessage) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *SdkMessage) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Cid) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Cid)))
+		i += copy(dAtA[i:], m.Cid)
+	}
+	if len(m.Caddr) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Caddr)))
+		i += copy(dAtA[i:], m.Caddr)
+	}
+	if m.Tasklab != nil {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(m.Tasklab.Size()))
+		n1, err1 := m.Tasklab.MarshalTo(dAtA[i:])
+		if err1 != nil {
+			return 0, err1
+		}
+		i += n1
+	}
+	if len(m.Data) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Data)))
+		i += copy(dAtA[i:], m.Data)
+	}
+	return i, nil
+}
+
+func (m *Recvmsg) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Recvmsg) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.Addr) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Addr)))
+		i += copy(dAtA[i:], m.Addr)
+	}
+	if len(m.Picdata) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintCommsg(dAtA, i, uint64(len(m.Picdata)))
+		i += copy(dAtA[i:], m.Picdata)
+	}
+	return i, nil
+}
+
+func encodeVarintCommsg(dAtA []byte, offset int, v uint64) int {
+	for v >= 1<<7 {
+		dAtA[offset] = uint8(v&0x7f | 0x80)
+		v >>= 7
+		offset++
+	}
+	dAtA[offset] = uint8(v)
+	return offset + 1
+}
+func (m *SdkmsgWithTask) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Sdkid)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Sdktype)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.SdkName)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Sdkdata)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	return n
+}
+
+func (m *TaskLabel) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Taskid)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Taskname)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	if len(m.Sdkinfos) > 0 {
+		for _, e := range m.Sdkinfos {
+			l = e.Size()
+			n += 1 + l + sovCommsg(uint64(l))
+		}
+	}
+	if m.Index != 0 {
+		n += 1 + sovCommsg(uint64(m.Index))
+	}
+	return n
+}
+
+func (m *SdkMessage) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Cid)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Caddr)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	if m.Tasklab != nil {
+		l = m.Tasklab.Size()
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Data)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	return n
+}
+
+func (m *Recvmsg) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Addr)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	l = len(m.Picdata)
+	if l > 0 {
+		n += 1 + l + sovCommsg(uint64(l))
+	}
+	return n
+}
+
+func sovCommsg(x uint64) (n int) {
+	for {
+		n++
+		x >>= 7
+		if x == 0 {
+			break
+		}
+	}
+	return n
+}
+func sozCommsg(x uint64) (n int) {
+	return sovCommsg(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *SdkmsgWithTask) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowCommsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: SdkmsgWithTask: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: SdkmsgWithTask: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sdkid", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Sdkid = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sdktype", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Sdktype = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkName", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SdkName = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sdkdata", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Sdkdata = append(m.Sdkdata[:0], dAtA[iNdEx:postIndex]...)
+			if m.Sdkdata == nil {
+				m.Sdkdata = []byte{}
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipCommsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *TaskLabel) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowCommsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: TaskLabel: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: TaskLabel: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Taskid = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Taskname", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Taskname = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sdkinfos", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Sdkinfos = append(m.Sdkinfos, &SdkmsgWithTask{})
+			if err := m.Sdkinfos[len(m.Sdkinfos)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 4:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
+			}
+			m.Index = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Index |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		default:
+			iNdEx = preIndex
+			skippy, err := skipCommsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *SdkMessage) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowCommsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: SdkMessage: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: SdkMessage: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Cid = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Caddr", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Caddr = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Tasklab", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			if m.Tasklab == nil {
+				m.Tasklab = &TaskLabel{}
+			}
+			if err := m.Tasklab.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
+			if m.Data == nil {
+				m.Data = []byte{}
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipCommsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Recvmsg) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowCommsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: recvmsg: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: recvmsg: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Addr = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Picdata", wireType)
+			}
+			var byteLen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				byteLen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if byteLen < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			postIndex := iNdEx + byteLen
+			if postIndex < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Picdata = append(m.Picdata[:0], dAtA[iNdEx:postIndex]...)
+			if m.Picdata == nil {
+				m.Picdata = []byte{}
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipCommsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthCommsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func skipCommsg(dAtA []byte) (n int, err error) {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return 0, ErrIntOverflowCommsg
+			}
+			if iNdEx >= l {
+				return 0, io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= (uint64(b) & 0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		wireType := int(wire & 0x7)
+		switch wireType {
+		case 0:
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return 0, ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return 0, io.ErrUnexpectedEOF
+				}
+				iNdEx++
+				if dAtA[iNdEx-1] < 0x80 {
+					break
+				}
+			}
+			return iNdEx, nil
+		case 1:
+			iNdEx += 8
+			return iNdEx, nil
+		case 2:
+			var length int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return 0, ErrIntOverflowCommsg
+				}
+				if iNdEx >= l {
+					return 0, io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				length |= (int(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if length < 0 {
+				return 0, ErrInvalidLengthCommsg
+			}
+			iNdEx += length
+			if iNdEx < 0 {
+				return 0, ErrInvalidLengthCommsg
+			}
+			return iNdEx, nil
+		case 3:
+			for {
+				var innerWire uint64
+				var start int = iNdEx
+				for shift := uint(0); ; shift += 7 {
+					if shift >= 64 {
+						return 0, ErrIntOverflowCommsg
+					}
+					if iNdEx >= l {
+						return 0, io.ErrUnexpectedEOF
+					}
+					b := dAtA[iNdEx]
+					iNdEx++
+					innerWire |= (uint64(b) & 0x7F) << shift
+					if b < 0x80 {
+						break
+					}
+				}
+				innerWireType := int(innerWire & 0x7)
+				if innerWireType == 4 {
+					break
+				}
+				next, err := skipCommsg(dAtA[start:])
+				if err != nil {
+					return 0, err
+				}
+				iNdEx = start + next
+				if iNdEx < 0 {
+					return 0, ErrInvalidLengthCommsg
+				}
+			}
+			return iNdEx, nil
+		case 4:
+			return iNdEx, nil
+		case 5:
+			iNdEx += 4
+			return iNdEx, nil
+		default:
+			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+		}
+	}
+	panic("unreachable")
+}
+
+var (
+	ErrInvalidLengthCommsg = fmt.Errorf("proto: negative length found during unmarshaling")
+	ErrIntOverflowCommsg   = fmt.Errorf("proto: integer overflow")
+)
diff --git a/commsg.proto b/commsg.proto
new file mode 100644
index 0000000..672b601
--- /dev/null
+++ b/commsg.proto
@@ -0,0 +1,30 @@
+syntax="proto3";
+
+package protomsg;
+
+message SdkmsgWithTask {
+    string sdkid = 1;
+    string sdktype = 2;
+    string sdkName = 3;
+    bytes  sdkdata = 4;
+}
+
+message TaskLabel {
+	string taskid = 1;
+    string taskname = 2;
+	repeated SdkmsgWithTask sdkinfos = 3;
+	int32 index = 4 ;
+}
+
+message SdkMessage {
+	string    cid = 1;
+    string    caddr = 2;
+	TaskLabel tasklab =3 ;
+	bytes	  data = 4;
+}
+
+message recvmsg {
+    string  id   = 1;
+    string  addr = 2;
+    bytes   picdata = 3;
+}
diff --git a/protomsg.pb.go b/protomsg.pb.go
new file mode 100644
index 0000000..390ddf5
--- /dev/null
+++ b/protomsg.pb.go
@@ -0,0 +1,7441 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: protomsg.proto
+
+package protomsg
+
+import (
+	encoding_binary "encoding/binary"
+	fmt "fmt"
+	proto "github.com/gogo/protobuf/proto"
+	io "io"
+	math "math"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
+
+//TableChanged enum
+type TableChanged int32
+
+const (
+	TableChanged_T_Camera         TableChanged = 0
+	TableChanged_T_CameraTask     TableChanged = 1
+	TableChanged_T_CameraTaskArgs TableChanged = 2
+	TableChanged_T_Task           TableChanged = 3
+	TableChanged_T_TaskSdk        TableChanged = 4
+	TableChanged_T_TaskSdkRule    TableChanged = 5
+	TableChanged_T_Sdk            TableChanged = 6
+)
+
+var TableChanged_name = map[int32]string{
+	0: "T_Camera",
+	1: "T_CameraTask",
+	2: "T_CameraTaskArgs",
+	3: "T_Task",
+	4: "T_TaskSdk",
+	5: "T_TaskSdkRule",
+	6: "T_Sdk",
+}
+
+var TableChanged_value = map[string]int32{
+	"T_Camera":         0,
+	"T_CameraTask":     1,
+	"T_CameraTaskArgs": 2,
+	"T_Task":           3,
+	"T_TaskSdk":        4,
+	"T_TaskSdkRule":    5,
+	"T_Sdk":            6,
+}
+
+func (x TableChanged) String() string {
+	return proto.EnumName(TableChanged_name, int32(x))
+}
+
+func (TableChanged) EnumDescriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{0}
+}
+
+type DbAction int32
+
+const (
+	DbAction_Insert DbAction = 0
+	DbAction_Update DbAction = 1
+	DbAction_Delete DbAction = 2
+)
+
+var DbAction_name = map[int32]string{
+	0: "Insert",
+	1: "Update",
+	2: "Delete",
+}
+
+var DbAction_value = map[string]int32{
+	"Insert": 0,
+	"Update": 1,
+	"Delete": 2,
+}
+
+func (x DbAction) String() string {
+	return proto.EnumName(DbAction_name, int32(x))
+}
+
+func (DbAction) EnumDescriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{1}
+}
+
+//Area缁撴瀯浣�
+type Area struct {
+	Id       int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+	Parentid int32  `protobuf:"varint,2,opt,name=parentid,proto3" json:"parentid,omitempty"`
+	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
+}
+
+func (m *Area) Reset()         { *m = Area{} }
+func (m *Area) String() string { return proto.CompactTextString(m) }
+func (*Area) ProtoMessage()    {}
+func (*Area) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{0}
+}
+func (m *Area) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Area) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Area.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Area) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Area.Merge(m, src)
+}
+func (m *Area) XXX_Size() int {
+	return m.Size()
+}
+func (m *Area) XXX_DiscardUnknown() {
+	xxx_messageInfo_Area.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Area proto.InternalMessageInfo
+
+func (m *Area) GetId() int32 {
+	if m != nil {
+		return m.Id
+	}
+	return 0
+}
+
+func (m *Area) GetParentid() int32 {
+	if m != nil {
+		return m.Parentid
+	}
+	return 0
+}
+
+func (m *Area) GetName() string {
+	if m != nil {
+		return m.Name
+	}
+	return ""
+}
+
+//Camera缁撴瀯浣�
+type Camera struct {
+	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+	Type        int32   `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
+	Addr        string  `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
+	Areaid      int32   `protobuf:"varint,5,opt,name=areaid,proto3" json:"areaid,omitempty"`
+	Longitude   float32 `protobuf:"fixed32,6,opt,name=longitude,proto3" json:"longitude,omitempty"`
+	Latitude    float32 `protobuf:"fixed32,7,opt,name=latitude,proto3" json:"latitude,omitempty"`
+	Rtsp        string  `protobuf:"bytes,8,opt,name=rtsp,proto3" json:"rtsp,omitempty"`
+	Ip          string  `protobuf:"bytes,9,opt,name=ip,proto3" json:"ip,omitempty"`
+	Port        int32   `protobuf:"varint,10,opt,name=port,proto3" json:"port,omitempty"`
+	Username    string  `protobuf:"bytes,11,opt,name=username,proto3" json:"username,omitempty"`
+	Password    string  `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"`
+	Brand       string  `protobuf:"bytes,13,opt,name=brand,proto3" json:"brand,omitempty"`
+	Reserved    string  `protobuf:"bytes,14,opt,name=reserved,proto3" json:"reserved,omitempty"`
+	IsRunning   bool    `protobuf:"varint,15,opt,name=is_running,json=isRunning,proto3" json:"is_running,omitempty"`
+	RunEnable   bool    `protobuf:"varint,16,opt,name=run_enable,json=runEnable,proto3" json:"run_enable,omitempty"`
+	RunType     int32   `protobuf:"varint,17,opt,name=run_type,json=runType,proto3" json:"run_type,omitempty"`
+	RunServerId string  `protobuf:"bytes,18,opt,name=run_server_id,json=runServerId,proto3" json:"run_server_id,omitempty"`
+}
+
+func (m *Camera) Reset()         { *m = Camera{} }
+func (m *Camera) String() string { return proto.CompactTextString(m) }
+func (*Camera) ProtoMessage()    {}
+func (*Camera) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{1}
+}
+func (m *Camera) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Camera) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Camera.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Camera) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Camera.Merge(m, src)
+}
+func (m *Camera) XXX_Size() int {
+	return m.Size()
+}
+func (m *Camera) XXX_DiscardUnknown() {
+	xxx_messageInfo_Camera.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Camera proto.InternalMessageInfo
+
+func (m *Camera) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *Camera) GetName() string {
+	if m != nil {
+		return m.Name
+	}
+	return ""
+}
+
+func (m *Camera) GetType() int32 {
+	if m != nil {
+		return m.Type
+	}
+	return 0
+}
+
+func (m *Camera) GetAddr() string {
+	if m != nil {
+		return m.Addr
+	}
+	return ""
+}
+
+func (m *Camera) GetAreaid() int32 {
+	if m != nil {
+		return m.Areaid
+	}
+	return 0
+}
+
+func (m *Camera) GetLongitude() float32 {
+	if m != nil {
+		return m.Longitude
+	}
+	return 0
+}
+
+func (m *Camera) GetLatitude() float32 {
+	if m != nil {
+		return m.Latitude
+	}
+	return 0
+}
+
+func (m *Camera) GetRtsp() string {
+	if m != nil {
+		return m.Rtsp
+	}
+	return ""
+}
+
+func (m *Camera) GetIp() string {
+	if m != nil {
+		return m.Ip
+	}
+	return ""
+}
+
+func (m *Camera) GetPort() int32 {
+	if m != nil {
+		return m.Port
+	}
+	return 0
+}
+
+func (m *Camera) GetUsername() string {
+	if m != nil {
+		return m.Username
+	}
+	return ""
+}
+
+func (m *Camera) GetPassword() string {
+	if m != nil {
+		return m.Password
+	}
+	return ""
+}
+
+func (m *Camera) GetBrand() string {
+	if m != nil {
+		return m.Brand
+	}
+	return ""
+}
+
+func (m *Camera) GetReserved() string {
+	if m != nil {
+		return m.Reserved
+	}
+	return ""
+}
+
+func (m *Camera) GetIsRunning() bool {
+	if m != nil {
+		return m.IsRunning
+	}
+	return false
+}
+
+func (m *Camera) GetRunEnable() bool {
+	if m != nil {
+		return m.RunEnable
+	}
+	return false
+}
+
+func (m *Camera) GetRunType() int32 {
+	if m != nil {
+		return m.RunType
+	}
+	return 0
+}
+
+func (m *Camera) GetRunServerId() string {
+	if m != nil {
+		return m.RunServerId
+	}
+	return ""
+}
+
+//鎽勫儚鏈虹殑浠诲姟淇℃伅
+type CameraAndTaskInfo struct {
+	Camera *Camera `protobuf:"bytes,1,opt,name=camera,proto3" json:"camera,omitempty"`
+	Tasks  []*Task `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
+}
+
+func (m *CameraAndTaskInfo) Reset()         { *m = CameraAndTaskInfo{} }
+func (m *CameraAndTaskInfo) String() string { return proto.CompactTextString(m) }
+func (*CameraAndTaskInfo) ProtoMessage()    {}
+func (*CameraAndTaskInfo) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{2}
+}
+func (m *CameraAndTaskInfo) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *CameraAndTaskInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_CameraAndTaskInfo.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *CameraAndTaskInfo) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CameraAndTaskInfo.Merge(m, src)
+}
+func (m *CameraAndTaskInfo) XXX_Size() int {
+	return m.Size()
+}
+func (m *CameraAndTaskInfo) XXX_DiscardUnknown() {
+	xxx_messageInfo_CameraAndTaskInfo.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CameraAndTaskInfo proto.InternalMessageInfo
+
+func (m *CameraAndTaskInfo) GetCamera() *Camera {
+	if m != nil {
+		return m.Camera
+	}
+	return nil
+}
+
+func (m *CameraAndTaskInfo) GetTasks() []*Task {
+	if m != nil {
+		return m.Tasks
+	}
+	return nil
+}
+
+//Task缁撴瀯浣�
+type Task struct {
+	Taskid   string `protobuf:"bytes,1,opt,name=taskid,proto3" json:"taskid,omitempty"`
+	Taskname string `protobuf:"bytes,2,opt,name=taskname,proto3" json:"taskname,omitempty"`
+	CreateAt string `protobuf:"bytes,3,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"`
+	CreateBy string `protobuf:"bytes,4,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
+	UpdateAt string `protobuf:"bytes,5,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"`
+	Enable   bool   `protobuf:"varint,6,opt,name=enable,proto3" json:"enable,omitempty"`
+	IsAlarm  bool   `protobuf:"varint,7,opt,name=is_alarm,json=isAlarm,proto3" json:"is_alarm,omitempty"`
+	DelFlag  bool   `protobuf:"varint,8,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
+}
+
+func (m *Task) Reset()         { *m = Task{} }
+func (m *Task) String() string { return proto.CompactTextString(m) }
+func (*Task) ProtoMessage()    {}
+func (*Task) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{3}
+}
+func (m *Task) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Task.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Task) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Task.Merge(m, src)
+}
+func (m *Task) XXX_Size() int {
+	return m.Size()
+}
+func (m *Task) XXX_DiscardUnknown() {
+	xxx_messageInfo_Task.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Task proto.InternalMessageInfo
+
+func (m *Task) GetTaskid() string {
+	if m != nil {
+		return m.Taskid
+	}
+	return ""
+}
+
+func (m *Task) GetTaskname() string {
+	if m != nil {
+		return m.Taskname
+	}
+	return ""
+}
+
+func (m *Task) GetCreateAt() string {
+	if m != nil {
+		return m.CreateAt
+	}
+	return ""
+}
+
+func (m *Task) GetCreateBy() string {
+	if m != nil {
+		return m.CreateBy
+	}
+	return ""
+}
+
+func (m *Task) GetUpdateAt() string {
+	if m != nil {
+		return m.UpdateAt
+	}
+	return ""
+}
+
+func (m *Task) GetEnable() bool {
+	if m != nil {
+		return m.Enable
+	}
+	return false
+}
+
+func (m *Task) GetIsAlarm() bool {
+	if m != nil {
+		return m.IsAlarm
+	}
+	return false
+}
+
+func (m *Task) GetDelFlag() bool {
+	if m != nil {
+		return m.DelFlag
+	}
+	return false
+}
+
+type TaskSdkInfo struct {
+	Task *Task  `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
+	Sdks []*Sdk `protobuf:"bytes,2,rep,name=sdks,proto3" json:"sdks,omitempty"`
+}
+
+func (m *TaskSdkInfo) Reset()         { *m = TaskSdkInfo{} }
+func (m *TaskSdkInfo) String() string { return proto.CompactTextString(m) }
+func (*TaskSdkInfo) ProtoMessage()    {}
+func (*TaskSdkInfo) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{4}
+}
+func (m *TaskSdkInfo) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *TaskSdkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_TaskSdkInfo.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *TaskSdkInfo) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_TaskSdkInfo.Merge(m, src)
+}
+func (m *TaskSdkInfo) XXX_Size() int {
+	return m.Size()
+}
+func (m *TaskSdkInfo) XXX_DiscardUnknown() {
+	xxx_messageInfo_TaskSdkInfo.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TaskSdkInfo proto.InternalMessageInfo
+
+func (m *TaskSdkInfo) GetTask() *Task {
+	if m != nil {
+		return m.Task
+	}
+	return nil
+}
+
+func (m *TaskSdkInfo) GetSdks() []*Sdk {
+	if m != nil {
+		return m.Sdks
+	}
+	return nil
+}
+
+//鎽勫儚鏈轰换鍔�
+type CameraTask struct {
+	Id          string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	CameraId    string    `protobuf:"bytes,2,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+	TaskId      string    `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
+	TimeRule    []*DayCtl `protobuf:"bytes,4,rep,name=time_rule,json=timeRule,proto3" json:"time_rule,omitempty"`
+	ReactRule   string    `protobuf:"bytes,5,opt,name=react_rule,json=reactRule,proto3" json:"react_rule,omitempty"`
+	ReactDevice string    `protobuf:"bytes,6,opt,name=react_device,json=reactDevice,proto3" json:"react_device,omitempty"`
+	DelFlag     bool      `protobuf:"varint,7,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
+	UpdateFlag  bool      `protobuf:"varint,8,opt,name=update_flag,json=updateFlag,proto3" json:"update_flag,omitempty"`
+	Enable      bool      `protobuf:"varint,9,opt,name=enable,proto3" json:"enable,omitempty"`
+	Sort        int32     `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
+	IsFull      bool      `protobuf:"varint,11,opt,name=is_full,json=isFull,proto3" json:"is_full,omitempty"`
+	LinkTaskId  string    `protobuf:"bytes,12,opt,name=link_task_id,json=linkTaskId,proto3" json:"link_task_id,omitempty"`
+}
+
+func (m *CameraTask) Reset()         { *m = CameraTask{} }
+func (m *CameraTask) String() string { return proto.CompactTextString(m) }
+func (*CameraTask) ProtoMessage()    {}
+func (*CameraTask) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{5}
+}
+func (m *CameraTask) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *CameraTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_CameraTask.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *CameraTask) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CameraTask.Merge(m, src)
+}
+func (m *CameraTask) XXX_Size() int {
+	return m.Size()
+}
+func (m *CameraTask) XXX_DiscardUnknown() {
+	xxx_messageInfo_CameraTask.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CameraTask proto.InternalMessageInfo
+
+func (m *CameraTask) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *CameraTask) GetCameraId() string {
+	if m != nil {
+		return m.CameraId
+	}
+	return ""
+}
+
+func (m *CameraTask) GetTaskId() string {
+	if m != nil {
+		return m.TaskId
+	}
+	return ""
+}
+
+func (m *CameraTask) GetTimeRule() []*DayCtl {
+	if m != nil {
+		return m.TimeRule
+	}
+	return nil
+}
+
+func (m *CameraTask) GetReactRule() string {
+	if m != nil {
+		return m.ReactRule
+	}
+	return ""
+}
+
+func (m *CameraTask) GetReactDevice() string {
+	if m != nil {
+		return m.ReactDevice
+	}
+	return ""
+}
+
+func (m *CameraTask) GetDelFlag() bool {
+	if m != nil {
+		return m.DelFlag
+	}
+	return false
+}
+
+func (m *CameraTask) GetUpdateFlag() bool {
+	if m != nil {
+		return m.UpdateFlag
+	}
+	return false
+}
+
+func (m *CameraTask) GetEnable() bool {
+	if m != nil {
+		return m.Enable
+	}
+	return false
+}
+
+func (m *CameraTask) GetSort() int32 {
+	if m != nil {
+		return m.Sort
+	}
+	return 0
+}
+
+func (m *CameraTask) GetIsFull() bool {
+	if m != nil {
+		return m.IsFull
+	}
+	return false
+}
+
+func (m *CameraTask) GetLinkTaskId() string {
+	if m != nil {
+		return m.LinkTaskId
+	}
+	return ""
+}
+
+//鎽勫儚鏈哄竷闃茬殑鏃堕棿瑙勫垯锛屽彲浠ヨ缃涓�,鐢╥d鍏宠仈鍒板叿浣撶殑瑙勫垯閰嶇疆涓�
+type CameraTimerule struct {
+	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+	TimeRule string `protobuf:"bytes,3,opt,name=time_rule,json=timeRule,proto3" json:"time_rule,omitempty"`
+}
+
+func (m *CameraTimerule) Reset()         { *m = CameraTimerule{} }
+func (m *CameraTimerule) String() string { return proto.CompactTextString(m) }
+func (*CameraTimerule) ProtoMessage()    {}
+func (*CameraTimerule) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{6}
+}
+func (m *CameraTimerule) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *CameraTimerule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_CameraTimerule.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *CameraTimerule) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CameraTimerule.Merge(m, src)
+}
+func (m *CameraTimerule) XXX_Size() int {
+	return m.Size()
+}
+func (m *CameraTimerule) XXX_DiscardUnknown() {
+	xxx_messageInfo_CameraTimerule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CameraTimerule proto.InternalMessageInfo
+
+func (m *CameraTimerule) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *CameraTimerule) GetName() string {
+	if m != nil {
+		return m.Name
+	}
+	return ""
+}
+
+func (m *CameraTimerule) GetTimeRule() string {
+	if m != nil {
+		return m.TimeRule
+	}
+	return ""
+}
+
+//DayCtl struct   姣忓ぉ鐨勬椂闂存帶鍒惰鍒�
+type DayCtl struct {
+	Day       int32        `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"`
+	TimeRange []*TimeRange `protobuf:"bytes,2,rep,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
+}
+
+func (m *DayCtl) Reset()         { *m = DayCtl{} }
+func (m *DayCtl) String() string { return proto.CompactTextString(m) }
+func (*DayCtl) ProtoMessage()    {}
+func (*DayCtl) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{7}
+}
+func (m *DayCtl) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *DayCtl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_DayCtl.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *DayCtl) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_DayCtl.Merge(m, src)
+}
+func (m *DayCtl) XXX_Size() int {
+	return m.Size()
+}
+func (m *DayCtl) XXX_DiscardUnknown() {
+	xxx_messageInfo_DayCtl.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DayCtl proto.InternalMessageInfo
+
+func (m *DayCtl) GetDay() int32 {
+	if m != nil {
+		return m.Day
+	}
+	return 0
+}
+
+func (m *DayCtl) GetTimeRange() []*TimeRange {
+	if m != nil {
+		return m.TimeRange
+	}
+	return nil
+}
+
+//鏃堕棿璧峰鑼冨洿
+type TimeRange struct {
+	Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
+	End   string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
+}
+
+func (m *TimeRange) Reset()         { *m = TimeRange{} }
+func (m *TimeRange) String() string { return proto.CompactTextString(m) }
+func (*TimeRange) ProtoMessage()    {}
+func (*TimeRange) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{8}
+}
+func (m *TimeRange) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *TimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_TimeRange.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *TimeRange) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_TimeRange.Merge(m, src)
+}
+func (m *TimeRange) XXX_Size() int {
+	return m.Size()
+}
+func (m *TimeRange) XXX_DiscardUnknown() {
+	xxx_messageInfo_TimeRange.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TimeRange proto.InternalMessageInfo
+
+func (m *TimeRange) GetStart() string {
+	if m != nil {
+		return m.Start
+	}
+	return ""
+}
+
+func (m *TimeRange) GetEnd() string {
+	if m != nil {
+		return m.End
+	}
+	return ""
+}
+
+//Polygon struct
+type Polygon struct {
+	Id     string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	Name   string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+	Points []*Point `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
+}
+
+func (m *Polygon) Reset()         { *m = Polygon{} }
+func (m *Polygon) String() string { return proto.CompactTextString(m) }
+func (*Polygon) ProtoMessage()    {}
+func (*Polygon) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{9}
+}
+func (m *Polygon) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Polygon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Polygon.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Polygon) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Polygon.Merge(m, src)
+}
+func (m *Polygon) XXX_Size() int {
+	return m.Size()
+}
+func (m *Polygon) XXX_DiscardUnknown() {
+	xxx_messageInfo_Polygon.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Polygon proto.InternalMessageInfo
+
+func (m *Polygon) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *Polygon) GetName() string {
+	if m != nil {
+		return m.Name
+	}
+	return ""
+}
+
+func (m *Polygon) GetPoints() []*Point {
+	if m != nil {
+		return m.Points
+	}
+	return nil
+}
+
+type CameraTaskArgs struct {
+	CameraId string           `protobuf:"bytes,1,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+	TaskArgs []*TaskGroupArgs `protobuf:"bytes,2,rep,name=task_args,json=taskArgs,proto3" json:"task_args,omitempty"`
+}
+
+func (m *CameraTaskArgs) Reset()         { *m = CameraTaskArgs{} }
+func (m *CameraTaskArgs) String() string { return proto.CompactTextString(m) }
+func (*CameraTaskArgs) ProtoMessage()    {}
+func (*CameraTaskArgs) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{10}
+}
+func (m *CameraTaskArgs) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *CameraTaskArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_CameraTaskArgs.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *CameraTaskArgs) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CameraTaskArgs.Merge(m, src)
+}
+func (m *CameraTaskArgs) XXX_Size() int {
+	return m.Size()
+}
+func (m *CameraTaskArgs) XXX_DiscardUnknown() {
+	xxx_messageInfo_CameraTaskArgs.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CameraTaskArgs proto.InternalMessageInfo
+
+func (m *CameraTaskArgs) GetCameraId() string {
+	if m != nil {
+		return m.CameraId
+	}
+	return ""
+}
+
+func (m *CameraTaskArgs) GetTaskArgs() []*TaskGroupArgs {
+	if m != nil {
+		return m.TaskArgs
+	}
+	return nil
+}
+
+type TaskGroupArgs struct {
+	TaskId     string       `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
+	GroupRules []*GroupRule `protobuf:"bytes,2,rep,name=group_rules,json=groupRules,proto3" json:"group_rules,omitempty"`
+}
+
+func (m *TaskGroupArgs) Reset()         { *m = TaskGroupArgs{} }
+func (m *TaskGroupArgs) String() string { return proto.CompactTextString(m) }
+func (*TaskGroupArgs) ProtoMessage()    {}
+func (*TaskGroupArgs) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{11}
+}
+func (m *TaskGroupArgs) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *TaskGroupArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_TaskGroupArgs.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *TaskGroupArgs) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_TaskGroupArgs.Merge(m, src)
+}
+func (m *TaskGroupArgs) XXX_Size() int {
+	return m.Size()
+}
+func (m *TaskGroupArgs) XXX_DiscardUnknown() {
+	xxx_messageInfo_TaskGroupArgs.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TaskGroupArgs proto.InternalMessageInfo
+
+func (m *TaskGroupArgs) GetTaskId() string {
+	if m != nil {
+		return m.TaskId
+	}
+	return ""
+}
+
+func (m *TaskGroupArgs) GetGroupRules() []*GroupRule {
+	if m != nil {
+		return m.GroupRules
+	}
+	return nil
+}
+
+type GroupRule struct {
+	GroupId    string  `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
+	GroupText  string  `protobuf:"bytes,2,opt,name=group_text,json=groupText,proto3" json:"group_text,omitempty"`
+	AlarmLevel int32   `protobuf:"varint,3,opt,name=alarm_level,json=alarmLevel,proto3" json:"alarm_level,omitempty"`
+	Rules      []*Rule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
+}
+
+func (m *GroupRule) Reset()         { *m = GroupRule{} }
+func (m *GroupRule) String() string { return proto.CompactTextString(m) }
+func (*GroupRule) ProtoMessage()    {}
+func (*GroupRule) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{12}
+}
+func (m *GroupRule) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *GroupRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_GroupRule.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *GroupRule) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_GroupRule.Merge(m, src)
+}
+func (m *GroupRule) XXX_Size() int {
+	return m.Size()
+}
+func (m *GroupRule) XXX_DiscardUnknown() {
+	xxx_messageInfo_GroupRule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_GroupRule proto.InternalMessageInfo
+
+func (m *GroupRule) GetGroupId() string {
+	if m != nil {
+		return m.GroupId
+	}
+	return ""
+}
+
+func (m *GroupRule) GetGroupText() string {
+	if m != nil {
+		return m.GroupText
+	}
+	return ""
+}
+
+func (m *GroupRule) GetAlarmLevel() int32 {
+	if m != nil {
+		return m.AlarmLevel
+	}
+	return 0
+}
+
+func (m *GroupRule) GetRules() []*Rule {
+	if m != nil {
+		return m.Rules
+	}
+	return nil
+}
+
+type Rule struct {
+	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	CameraTaskId string `protobuf:"bytes,2,opt,name=camera_task_id,json=cameraTaskId,proto3" json:"camera_task_id,omitempty"`
+	CameraId     string `protobuf:"bytes,3,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+	PolygonId    string `protobuf:"bytes,4,opt,name=polygon_id,json=polygonId,proto3" json:"polygon_id,omitempty"`
+	SdkId        string `protobuf:"bytes,5,opt,name=sdk_id,json=sdkId,proto3" json:"sdk_id,omitempty"`
+	SdkArgAlias  string `protobuf:"bytes,6,opt,name=sdk_arg_alias,json=sdkArgAlias,proto3" json:"sdk_arg_alias,omitempty"`
+	Operator     string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"`
+	OperatorType string `protobuf:"bytes,8,opt,name=operator_type,json=operatorType,proto3" json:"operator_type,omitempty"`
+	SdkArgValue  string `protobuf:"bytes,9,opt,name=sdk_arg_value,json=sdkArgValue,proto3" json:"sdk_arg_value,omitempty"`
+	Sort         int32  `protobuf:"varint,10,opt,name=sort,proto3" json:"sort,omitempty"`
+	RuleWithPre  string `protobuf:"bytes,11,opt,name=rule_with_pre,json=ruleWithPre,proto3" json:"rule_with_pre,omitempty"`
+	GroupId      string `protobuf:"bytes,12,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
+}
+
+func (m *Rule) Reset()         { *m = Rule{} }
+func (m *Rule) String() string { return proto.CompactTextString(m) }
+func (*Rule) ProtoMessage()    {}
+func (*Rule) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{13}
+}
+func (m *Rule) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Rule.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Rule) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Rule.Merge(m, src)
+}
+func (m *Rule) XXX_Size() int {
+	return m.Size()
+}
+func (m *Rule) XXX_DiscardUnknown() {
+	xxx_messageInfo_Rule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Rule proto.InternalMessageInfo
+
+func (m *Rule) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *Rule) GetCameraTaskId() string {
+	if m != nil {
+		return m.CameraTaskId
+	}
+	return ""
+}
+
+func (m *Rule) GetCameraId() string {
+	if m != nil {
+		return m.CameraId
+	}
+	return ""
+}
+
+func (m *Rule) GetPolygonId() string {
+	if m != nil {
+		return m.PolygonId
+	}
+	return ""
+}
+
+func (m *Rule) GetSdkId() string {
+	if m != nil {
+		return m.SdkId
+	}
+	return ""
+}
+
+func (m *Rule) GetSdkArgAlias() string {
+	if m != nil {
+		return m.SdkArgAlias
+	}
+	return ""
+}
+
+func (m *Rule) GetOperator() string {
+	if m != nil {
+		return m.Operator
+	}
+	return ""
+}
+
+func (m *Rule) GetOperatorType() string {
+	if m != nil {
+		return m.OperatorType
+	}
+	return ""
+}
+
+func (m *Rule) GetSdkArgValue() string {
+	if m != nil {
+		return m.SdkArgValue
+	}
+	return ""
+}
+
+func (m *Rule) GetSort() int32 {
+	if m != nil {
+		return m.Sort
+	}
+	return 0
+}
+
+func (m *Rule) GetRuleWithPre() string {
+	if m != nil {
+		return m.RuleWithPre
+	}
+	return ""
+}
+
+func (m *Rule) GetGroupId() string {
+	if m != nil {
+		return m.GroupId
+	}
+	return ""
+}
+
+//Sdk struct
+type Sdk struct {
+	Id         string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	SdkType    string    `protobuf:"bytes,2,opt,name=sdk_type,json=sdkType,proto3" json:"sdk_type,omitempty"`
+	SdkName    string    `protobuf:"bytes,3,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
+	Args       []*SdkArg `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
+	Icon       string    `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
+	Url        string    `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
+	CreateTime string    `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
+	UpdateTime string    `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+	CreateBy   string    `protobuf:"bytes,9,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
+	Enable     bool      `protobuf:"varint,10,opt,name=enable,proto3" json:"enable,omitempty"`
+	DelFlag    int32     `protobuf:"varint,11,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
+}
+
+func (m *Sdk) Reset()         { *m = Sdk{} }
+func (m *Sdk) String() string { return proto.CompactTextString(m) }
+func (*Sdk) ProtoMessage()    {}
+func (*Sdk) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{14}
+}
+func (m *Sdk) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *Sdk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_Sdk.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *Sdk) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_Sdk.Merge(m, src)
+}
+func (m *Sdk) XXX_Size() int {
+	return m.Size()
+}
+func (m *Sdk) XXX_DiscardUnknown() {
+	xxx_messageInfo_Sdk.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Sdk proto.InternalMessageInfo
+
+func (m *Sdk) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *Sdk) GetSdkType() string {
+	if m != nil {
+		return m.SdkType
+	}
+	return ""
+}
+
+func (m *Sdk) GetSdkName() string {
+	if m != nil {
+		return m.SdkName
+	}
+	return ""
+}
+
+func (m *Sdk) GetArgs() []*SdkArg {
+	if m != nil {
+		return m.Args
+	}
+	return nil
+}
+
+func (m *Sdk) GetIcon() string {
+	if m != nil {
+		return m.Icon
+	}
+	return ""
+}
+
+func (m *Sdk) GetUrl() string {
+	if m != nil {
+		return m.Url
+	}
+	return ""
+}
+
+func (m *Sdk) GetCreateTime() string {
+	if m != nil {
+		return m.CreateTime
+	}
+	return ""
+}
+
+func (m *Sdk) GetUpdateTime() string {
+	if m != nil {
+		return m.UpdateTime
+	}
+	return ""
+}
+
+func (m *Sdk) GetCreateBy() string {
+	if m != nil {
+		return m.CreateBy
+	}
+	return ""
+}
+
+func (m *Sdk) GetEnable() bool {
+	if m != nil {
+		return m.Enable
+	}
+	return false
+}
+
+func (m *Sdk) GetDelFlag() int32 {
+	if m != nil {
+		return m.DelFlag
+	}
+	return 0
+}
+
+//SdkArg struct
+type SdkArg struct {
+	Alias string `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
+	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
+	Type  string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
+	Must  bool   `protobuf:"varint,4,opt,name=must,proto3" json:"must,omitempty"`
+	Unit  string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
+	Range string `protobuf:"bytes,6,opt,name=range,proto3" json:"range,omitempty"`
+	Sort  int32  `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"`
+}
+
+func (m *SdkArg) Reset()         { *m = SdkArg{} }
+func (m *SdkArg) String() string { return proto.CompactTextString(m) }
+func (*SdkArg) ProtoMessage()    {}
+func (*SdkArg) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{15}
+}
+func (m *SdkArg) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *SdkArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_SdkArg.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *SdkArg) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_SdkArg.Merge(m, src)
+}
+func (m *SdkArg) XXX_Size() int {
+	return m.Size()
+}
+func (m *SdkArg) XXX_DiscardUnknown() {
+	xxx_messageInfo_SdkArg.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SdkArg proto.InternalMessageInfo
+
+func (m *SdkArg) GetAlias() string {
+	if m != nil {
+		return m.Alias
+	}
+	return ""
+}
+
+func (m *SdkArg) GetName() string {
+	if m != nil {
+		return m.Name
+	}
+	return ""
+}
+
+func (m *SdkArg) GetType() string {
+	if m != nil {
+		return m.Type
+	}
+	return ""
+}
+
+func (m *SdkArg) GetMust() bool {
+	if m != nil {
+		return m.Must
+	}
+	return false
+}
+
+func (m *SdkArg) GetUnit() string {
+	if m != nil {
+		return m.Unit
+	}
+	return ""
+}
+
+func (m *SdkArg) GetRange() string {
+	if m != nil {
+		return m.Range
+	}
+	return ""
+}
+
+func (m *SdkArg) GetSort() int32 {
+	if m != nil {
+		return m.Sort
+	}
+	return 0
+}
+
+//publish db change message
+type DbChangeMessage struct {
+	Table  TableChanged `protobuf:"varint,1,opt,name=table,proto3,enum=protomsg.TableChanged" json:"table,omitempty"`
+	Id     string       `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
+	Action DbAction     `protobuf:"varint,3,opt,name=action,proto3,enum=protomsg.DbAction" json:"action,omitempty"`
+	Info   string       `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
+}
+
+func (m *DbChangeMessage) Reset()         { *m = DbChangeMessage{} }
+func (m *DbChangeMessage) String() string { return proto.CompactTextString(m) }
+func (*DbChangeMessage) ProtoMessage()    {}
+func (*DbChangeMessage) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{16}
+}
+func (m *DbChangeMessage) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *DbChangeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_DbChangeMessage.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *DbChangeMessage) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_DbChangeMessage.Merge(m, src)
+}
+func (m *DbChangeMessage) XXX_Size() int {
+	return m.Size()
+}
+func (m *DbChangeMessage) XXX_DiscardUnknown() {
+	xxx_messageInfo_DbChangeMessage.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DbChangeMessage proto.InternalMessageInfo
+
+func (m *DbChangeMessage) GetTable() TableChanged {
+	if m != nil {
+		return m.Table
+	}
+	return TableChanged_T_Camera
+}
+
+func (m *DbChangeMessage) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *DbChangeMessage) GetAction() DbAction {
+	if m != nil {
+		return m.Action
+	}
+	return DbAction_Insert
+}
+
+func (m *DbChangeMessage) GetInfo() string {
+	if m != nil {
+		return m.Info
+	}
+	return ""
+}
+
+type CameraPolygon struct {
+	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	CameraId      string `protobuf:"bytes,2,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"`
+	Name          string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
+	Polygon       string `protobuf:"bytes,4,opt,name=polygon,proto3" json:"polygon,omitempty"`
+	TriggerLine   string `protobuf:"bytes,5,opt,name=trigger_line,json=triggerLine,proto3" json:"trigger_line,omitempty"`
+	DirectionLine string `protobuf:"bytes,6,opt,name=direction_line,json=directionLine,proto3" json:"direction_line,omitempty"`
+	Type          string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
+	DefenceState  int32  `protobuf:"varint,8,opt,name=defence_state,json=defenceState,proto3" json:"defence_state,omitempty"`
+}
+
+func (m *CameraPolygon) Reset()         { *m = CameraPolygon{} }
+func (m *CameraPolygon) String() string { return proto.CompactTextString(m) }
+func (*CameraPolygon) ProtoMessage()    {}
+func (*CameraPolygon) Descriptor() ([]byte, []int) {
+	return fileDescriptor_32de24555f916688, []int{17}
+}
+func (m *CameraPolygon) XXX_Unmarshal(b []byte) error {
+	return m.Unmarshal(b)
+}
+func (m *CameraPolygon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	if deterministic {
+		return xxx_messageInfo_CameraPolygon.Marshal(b, m, deterministic)
+	} else {
+		b = b[:cap(b)]
+		n, err := m.MarshalTo(b)
+		if err != nil {
+			return nil, err
+		}
+		return b[:n], nil
+	}
+}
+func (m *CameraPolygon) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CameraPolygon.Merge(m, src)
+}
+func (m *CameraPolygon) XXX_Size() int {
+	return m.Size()
+}
+func (m *CameraPolygon) XXX_DiscardUnknown() {
+	xxx_messageInfo_CameraPolygon.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CameraPolygon proto.InternalMessageInfo
+
+func (m *CameraPolygon) GetId() string {
+	if m != nil {
+		return m.Id
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetCameraId() string {
+	if m != nil {
+		return m.CameraId
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetName() string {
+	if m != nil {
+		return m.Name
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetPolygon() string {
+	if m != nil {
+		return m.Polygon
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetTriggerLine() string {
+	if m != nil {
+		return m.TriggerLine
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetDirectionLine() string {
+	if m != nil {
+		return m.DirectionLine
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetType() string {
+	if m != nil {
+		return m.Type
+	}
+	return ""
+}
+
+func (m *CameraPolygon) GetDefenceState() int32 {
+	if m != nil {
+		return m.DefenceState
+	}
+	return 0
+}
+
+func init() {
+	proto.RegisterEnum("protomsg.TableChanged", TableChanged_name, TableChanged_value)
+	proto.RegisterEnum("protomsg.DbAction", DbAction_name, DbAction_value)
+	proto.RegisterType((*Area)(nil), "protomsg.Area")
+	proto.RegisterType((*Camera)(nil), "protomsg.Camera")
+	proto.RegisterType((*CameraAndTaskInfo)(nil), "protomsg.CameraAndTaskInfo")
+	proto.RegisterType((*Task)(nil), "protomsg.Task")
+	proto.RegisterType((*TaskSdkInfo)(nil), "protomsg.TaskSdkInfo")
+	proto.RegisterType((*CameraTask)(nil), "protomsg.CameraTask")
+	proto.RegisterType((*CameraTimerule)(nil), "protomsg.CameraTimerule")
+	proto.RegisterType((*DayCtl)(nil), "protomsg.DayCtl")
+	proto.RegisterType((*TimeRange)(nil), "protomsg.TimeRange")
+	proto.RegisterType((*Polygon)(nil), "protomsg.Polygon")
+	proto.RegisterType((*CameraTaskArgs)(nil), "protomsg.CameraTaskArgs")
+	proto.RegisterType((*TaskGroupArgs)(nil), "protomsg.TaskGroupArgs")
+	proto.RegisterType((*GroupRule)(nil), "protomsg.GroupRule")
+	proto.RegisterType((*Rule)(nil), "protomsg.Rule")
+	proto.RegisterType((*Sdk)(nil), "protomsg.Sdk")
+	proto.RegisterType((*SdkArg)(nil), "protomsg.SdkArg")
+	proto.RegisterType((*DbChangeMessage)(nil), "protomsg.DbChangeMessage")
+	proto.RegisterType((*CameraPolygon)(nil), "protomsg.CameraPolygon")
+}
+
+func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) }
+
+var fileDescriptor_32de24555f916688 = []byte{
+	// 1483 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xcd, 0x8e, 0x14, 0x47,
+	0x12, 0x9e, 0xea, 0xff, 0x8a, 0xfe, 0xa1, 0xc9, 0x65, 0xa1, 0x80, 0x65, 0x76, 0x28, 0x58, 0xed,
+	0x08, 0xed, 0x72, 0x18, 0x78, 0x81, 0x86, 0x59, 0x56, 0x2d, 0x61, 0x84, 0x6b, 0xc6, 0xf8, 0xe6,
+	0x52, 0x76, 0x67, 0x4e, 0x51, 0x9a, 0x9a, 0xaa, 0x56, 0x66, 0xd6, 0xc0, 0x1c, 0xfc, 0x06, 0x96,
+	0xec, 0xa3, 0x5f, 0xc1, 0x0f, 0x62, 0xc9, 0x47, 0x8e, 0xbe, 0xd9, 0x02, 0xc9, 0x17, 0xcb, 0xef,
+	0x60, 0x45, 0x64, 0x56, 0x75, 0x75, 0x83, 0x6d, 0x6e, 0x11, 0x5f, 0x44, 0x65, 0x46, 0x7e, 0xf1,
+	0x65, 0x64, 0xc1, 0x64, 0xa5, 0x0a, 0x53, 0x9c, 0xe9, 0xe4, 0x3e, 0x19, 0x6c, 0x50, 0xf9, 0x37,
+	0x60, 0xc1, 0xb5, 0xb4, 0x68, 0xf8, 0x04, 0x3a, 0x33, 0x25, 0x39, 0x9b, 0x40, 0x2b, 0x15, 0x81,
+	0xb7, 0xe7, 0xed, 0x77, 0xa3, 0x56, 0x2a, 0xd8, 0x0d, 0x18, 0xac, 0xb8, 0x92, 0xb9, 0x49, 0x45,
+	0xd0, 0x22, 0xb4, 0xf6, 0x19, 0x83, 0x4e, 0xce, 0xcf, 0x64, 0xd0, 0xde, 0xf3, 0xf6, 0xfd, 0x88,
+	0xec, 0xf0, 0xfb, 0x36, 0xf4, 0x1e, 0xf3, 0x33, 0xa9, 0x9a, 0x4b, 0xf9, 0xb4, 0x54, 0x95, 0xde,
+	0x5a, 0xa7, 0x23, 0x66, 0x2e, 0x56, 0x76, 0x89, 0x6e, 0x44, 0x36, 0x62, 0x5c, 0x08, 0x15, 0x74,
+	0x6c, 0x1e, 0xda, 0xec, 0x2a, 0xf4, 0xb8, 0x92, 0x3c, 0x15, 0x41, 0x97, 0x32, 0x9d, 0xc7, 0xfe,
+	0x01, 0x7e, 0x56, 0xe4, 0x49, 0x6a, 0x4a, 0x21, 0x83, 0xde, 0x9e, 0xb7, 0xdf, 0x8a, 0xd6, 0x00,
+	0x16, 0x9f, 0x71, 0x63, 0x83, 0x7d, 0x0a, 0xd6, 0x3e, 0xee, 0xa2, 0x8c, 0x5e, 0x05, 0x03, 0xbb,
+	0x0b, 0xda, 0x54, 0xf1, 0x2a, 0xf0, 0x5d, 0xc5, 0x2b, 0xcc, 0x59, 0x15, 0xca, 0x04, 0x60, 0xab,
+	0x43, 0x1b, 0xd7, 0x2c, 0xb5, 0x54, 0x74, 0x92, 0x21, 0x65, 0xd6, 0xbe, 0x25, 0x4b, 0xeb, 0x57,
+	0x85, 0x12, 0xc1, 0xc8, 0xc6, 0x2a, 0x9f, 0x5d, 0x81, 0xee, 0x42, 0xf1, 0x5c, 0x04, 0x63, 0x0a,
+	0x58, 0x07, 0xbf, 0x50, 0x52, 0x4b, 0x75, 0x2e, 0x45, 0x30, 0xb1, 0x5f, 0x54, 0x3e, 0xbb, 0x05,
+	0x90, 0xea, 0x58, 0x95, 0x79, 0x9e, 0xe6, 0x49, 0x70, 0x69, 0xcf, 0xdb, 0x1f, 0x44, 0x7e, 0xaa,
+	0x23, 0x0b, 0x60, 0x58, 0x95, 0x79, 0x2c, 0x73, 0xbe, 0xc8, 0x64, 0x30, 0xb5, 0x61, 0x55, 0xe6,
+	0xff, 0x23, 0x80, 0x5d, 0x87, 0x01, 0x86, 0x89, 0xdd, 0xcb, 0x54, 0x7f, 0x5f, 0x95, 0xf9, 0x31,
+	0x12, 0x1c, 0xc2, 0x18, 0x43, 0xb4, 0x8d, 0x8a, 0x53, 0x11, 0x30, 0xda, 0x79, 0xa8, 0xca, 0xfc,
+	0x88, 0xb0, 0xb9, 0x08, 0x97, 0x70, 0xd9, 0xb6, 0x71, 0x96, 0x8b, 0x63, 0xae, 0x4f, 0xe7, 0xf9,
+	0x49, 0xc1, 0xf6, 0xa1, 0xb7, 0x24, 0x90, 0xba, 0x3a, 0x3c, 0x98, 0xde, 0xaf, 0xb5, 0x65, 0x93,
+	0x23, 0x17, 0x67, 0x77, 0xa1, 0x6b, 0xb8, 0x3e, 0xd5, 0x41, 0x6b, 0xaf, 0xbd, 0x3f, 0x3c, 0x98,
+	0xac, 0x13, 0x71, 0xb1, 0xc8, 0x06, 0xc3, 0x9f, 0x3c, 0xe8, 0xa0, 0x8f, 0xed, 0x45, 0xa4, 0x96,
+	0x8b, 0xf3, 0x90, 0x1e, 0xb4, 0x1a, 0xb2, 0xa9, 0x7d, 0x76, 0x13, 0xfc, 0xa5, 0x92, 0xdc, 0xc8,
+	0x98, 0x1b, 0x27, 0xc1, 0x81, 0x05, 0x66, 0xa6, 0x11, 0x5c, 0x5c, 0x38, 0x21, 0xb9, 0xe0, 0xa3,
+	0x0b, 0x0c, 0x96, 0x2b, 0xe1, 0xbe, 0xec, 0xba, 0x1e, 0x12, 0x30, 0x33, 0x58, 0x8a, 0xa3, 0xb4,
+	0x47, 0x94, 0x3a, 0x0f, 0xf9, 0x4c, 0x75, 0xcc, 0x33, 0xae, 0xce, 0x48, 0x4b, 0x83, 0xa8, 0x9f,
+	0xea, 0x19, 0xba, 0x18, 0x12, 0x32, 0x8b, 0x4f, 0x32, 0x9e, 0x90, 0x9c, 0x06, 0x51, 0x5f, 0xc8,
+	0xec, 0x49, 0xc6, 0x93, 0xf0, 0x18, 0x86, 0x78, 0xc0, 0x23, 0x61, 0x09, 0x0c, 0xa1, 0x83, 0xf5,
+	0x3b, 0xfa, 0xb6, 0x59, 0xa1, 0x18, 0xbb, 0x0d, 0x1d, 0x2d, 0x6a, 0xe6, 0xc6, 0xeb, 0x9c, 0x23,
+	0x71, 0x1a, 0x51, 0x28, 0xfc, 0xa5, 0x05, 0x60, 0x09, 0x27, 0xf6, 0xb6, 0x2f, 0x1a, 0x1e, 0x9e,
+	0xa2, 0xb1, 0xbb, 0xb4, 0x78, 0x78, 0x02, 0xe6, 0x82, 0x5d, 0x83, 0x3e, 0x6e, 0x83, 0xa1, 0xf6,
+	0x9a, 0xeb, 0xb9, 0x60, 0xff, 0x05, 0xdf, 0xa4, 0x67, 0x32, 0x56, 0x65, 0x26, 0x83, 0x0e, 0x6d,
+	0xde, 0xe8, 0xef, 0x21, 0xbf, 0x78, 0x6c, 0xb2, 0x68, 0x80, 0x29, 0x51, 0x99, 0x49, 0x92, 0x9f,
+	0xe4, 0x4b, 0x63, 0xf3, 0x2d, 0x8b, 0x3e, 0x21, 0x14, 0xbe, 0x0d, 0x23, 0x1b, 0x16, 0xf2, 0x3c,
+	0x5d, 0x5a, 0x32, 0x51, 0x62, 0x88, 0x1d, 0x12, 0xb4, 0x41, 0x5b, 0x7f, 0x83, 0x36, 0xf6, 0x4f,
+	0x18, 0xba, 0x0e, 0x35, 0x48, 0x05, 0x0b, 0x51, 0xc2, 0xba, 0x4b, 0xfe, 0x46, 0x97, 0x18, 0x74,
+	0x74, 0xe3, 0xc6, 0xa2, 0x8d, 0x27, 0x4e, 0x75, 0x7c, 0x52, 0x66, 0x19, 0x5d, 0xd8, 0x41, 0xd4,
+	0x4b, 0xf5, 0x93, 0x32, 0xcb, 0xd8, 0x1e, 0x8c, 0xb2, 0x34, 0x3f, 0x8d, 0x2b, 0x3e, 0xec, 0x95,
+	0x05, 0xc4, 0x48, 0xf2, 0x22, 0xfc, 0x14, 0x26, 0x8e, 0xe7, 0xf4, 0x4c, 0xe2, 0x41, 0x3f, 0x6a,
+	0xa8, 0xdd, 0x6c, 0x32, 0xe9, 0x94, 0x59, 0xf1, 0x16, 0x3e, 0x83, 0x9e, 0xe5, 0x92, 0x4d, 0xa1,
+	0x2d, 0xf8, 0x85, 0x9b, 0xb5, 0x68, 0xb2, 0x03, 0x00, 0xfb, 0x21, 0xcf, 0x13, 0xe9, 0x04, 0xf0,
+	0xb7, 0x86, 0x48, 0x70, 0x0d, 0x0c, 0x45, 0xb4, 0x3e, 0x99, 0xe1, 0x03, 0xf0, 0x6b, 0x1c, 0x87,
+	0x8c, 0x36, 0x5c, 0x19, 0x57, 0xa0, 0x75, 0x70, 0x23, 0x99, 0x57, 0x4a, 0x40, 0x33, 0x7c, 0x01,
+	0xfd, 0xe7, 0x45, 0x76, 0x91, 0x14, 0xf9, 0x47, 0x1d, 0xe8, 0xdf, 0xd0, 0x5b, 0x15, 0x69, 0x6e,
+	0x74, 0xd0, 0xa6, 0x9a, 0x2e, 0xad, 0x6b, 0x7a, 0x8e, 0x78, 0xe4, 0xc2, 0xe1, 0xb2, 0xe6, 0x8b,
+	0xeb, 0xd3, 0x99, 0x4a, 0xf4, 0xa6, 0x16, 0xbd, 0x2d, 0x2d, 0x3e, 0x04, 0x9f, 0xb8, 0xe7, 0x2a,
+	0xa9, 0xf4, 0x7e, 0x6d, 0xf3, 0x4e, 0xfc, 0x5f, 0x15, 0xe5, 0x0a, 0x17, 0xb2, 0x17, 0x1f, 0xad,
+	0xf0, 0x0b, 0x18, 0x6f, 0x84, 0x9a, 0x92, 0xf6, 0x36, 0x24, 0xfd, 0x10, 0x86, 0x09, 0x66, 0x51,
+	0x27, 0xf4, 0xfb, 0x84, 0xd2, 0x12, 0xd8, 0x95, 0x08, 0x92, 0xca, 0xd4, 0xe1, 0x57, 0x1e, 0xf8,
+	0x75, 0x04, 0x55, 0x6a, 0xd7, 0xa8, 0x57, 0xef, 0x93, 0x3f, 0xa7, 0x01, 0x6d, 0x43, 0x46, 0xbe,
+	0x36, 0x8e, 0x30, 0x9f, 0x90, 0x63, 0xf9, 0xda, 0xa0, 0x88, 0x69, 0x5c, 0xc4, 0x99, 0x3c, 0x97,
+	0x99, 0x7b, 0xe2, 0x80, 0xa0, 0xa7, 0x88, 0xe0, 0x90, 0xb4, 0x85, 0x75, 0xb6, 0x87, 0x24, 0xd5,
+	0x64, 0x83, 0xe1, 0xaf, 0x2d, 0xe8, 0x44, 0x1f, 0x92, 0xde, 0x5d, 0x98, 0x38, 0x6a, 0xab, 0xd3,
+	0xdb, 0x12, 0x46, 0xcb, 0xba, 0x05, 0xf3, 0xad, 0x61, 0xd0, 0xde, 0x6a, 0xc0, 0x2d, 0x80, 0x95,
+	0xd5, 0x01, 0x46, 0xed, 0x9c, 0xf4, 0x1d, 0x32, 0x17, 0xec, 0xef, 0xd0, 0xd3, 0x82, 0x56, 0xee,
+	0x3a, 0x3d, 0x09, 0x5c, 0x32, 0x84, 0x31, 0xc2, 0x5c, 0x25, 0x31, 0xcf, 0x52, 0xae, 0xab, 0xcb,
+	0xad, 0x05, 0x36, 0x68, 0x86, 0x10, 0x4e, 0xee, 0x62, 0x25, 0x15, 0x37, 0x85, 0xa2, 0xcb, 0xed,
+	0x47, 0xb5, 0xcf, 0xee, 0xc0, 0xb8, 0xb2, 0xed, 0xfb, 0x64, 0xdf, 0xe0, 0x51, 0x05, 0x56, 0x8f,
+	0x54, 0xb5, 0xc9, 0x39, 0xcf, 0x4a, 0xe9, 0x9e, 0x65, 0xb7, 0xc9, 0x0b, 0x84, 0x3e, 0x78, 0xdb,
+	0xe9, 0x71, 0xcb, 0x64, 0xfc, 0x2a, 0x35, 0x2f, 0xe3, 0x95, 0xaa, 0x1e, 0xe9, 0x21, 0x82, 0x9f,
+	0xa7, 0xe6, 0xe5, 0x73, 0xb5, 0xd9, 0xd3, 0xd1, 0x46, 0x4f, 0xc3, 0xef, 0x5a, 0xd0, 0x3e, 0x12,
+	0xef, 0xcf, 0xd4, 0xeb, 0x30, 0xc0, 0x72, 0xa8, 0x5c, 0x4b, 0x73, 0x5f, 0x8b, 0x53, 0xaa, 0xd4,
+	0x85, 0x1a, 0xbf, 0x42, 0x18, 0x7a, 0x86, 0x17, 0xe7, 0x2e, 0x74, 0x48, 0xdb, 0xef, 0x8d, 0xd3,
+	0x23, 0x3a, 0x45, 0x44, 0x51, 0x3c, 0x46, 0xba, 0x2c, 0x72, 0x47, 0x32, 0xd9, 0x78, 0x67, 0x4b,
+	0x95, 0x39, 0x66, 0xd1, 0x44, 0x39, 0xb9, 0x27, 0x0d, 0x2f, 0xbf, 0x23, 0x15, 0x2c, 0x84, 0x13,
+	0xa0, 0x31, 0x34, 0x29, 0xc1, 0x92, 0xea, 0x86, 0x26, 0x25, 0x6c, 0x3c, 0x8a, 0xfe, 0xd6, 0xa3,
+	0xb8, 0x9e, 0xa8, 0xb0, 0xfd, 0xee, 0xd5, 0x53, 0x7a, 0x68, 0xff, 0x23, 0xaa, 0xc7, 0xed, 0x5b,
+	0x0f, 0x7a, 0xf6, 0x20, 0x38, 0x78, 0xac, 0x14, 0xdc, 0xe0, 0x21, 0xe7, 0x2f, 0xff, 0xf8, 0xfc,
+	0xf5, 0x1f, 0xdf, 0x59, 0xa9, 0x0d, 0x09, 0x70, 0x10, 0x91, 0x8d, 0x58, 0x99, 0xa7, 0xd5, 0xfb,
+	0x4c, 0x36, 0xee, 0x62, 0x47, 0xa3, 0xa5, 0xc5, 0x3a, 0xb5, 0x0a, 0xfa, 0x6b, 0x15, 0x84, 0x5f,
+	0x7b, 0x70, 0xe9, 0x70, 0xf1, 0xf8, 0x25, 0x26, 0x7c, 0x22, 0xb5, 0xe6, 0x89, 0x64, 0xff, 0xc1,
+	0x7f, 0x12, 0x3c, 0x20, 0xd6, 0x38, 0x39, 0xb8, 0xda, 0x9c, 0x34, 0x8b, 0x4c, 0xda, 0x64, 0x11,
+	0xd9, 0x24, 0x27, 0x80, 0x56, 0x2d, 0x80, 0x7b, 0xd0, 0xe3, 0x4b, 0x93, 0x16, 0x39, 0x55, 0x3e,
+	0x39, 0x60, 0x8d, 0xb7, 0x71, 0x31, 0xa3, 0x48, 0xe4, 0x32, 0xa8, 0xa1, 0xf9, 0x49, 0x51, 0xfd,
+	0xc1, 0xa2, 0x1d, 0xfe, 0xe6, 0xc1, 0xd8, 0xce, 0xc6, 0x3f, 0x9a, 0xbc, 0x7f, 0xfa, 0x6c, 0x7f,
+	0xe0, 0x5f, 0x9b, 0x05, 0xd0, 0x77, 0x77, 0xd5, 0xed, 0x54, 0xb9, 0xf8, 0xfa, 0x1a, 0x95, 0x26,
+	0x89, 0x54, 0x71, 0x96, 0xe6, 0xd5, 0xf3, 0x3c, 0x74, 0xd8, 0xd3, 0x34, 0x97, 0xec, 0x5f, 0x30,
+	0x11, 0xa9, 0x92, 0x54, 0xb0, 0x4d, 0xb2, 0xa4, 0x8e, 0x6b, 0x94, 0xd2, 0xaa, 0x76, 0xf5, 0x1b,
+	0xed, 0xba, 0x03, 0x63, 0x21, 0x4f, 0x64, 0xbe, 0x94, 0xb1, 0x36, 0xdc, 0x58, 0xa9, 0x75, 0xa3,
+	0x91, 0x03, 0x8f, 0x10, 0xbb, 0xf7, 0x25, 0x8c, 0x9a, 0xb4, 0xb2, 0x11, 0x0c, 0x8e, 0x63, 0x4b,
+	0xc0, 0x74, 0x87, 0x4d, 0x61, 0x54, 0x79, 0x38, 0xa7, 0xa6, 0x1e, 0xbb, 0x02, 0xd3, 0x26, 0x82,
+	0x83, 0x7d, 0xda, 0x62, 0x00, 0xbd, 0xe3, 0x98, 0x32, 0xda, 0x6c, 0x0c, 0xbe, 0xb5, 0x8f, 0xc4,
+	0xe9, 0xb4, 0xc3, 0x2e, 0xc3, 0xb8, 0x76, 0x71, 0x3e, 0x4e, 0xbb, 0xcc, 0x87, 0xee, 0x71, 0x8c,
+	0xd1, 0xde, 0xbd, 0xfb, 0x30, 0xa8, 0xda, 0x82, 0x8b, 0xcc, 0x73, 0x2d, 0x95, 0x99, 0xee, 0xa0,
+	0xfd, 0x19, 0xdd, 0x88, 0xa9, 0x87, 0xf6, 0xa1, 0xcc, 0xa4, 0x91, 0xd3, 0xd6, 0xa3, 0xe0, 0x87,
+	0xb7, 0xbb, 0xde, 0x9b, 0xb7, 0xbb, 0xde, 0xcf, 0x6f, 0x77, 0xbd, 0x6f, 0xde, 0xed, 0xee, 0xbc,
+	0x79, 0xb7, 0xbb, 0xf3, 0xe3, 0xbb, 0xdd, 0x9d, 0x45, 0x8f, 0xfa, 0xfc, 0xe0, 0xf7, 0x00, 0x00,
+	0x00, 0xff, 0xff, 0xdc, 0x42, 0xb1, 0x58, 0x48, 0x0d, 0x00, 0x00,
+}
+
+func (m *Area) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Area) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if m.Id != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Id))
+	}
+	if m.Parentid != 0 {
+		dAtA[i] = 0x10
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Parentid))
+	}
+	if len(m.Name) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+		i += copy(dAtA[i:], m.Name)
+	}
+	return i, nil
+}
+
+func (m *Camera) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Camera) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.Name) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+		i += copy(dAtA[i:], m.Name)
+	}
+	if m.Type != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Type))
+	}
+	if len(m.Addr) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Addr)))
+		i += copy(dAtA[i:], m.Addr)
+	}
+	if m.Areaid != 0 {
+		dAtA[i] = 0x28
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Areaid))
+	}
+	if m.Longitude != 0 {
+		dAtA[i] = 0x35
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Longitude))))
+		i += 4
+	}
+	if m.Latitude != 0 {
+		dAtA[i] = 0x3d
+		i++
+		encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Latitude))))
+		i += 4
+	}
+	if len(m.Rtsp) > 0 {
+		dAtA[i] = 0x42
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Rtsp)))
+		i += copy(dAtA[i:], m.Rtsp)
+	}
+	if len(m.Ip) > 0 {
+		dAtA[i] = 0x4a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Ip)))
+		i += copy(dAtA[i:], m.Ip)
+	}
+	if m.Port != 0 {
+		dAtA[i] = 0x50
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Port))
+	}
+	if len(m.Username) > 0 {
+		dAtA[i] = 0x5a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Username)))
+		i += copy(dAtA[i:], m.Username)
+	}
+	if len(m.Password) > 0 {
+		dAtA[i] = 0x62
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Password)))
+		i += copy(dAtA[i:], m.Password)
+	}
+	if len(m.Brand) > 0 {
+		dAtA[i] = 0x6a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Brand)))
+		i += copy(dAtA[i:], m.Brand)
+	}
+	if len(m.Reserved) > 0 {
+		dAtA[i] = 0x72
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Reserved)))
+		i += copy(dAtA[i:], m.Reserved)
+	}
+	if m.IsRunning {
+		dAtA[i] = 0x78
+		i++
+		if m.IsRunning {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.RunEnable {
+		dAtA[i] = 0x80
+		i++
+		dAtA[i] = 0x1
+		i++
+		if m.RunEnable {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.RunType != 0 {
+		dAtA[i] = 0x88
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.RunType))
+	}
+	if len(m.RunServerId) > 0 {
+		dAtA[i] = 0x92
+		i++
+		dAtA[i] = 0x1
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RunServerId)))
+		i += copy(dAtA[i:], m.RunServerId)
+	}
+	return i, nil
+}
+
+func (m *CameraAndTaskInfo) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *CameraAndTaskInfo) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if m.Camera != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Camera.Size()))
+		n1, err1 := m.Camera.MarshalTo(dAtA[i:])
+		if err1 != nil {
+			return 0, err1
+		}
+		i += n1
+	}
+	if len(m.Tasks) > 0 {
+		for _, msg := range m.Tasks {
+			dAtA[i] = 0x12
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *Task) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Task) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Taskid) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskid)))
+		i += copy(dAtA[i:], m.Taskid)
+	}
+	if len(m.Taskname) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Taskname)))
+		i += copy(dAtA[i:], m.Taskname)
+	}
+	if len(m.CreateAt) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateAt)))
+		i += copy(dAtA[i:], m.CreateAt)
+	}
+	if len(m.CreateBy) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy)))
+		i += copy(dAtA[i:], m.CreateBy)
+	}
+	if len(m.UpdateAt) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateAt)))
+		i += copy(dAtA[i:], m.UpdateAt)
+	}
+	if m.Enable {
+		dAtA[i] = 0x30
+		i++
+		if m.Enable {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.IsAlarm {
+		dAtA[i] = 0x38
+		i++
+		if m.IsAlarm {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.DelFlag {
+		dAtA[i] = 0x40
+		i++
+		if m.DelFlag {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	return i, nil
+}
+
+func (m *TaskSdkInfo) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *TaskSdkInfo) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if m.Task != nil {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Task.Size()))
+		n2, err2 := m.Task.MarshalTo(dAtA[i:])
+		if err2 != nil {
+			return 0, err2
+		}
+		i += n2
+	}
+	if len(m.Sdks) > 0 {
+		for _, msg := range m.Sdks {
+			dAtA[i] = 0x12
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *CameraTask) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *CameraTask) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.CameraId) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+		i += copy(dAtA[i:], m.CameraId)
+	}
+	if len(m.TaskId) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
+		i += copy(dAtA[i:], m.TaskId)
+	}
+	if len(m.TimeRule) > 0 {
+		for _, msg := range m.TimeRule {
+			dAtA[i] = 0x22
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	if len(m.ReactRule) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactRule)))
+		i += copy(dAtA[i:], m.ReactRule)
+	}
+	if len(m.ReactDevice) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.ReactDevice)))
+		i += copy(dAtA[i:], m.ReactDevice)
+	}
+	if m.DelFlag {
+		dAtA[i] = 0x38
+		i++
+		if m.DelFlag {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.UpdateFlag {
+		dAtA[i] = 0x40
+		i++
+		if m.UpdateFlag {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.Enable {
+		dAtA[i] = 0x48
+		i++
+		if m.Enable {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.Sort != 0 {
+		dAtA[i] = 0x50
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+	}
+	if m.IsFull {
+		dAtA[i] = 0x58
+		i++
+		if m.IsFull {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if len(m.LinkTaskId) > 0 {
+		dAtA[i] = 0x62
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.LinkTaskId)))
+		i += copy(dAtA[i:], m.LinkTaskId)
+	}
+	return i, nil
+}
+
+func (m *CameraTimerule) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *CameraTimerule) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.Name) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+		i += copy(dAtA[i:], m.Name)
+	}
+	if len(m.TimeRule) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TimeRule)))
+		i += copy(dAtA[i:], m.TimeRule)
+	}
+	return i, nil
+}
+
+func (m *DayCtl) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *DayCtl) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if m.Day != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Day))
+	}
+	if len(m.TimeRange) > 0 {
+		for _, msg := range m.TimeRange {
+			dAtA[i] = 0x12
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *TimeRange) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *TimeRange) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Start) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Start)))
+		i += copy(dAtA[i:], m.Start)
+	}
+	if len(m.End) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.End)))
+		i += copy(dAtA[i:], m.End)
+	}
+	return i, nil
+}
+
+func (m *Polygon) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Polygon) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.Name) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+		i += copy(dAtA[i:], m.Name)
+	}
+	if len(m.Points) > 0 {
+		for _, msg := range m.Points {
+			dAtA[i] = 0x1a
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *CameraTaskArgs) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *CameraTaskArgs) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.CameraId) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+		i += copy(dAtA[i:], m.CameraId)
+	}
+	if len(m.TaskArgs) > 0 {
+		for _, msg := range m.TaskArgs {
+			dAtA[i] = 0x12
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *TaskGroupArgs) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *TaskGroupArgs) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.TaskId) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TaskId)))
+		i += copy(dAtA[i:], m.TaskId)
+	}
+	if len(m.GroupRules) > 0 {
+		for _, msg := range m.GroupRules {
+			dAtA[i] = 0x12
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *GroupRule) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *GroupRule) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.GroupId) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
+		i += copy(dAtA[i:], m.GroupId)
+	}
+	if len(m.GroupText) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupText)))
+		i += copy(dAtA[i:], m.GroupText)
+	}
+	if m.AlarmLevel != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.AlarmLevel))
+	}
+	if len(m.Rules) > 0 {
+		for _, msg := range m.Rules {
+			dAtA[i] = 0x22
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	return i, nil
+}
+
+func (m *Rule) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Rule) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.CameraTaskId) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraTaskId)))
+		i += copy(dAtA[i:], m.CameraTaskId)
+	}
+	if len(m.CameraId) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+		i += copy(dAtA[i:], m.CameraId)
+	}
+	if len(m.PolygonId) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.PolygonId)))
+		i += copy(dAtA[i:], m.PolygonId)
+	}
+	if len(m.SdkId) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkId)))
+		i += copy(dAtA[i:], m.SdkId)
+	}
+	if len(m.SdkArgAlias) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgAlias)))
+		i += copy(dAtA[i:], m.SdkArgAlias)
+	}
+	if len(m.Operator) > 0 {
+		dAtA[i] = 0x3a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Operator)))
+		i += copy(dAtA[i:], m.Operator)
+	}
+	if len(m.OperatorType) > 0 {
+		dAtA[i] = 0x42
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.OperatorType)))
+		i += copy(dAtA[i:], m.OperatorType)
+	}
+	if len(m.SdkArgValue) > 0 {
+		dAtA[i] = 0x4a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkArgValue)))
+		i += copy(dAtA[i:], m.SdkArgValue)
+	}
+	if m.Sort != 0 {
+		dAtA[i] = 0x50
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+	}
+	if len(m.RuleWithPre) > 0 {
+		dAtA[i] = 0x5a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.RuleWithPre)))
+		i += copy(dAtA[i:], m.RuleWithPre)
+	}
+	if len(m.GroupId) > 0 {
+		dAtA[i] = 0x62
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.GroupId)))
+		i += copy(dAtA[i:], m.GroupId)
+	}
+	return i, nil
+}
+
+func (m *Sdk) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *Sdk) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.SdkType) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkType)))
+		i += copy(dAtA[i:], m.SdkType)
+	}
+	if len(m.SdkName) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.SdkName)))
+		i += copy(dAtA[i:], m.SdkName)
+	}
+	if len(m.Args) > 0 {
+		for _, msg := range m.Args {
+			dAtA[i] = 0x22
+			i++
+			i = encodeVarintProtomsg(dAtA, i, uint64(msg.Size()))
+			n, err := msg.MarshalTo(dAtA[i:])
+			if err != nil {
+				return 0, err
+			}
+			i += n
+		}
+	}
+	if len(m.Icon) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Icon)))
+		i += copy(dAtA[i:], m.Icon)
+	}
+	if len(m.Url) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Url)))
+		i += copy(dAtA[i:], m.Url)
+	}
+	if len(m.CreateTime) > 0 {
+		dAtA[i] = 0x3a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateTime)))
+		i += copy(dAtA[i:], m.CreateTime)
+	}
+	if len(m.UpdateTime) > 0 {
+		dAtA[i] = 0x42
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.UpdateTime)))
+		i += copy(dAtA[i:], m.UpdateTime)
+	}
+	if len(m.CreateBy) > 0 {
+		dAtA[i] = 0x4a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CreateBy)))
+		i += copy(dAtA[i:], m.CreateBy)
+	}
+	if m.Enable {
+		dAtA[i] = 0x50
+		i++
+		if m.Enable {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if m.DelFlag != 0 {
+		dAtA[i] = 0x58
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.DelFlag))
+	}
+	return i, nil
+}
+
+func (m *SdkArg) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *SdkArg) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Alias) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Alias)))
+		i += copy(dAtA[i:], m.Alias)
+	}
+	if len(m.Name) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+		i += copy(dAtA[i:], m.Name)
+	}
+	if len(m.Type) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type)))
+		i += copy(dAtA[i:], m.Type)
+	}
+	if m.Must {
+		dAtA[i] = 0x20
+		i++
+		if m.Must {
+			dAtA[i] = 1
+		} else {
+			dAtA[i] = 0
+		}
+		i++
+	}
+	if len(m.Unit) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Unit)))
+		i += copy(dAtA[i:], m.Unit)
+	}
+	if len(m.Range) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Range)))
+		i += copy(dAtA[i:], m.Range)
+	}
+	if m.Sort != 0 {
+		dAtA[i] = 0x38
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Sort))
+	}
+	return i, nil
+}
+
+func (m *DbChangeMessage) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *DbChangeMessage) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if m.Table != 0 {
+		dAtA[i] = 0x8
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Table))
+	}
+	if len(m.Id) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if m.Action != 0 {
+		dAtA[i] = 0x18
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.Action))
+	}
+	if len(m.Info) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Info)))
+		i += copy(dAtA[i:], m.Info)
+	}
+	return i, nil
+}
+
+func (m *CameraPolygon) Marshal() (dAtA []byte, err error) {
+	size := m.Size()
+	dAtA = make([]byte, size)
+	n, err := m.MarshalTo(dAtA)
+	if err != nil {
+		return nil, err
+	}
+	return dAtA[:n], nil
+}
+
+func (m *CameraPolygon) MarshalTo(dAtA []byte) (int, error) {
+	var i int
+	_ = i
+	var l int
+	_ = l
+	if len(m.Id) > 0 {
+		dAtA[i] = 0xa
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Id)))
+		i += copy(dAtA[i:], m.Id)
+	}
+	if len(m.CameraId) > 0 {
+		dAtA[i] = 0x12
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.CameraId)))
+		i += copy(dAtA[i:], m.CameraId)
+	}
+	if len(m.Name) > 0 {
+		dAtA[i] = 0x1a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Name)))
+		i += copy(dAtA[i:], m.Name)
+	}
+	if len(m.Polygon) > 0 {
+		dAtA[i] = 0x22
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Polygon)))
+		i += copy(dAtA[i:], m.Polygon)
+	}
+	if len(m.TriggerLine) > 0 {
+		dAtA[i] = 0x2a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.TriggerLine)))
+		i += copy(dAtA[i:], m.TriggerLine)
+	}
+	if len(m.DirectionLine) > 0 {
+		dAtA[i] = 0x32
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.DirectionLine)))
+		i += copy(dAtA[i:], m.DirectionLine)
+	}
+	if len(m.Type) > 0 {
+		dAtA[i] = 0x3a
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(len(m.Type)))
+		i += copy(dAtA[i:], m.Type)
+	}
+	if m.DefenceState != 0 {
+		dAtA[i] = 0x40
+		i++
+		i = encodeVarintProtomsg(dAtA, i, uint64(m.DefenceState))
+	}
+	return i, nil
+}
+
+func encodeVarintProtomsg(dAtA []byte, offset int, v uint64) int {
+	for v >= 1<<7 {
+		dAtA[offset] = uint8(v&0x7f | 0x80)
+		v >>= 7
+		offset++
+	}
+	dAtA[offset] = uint8(v)
+	return offset + 1
+}
+func (m *Area) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	if m.Id != 0 {
+		n += 1 + sovProtomsg(uint64(m.Id))
+	}
+	if m.Parentid != 0 {
+		n += 1 + sovProtomsg(uint64(m.Parentid))
+	}
+	l = len(m.Name)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *Camera) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Name)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Type != 0 {
+		n += 1 + sovProtomsg(uint64(m.Type))
+	}
+	l = len(m.Addr)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Areaid != 0 {
+		n += 1 + sovProtomsg(uint64(m.Areaid))
+	}
+	if m.Longitude != 0 {
+		n += 5
+	}
+	if m.Latitude != 0 {
+		n += 5
+	}
+	l = len(m.Rtsp)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Ip)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Port != 0 {
+		n += 1 + sovProtomsg(uint64(m.Port))
+	}
+	l = len(m.Username)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Password)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Brand)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Reserved)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.IsRunning {
+		n += 2
+	}
+	if m.RunEnable {
+		n += 3
+	}
+	if m.RunType != 0 {
+		n += 2 + sovProtomsg(uint64(m.RunType))
+	}
+	l = len(m.RunServerId)
+	if l > 0 {
+		n += 2 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *CameraAndTaskInfo) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	if m.Camera != nil {
+		l = m.Camera.Size()
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.Tasks) > 0 {
+		for _, e := range m.Tasks {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *Task) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Taskid)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Taskname)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CreateAt)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CreateBy)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.UpdateAt)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Enable {
+		n += 2
+	}
+	if m.IsAlarm {
+		n += 2
+	}
+	if m.DelFlag {
+		n += 2
+	}
+	return n
+}
+
+func (m *TaskSdkInfo) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	if m.Task != nil {
+		l = m.Task.Size()
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.Sdks) > 0 {
+		for _, e := range m.Sdks {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *CameraTask) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CameraId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.TaskId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.TimeRule) > 0 {
+		for _, e := range m.TimeRule {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	l = len(m.ReactRule)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.ReactDevice)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.DelFlag {
+		n += 2
+	}
+	if m.UpdateFlag {
+		n += 2
+	}
+	if m.Enable {
+		n += 2
+	}
+	if m.Sort != 0 {
+		n += 1 + sovProtomsg(uint64(m.Sort))
+	}
+	if m.IsFull {
+		n += 2
+	}
+	l = len(m.LinkTaskId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *CameraTimerule) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Name)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.TimeRule)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *DayCtl) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	if m.Day != 0 {
+		n += 1 + sovProtomsg(uint64(m.Day))
+	}
+	if len(m.TimeRange) > 0 {
+		for _, e := range m.TimeRange {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *TimeRange) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Start)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.End)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *Polygon) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Name)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.Points) > 0 {
+		for _, e := range m.Points {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *CameraTaskArgs) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.CameraId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.TaskArgs) > 0 {
+		for _, e := range m.TaskArgs {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *TaskGroupArgs) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.TaskId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.GroupRules) > 0 {
+		for _, e := range m.GroupRules {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *GroupRule) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.GroupId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.GroupText)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.AlarmLevel != 0 {
+		n += 1 + sovProtomsg(uint64(m.AlarmLevel))
+	}
+	if len(m.Rules) > 0 {
+		for _, e := range m.Rules {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	return n
+}
+
+func (m *Rule) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CameraTaskId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CameraId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.PolygonId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.SdkId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.SdkArgAlias)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Operator)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.OperatorType)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.SdkArgValue)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Sort != 0 {
+		n += 1 + sovProtomsg(uint64(m.Sort))
+	}
+	l = len(m.RuleWithPre)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.GroupId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *Sdk) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.SdkType)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.SdkName)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if len(m.Args) > 0 {
+		for _, e := range m.Args {
+			l = e.Size()
+			n += 1 + l + sovProtomsg(uint64(l))
+		}
+	}
+	l = len(m.Icon)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Url)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CreateTime)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.UpdateTime)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CreateBy)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Enable {
+		n += 2
+	}
+	if m.DelFlag != 0 {
+		n += 1 + sovProtomsg(uint64(m.DelFlag))
+	}
+	return n
+}
+
+func (m *SdkArg) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Alias)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Name)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Type)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Must {
+		n += 2
+	}
+	l = len(m.Unit)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Range)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Sort != 0 {
+		n += 1 + sovProtomsg(uint64(m.Sort))
+	}
+	return n
+}
+
+func (m *DbChangeMessage) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	if m.Table != 0 {
+		n += 1 + sovProtomsg(uint64(m.Table))
+	}
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.Action != 0 {
+		n += 1 + sovProtomsg(uint64(m.Action))
+	}
+	l = len(m.Info)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	return n
+}
+
+func (m *CameraPolygon) Size() (n int) {
+	if m == nil {
+		return 0
+	}
+	var l int
+	_ = l
+	l = len(m.Id)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.CameraId)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Name)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Polygon)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.TriggerLine)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.DirectionLine)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	l = len(m.Type)
+	if l > 0 {
+		n += 1 + l + sovProtomsg(uint64(l))
+	}
+	if m.DefenceState != 0 {
+		n += 1 + sovProtomsg(uint64(m.DefenceState))
+	}
+	return n
+}
+
+func sovProtomsg(x uint64) (n int) {
+	for {
+		n++
+		x >>= 7
+		if x == 0 {
+			break
+		}
+	}
+	return n
+}
+func sozProtomsg(x uint64) (n int) {
+	return sovProtomsg(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *Area) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Area: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Area: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			m.Id = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Id |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 2:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Parentid", wireType)
+			}
+			m.Parentid = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Parentid |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Name = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Camera) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Camera: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Camera: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Name = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+			}
+			m.Type = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Type |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Addr = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 5:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Areaid", wireType)
+			}
+			m.Areaid = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Areaid |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 6:
+			if wireType != 5 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Longitude", wireType)
+			}
+			var v uint32
+			if (iNdEx + 4) > l {
+				return io.ErrUnexpectedEOF
+			}
+			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+			iNdEx += 4
+			m.Longitude = float32(math.Float32frombits(v))
+		case 7:
+			if wireType != 5 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Latitude", wireType)
+			}
+			var v uint32
+			if (iNdEx + 4) > l {
+				return io.ErrUnexpectedEOF
+			}
+			v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
+			iNdEx += 4
+			m.Latitude = float32(math.Float32frombits(v))
+		case 8:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Rtsp", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Rtsp = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 9:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Ip", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Ip = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 10:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
+			}
+			m.Port = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Port |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 11:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Username = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 12:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Password = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 13:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Brand", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Brand = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 14:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Reserved = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 15:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field IsRunning", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.IsRunning = bool(v != 0)
+		case 16:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field RunEnable", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.RunEnable = bool(v != 0)
+		case 17:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field RunType", wireType)
+			}
+			m.RunType = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.RunType |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 18:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field RunServerId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.RunServerId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *CameraAndTaskInfo) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: CameraAndTaskInfo: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: CameraAndTaskInfo: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Camera", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			if m.Camera == nil {
+				m.Camera = &Camera{}
+			}
+			if err := m.Camera.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Tasks", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Tasks = append(m.Tasks, &Task{})
+			if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Task) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Task: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Task: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Taskid", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Taskid = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Taskname", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Taskname = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CreateAt", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CreateAt = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CreateBy", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CreateBy = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field UpdateAt", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.UpdateAt = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 6:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.Enable = bool(v != 0)
+		case 7:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field IsAlarm", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.IsAlarm = bool(v != 0)
+		case 8:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field DelFlag", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.DelFlag = bool(v != 0)
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *TaskSdkInfo) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: TaskSdkInfo: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: TaskSdkInfo: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Task", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			if m.Task == nil {
+				m.Task = &Task{}
+			}
+			if err := m.Task.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sdks", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Sdks = append(m.Sdks, &Sdk{})
+			if err := m.Sdks[len(m.Sdks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *CameraTask) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: CameraTask: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: CameraTask: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CameraId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CameraId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TaskId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TimeRule", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TimeRule = append(m.TimeRule, &DayCtl{})
+			if err := m.TimeRule[len(m.TimeRule)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ReactRule", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.ReactRule = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field ReactDevice", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.ReactDevice = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 7:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field DelFlag", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.DelFlag = bool(v != 0)
+		case 8:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field UpdateFlag", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.UpdateFlag = bool(v != 0)
+		case 9:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.Enable = bool(v != 0)
+		case 10:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
+			}
+			m.Sort = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Sort |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 11:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field IsFull", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.IsFull = bool(v != 0)
+		case 12:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field LinkTaskId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.LinkTaskId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *CameraTimerule) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: CameraTimerule: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: CameraTimerule: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Name = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TimeRule", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TimeRule = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *DayCtl) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: DayCtl: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: DayCtl: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Day", wireType)
+			}
+			m.Day = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Day |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TimeRange", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TimeRange = append(m.TimeRange, &TimeRange{})
+			if err := m.TimeRange[len(m.TimeRange)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *TimeRange) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: TimeRange: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: TimeRange: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Start = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field End", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.End = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Polygon) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Polygon: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Polygon: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Name = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Points", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Points = append(m.Points, &Point{})
+			if err := m.Points[len(m.Points)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *CameraTaskArgs) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: CameraTaskArgs: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: CameraTaskArgs: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CameraId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CameraId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TaskArgs", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TaskArgs = append(m.TaskArgs, &TaskGroupArgs{})
+			if err := m.TaskArgs[len(m.TaskArgs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *TaskGroupArgs) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: TaskGroupArgs: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: TaskGroupArgs: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TaskId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupRules", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.GroupRules = append(m.GroupRules, &GroupRule{})
+			if err := m.GroupRules[len(m.GroupRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *GroupRule) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: GroupRule: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: GroupRule: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.GroupId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupText", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.GroupText = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field AlarmLevel", wireType)
+			}
+			m.AlarmLevel = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.AlarmLevel |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Rules = append(m.Rules, &Rule{})
+			if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Rule) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Rule: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CameraTaskId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CameraTaskId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CameraId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CameraId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field PolygonId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.PolygonId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SdkId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkArgAlias", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SdkArgAlias = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 7:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Operator = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 8:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field OperatorType", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.OperatorType = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 9:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkArgValue", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SdkArgValue = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 10:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
+			}
+			m.Sort = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Sort |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 11:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field RuleWithPre", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.RuleWithPre = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 12:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.GroupId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *Sdk) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: Sdk: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: Sdk: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkType", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SdkType = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field SdkName", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.SdkName = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
+			}
+			var msglen int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				msglen |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if msglen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + msglen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Args = append(m.Args, &SdkArg{})
+			if err := m.Args[len(m.Args)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+				return err
+			}
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Icon", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Icon = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Url = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 7:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CreateTime = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 8:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field UpdateTime", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.UpdateTime = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 9:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CreateBy", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CreateBy = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 10:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Enable", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.Enable = bool(v != 0)
+		case 11:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field DelFlag", wireType)
+			}
+			m.DelFlag = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.DelFlag |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *SdkArg) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: SdkArg: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: SdkArg: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Alias = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Name = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Type = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Must", wireType)
+			}
+			var v int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				v |= int(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			m.Must = bool(v != 0)
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Unit", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Unit = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Range", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Range = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 7:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
+			}
+			m.Sort = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Sort |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *DbChangeMessage) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: DbChangeMessage: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: DbChangeMessage: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType)
+			}
+			m.Table = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Table |= TableChanged(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
+			}
+			m.Action = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.Action |= DbAction(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Info = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func (m *CameraPolygon) Unmarshal(dAtA []byte) error {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		preIndex := iNdEx
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= uint64(b&0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		fieldNum := int32(wire >> 3)
+		wireType := int(wire & 0x7)
+		if wireType == 4 {
+			return fmt.Errorf("proto: CameraPolygon: wiretype end group for non-group")
+		}
+		if fieldNum <= 0 {
+			return fmt.Errorf("proto: CameraPolygon: illegal tag %d (wire type %d)", fieldNum, wire)
+		}
+		switch fieldNum {
+		case 1:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Id = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 2:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field CameraId", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.CameraId = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 3:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Name = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 4:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Polygon", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Polygon = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 5:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field TriggerLine", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.TriggerLine = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 6:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field DirectionLine", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.DirectionLine = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 7:
+			if wireType != 2 {
+				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+			}
+			var stringLen uint64
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				stringLen |= uint64(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			intStringLen := int(stringLen)
+			if intStringLen < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			postIndex := iNdEx + intStringLen
+			if postIndex < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if postIndex > l {
+				return io.ErrUnexpectedEOF
+			}
+			m.Type = string(dAtA[iNdEx:postIndex])
+			iNdEx = postIndex
+		case 8:
+			if wireType != 0 {
+				return fmt.Errorf("proto: wrong wireType = %d for field DefenceState", wireType)
+			}
+			m.DefenceState = 0
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				m.DefenceState |= int32(b&0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+		default:
+			iNdEx = preIndex
+			skippy, err := skipProtomsg(dAtA[iNdEx:])
+			if err != nil {
+				return err
+			}
+			if skippy < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) < 0 {
+				return ErrInvalidLengthProtomsg
+			}
+			if (iNdEx + skippy) > l {
+				return io.ErrUnexpectedEOF
+			}
+			iNdEx += skippy
+		}
+	}
+
+	if iNdEx > l {
+		return io.ErrUnexpectedEOF
+	}
+	return nil
+}
+func skipProtomsg(dAtA []byte) (n int, err error) {
+	l := len(dAtA)
+	iNdEx := 0
+	for iNdEx < l {
+		var wire uint64
+		for shift := uint(0); ; shift += 7 {
+			if shift >= 64 {
+				return 0, ErrIntOverflowProtomsg
+			}
+			if iNdEx >= l {
+				return 0, io.ErrUnexpectedEOF
+			}
+			b := dAtA[iNdEx]
+			iNdEx++
+			wire |= (uint64(b) & 0x7F) << shift
+			if b < 0x80 {
+				break
+			}
+		}
+		wireType := int(wire & 0x7)
+		switch wireType {
+		case 0:
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return 0, ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return 0, io.ErrUnexpectedEOF
+				}
+				iNdEx++
+				if dAtA[iNdEx-1] < 0x80 {
+					break
+				}
+			}
+			return iNdEx, nil
+		case 1:
+			iNdEx += 8
+			return iNdEx, nil
+		case 2:
+			var length int
+			for shift := uint(0); ; shift += 7 {
+				if shift >= 64 {
+					return 0, ErrIntOverflowProtomsg
+				}
+				if iNdEx >= l {
+					return 0, io.ErrUnexpectedEOF
+				}
+				b := dAtA[iNdEx]
+				iNdEx++
+				length |= (int(b) & 0x7F) << shift
+				if b < 0x80 {
+					break
+				}
+			}
+			if length < 0 {
+				return 0, ErrInvalidLengthProtomsg
+			}
+			iNdEx += length
+			if iNdEx < 0 {
+				return 0, ErrInvalidLengthProtomsg
+			}
+			return iNdEx, nil
+		case 3:
+			for {
+				var innerWire uint64
+				var start int = iNdEx
+				for shift := uint(0); ; shift += 7 {
+					if shift >= 64 {
+						return 0, ErrIntOverflowProtomsg
+					}
+					if iNdEx >= l {
+						return 0, io.ErrUnexpectedEOF
+					}
+					b := dAtA[iNdEx]
+					iNdEx++
+					innerWire |= (uint64(b) & 0x7F) << shift
+					if b < 0x80 {
+						break
+					}
+				}
+				innerWireType := int(innerWire & 0x7)
+				if innerWireType == 4 {
+					break
+				}
+				next, err := skipProtomsg(dAtA[start:])
+				if err != nil {
+					return 0, err
+				}
+				iNdEx = start + next
+				if iNdEx < 0 {
+					return 0, ErrInvalidLengthProtomsg
+				}
+			}
+			return iNdEx, nil
+		case 4:
+			return iNdEx, nil
+		case 5:
+			iNdEx += 4
+			return iNdEx, nil
+		default:
+			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+		}
+	}
+	panic("unreachable")
+}
+
+var (
+	ErrInvalidLengthProtomsg = fmt.Errorf("proto: negative length found during unmarshaling")
+	ErrIntOverflowProtomsg   = fmt.Errorf("proto: integer overflow")
+)
diff --git a/protomsg.proto b/protomsg.proto
index c589de7..3896240 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -3,27 +3,7 @@
 
 package protomsg;
 
-message SdkmsgWithTask {
-    string sdkid = 1;
-    string sdktype = 2;
-    string sdkName = 3;
-    bytes  sdkdata = 4;
-}
 
-message TaskLabel {
-	string taskid = 1;
-    string taskname = 2;
-	repeated SdkmsgWithTask sdkinfos = 3;
-	int32 index = 4 ;
-}
-
-//SdkMessage struct test
-message SdkMessage {
-	string    cid = 1;
-    string    caddr = 2;
-	TaskLabel tasklab =3 ;
-	bytes	  data = 4;
-}
 
 //Area缁撴瀯浣�
 message Area{

--
Gitblit v1.8.0