From 9dee3880412c0cfab8ccf2bfade44e041d7e5aeb Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 21 五月 2019 18:21:34 +0800
Subject: [PATCH] change repeated to string

---
 protomsg.proto |    4 
 protomsg.pb.go |  247 ++++++++++++++++++++++++------------------------
 2 files changed, 125 insertions(+), 126 deletions(-)

diff --git a/protomsg.pb.go b/protomsg.pb.go
index 7b98ba5..b3ffaff 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -484,21 +484,21 @@
 
 //鎽勫儚鏈轰换鍔�
 type CameraTask struct {
-	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-	CameraIds            string    `protobuf:"bytes,2,opt,name=camera_ids,json=cameraIds,proto3" json:"camera_ids,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"`
-	LinkGroupId          string    `protobuf:"bytes,12,opt,name=link_group_id,json=linkGroupId,proto3" json:"link_group_id,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
-	XXX_unrecognized     []byte    `json:"-"`
-	XXX_sizecache        int32     `json:"-"`
+	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	CameraIds            string   `protobuf:"bytes,2,opt,name=camera_ids,json=cameraIds,proto3" json:"camera_ids,omitempty"`
+	TaskId               string   `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
+	TimeRule             string   `protobuf:"bytes,4,opt,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"`
+	LinkGroupId          string   `protobuf:"bytes,12,opt,name=link_group_id,json=linkGroupId,proto3" json:"link_group_id,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
 }
 
 func (m *CameraTask) Reset()         { *m = CameraTask{} }
@@ -547,11 +547,11 @@
 	return ""
 }
 
-func (m *CameraTask) GetTimeRule() []*DayCtl {
+func (m *CameraTask) GetTimeRule() string {
 	if m != nil {
 		return m.TimeRule
 	}
-	return nil
+	return ""
 }
 
 func (m *CameraTask) GetReactRule() string {
@@ -891,19 +891,19 @@
 
 //Sdk struct
 type Sdk struct {
-	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-	CreateTime           string    `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
-	UpdateTime           string    `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
-	CreateBy             string    `protobuf:"bytes,4,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
-	DelFlag              string    `protobuf:"bytes,5,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
-	Enabled              string    `protobuf:"bytes,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
-	SdkName              string    `protobuf:"bytes,7,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
-	Icon                 string    `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
-	Url                  string    `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"`
-	Args                 []*SdkArg `protobuf:"bytes,10,rep,name=args,proto3" json:"args,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
-	XXX_unrecognized     []byte    `json:"-"`
-	XXX_sizecache        int32     `json:"-"`
+	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+	CreateTime           string   `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
+	UpdateTime           string   `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
+	CreateBy             string   `protobuf:"bytes,4,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"`
+	DelFlag              string   `protobuf:"bytes,5,opt,name=del_flag,json=delFlag,proto3" json:"del_flag,omitempty"`
+	Enabled              string   `protobuf:"bytes,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
+	SdkName              string   `protobuf:"bytes,7,opt,name=sdk_name,json=sdkName,proto3" json:"sdk_name,omitempty"`
+	Icon                 string   `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
+	Url                  string   `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"`
+	Args                 string   `protobuf:"bytes,10,opt,name=args,proto3" json:"args,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
 }
 
 func (m *Sdk) Reset()         { *m = Sdk{} }
@@ -994,11 +994,11 @@
 	return ""
 }
 
-func (m *Sdk) GetArgs() []*SdkArg {
+func (m *Sdk) GetArgs() string {
 	if m != nil {
 		return m.Args
 	}
-	return nil
+	return ""
 }
 
 //SdkArg struct
@@ -1703,96 +1703,95 @@
 func init() { proto.RegisterFile("protomsg.proto", fileDescriptor_32de24555f916688) }
 
 var fileDescriptor_32de24555f916688 = []byte{
-	// 1455 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4f, 0x6f, 0x1c, 0xc5,
-	0x12, 0xd7, 0xfe, 0xdf, 0xa9, 0x5d, 0xfb, 0x25, 0xf3, 0xf2, 0xde, 0x9b, 0x97, 0xf7, 0x20, 0xce,
-	0xc4, 0x02, 0x23, 0x44, 0x10, 0xce, 0x1d, 0xc9, 0xc4, 0x18, 0xad, 0x94, 0x38, 0xa6, 0x13, 0x82,
-	0x04, 0x87, 0x55, 0xef, 0x74, 0xef, 0xec, 0xc4, 0xbd, 0x33, 0x43, 0x77, 0x4f, 0xec, 0xb9, 0xf3,
-	0x01, 0xf8, 0x58, 0x1c, 0xf8, 0x0e, 0x9c, 0xb8, 0xf0, 0x05, 0xb8, 0xa2, 0xaa, 0xee, 0x99, 0x5d,
-	0xc7, 0x0e, 0x42, 0xe2, 0xca, 0xad, 0x7e, 0x55, 0x35, 0xd5, 0x5d, 0xbf, 0xae, 0xaa, 0xee, 0x81,
-	0xdd, 0x52, 0x17, 0xb6, 0x58, 0x9b, 0xf4, 0x21, 0x09, 0xe1, 0xb8, 0xc1, 0xf1, 0x97, 0x10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0x77, 0x70, 0xf3, 0x94, 0x6b, 0xbe, 0xa6,
+	0x89, 0xd0, 0xf8, 0x1a, 0xd9, 0x3a, 0xbc, 0x07, 0xbd, 0xb2, 0x30, 0x3e, 0xfc, 0xcd, 0xcb, 0x75,
+	0x9e, 0x16, 0x86, 0xa1, 0x35, 0xbc, 0x0b, 0xbd, 0x6c, 0x9d, 0x5e, 0xbd, 0x3d, 0xfa, 0xeb, 0xc2,
+	0xd0, 0x16, 0x7f, 0x06, 0x37, 0xda, 0xe0, 0x8f, 0x8b, 0x35, 0xfe, 0xc3, 0xc0, 0xa1, 0x5c, 0x4a,
+	0x6e, 0x3f, 0xa5, 0xe8, 0x63, 0xe6, 0x40, 0xa3, 0x3d, 0xa4, 0x70, 0x5e, 0x7b, 0xb8, 0x18, 0x50,
+	0xd0, 0x47, 0x7f, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xf2, 0x45, 0x66, 0xe1, 0x0d, 0x00, 0x00,
 }
diff --git a/protomsg.proto b/protomsg.proto
index 081e182..07ce24d 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -62,7 +62,7 @@
     string id = 1;
     string camera_ids = 2;//鎽勫儚鏈篿d
     string task_id = 3;//浠诲姟id
-    repeated DayCtl time_rule = 4;//甯冮槻鏃堕棿
+    string time_rule = 4;//甯冮槻鏃堕棿
     string react_rule = 5;//鑱斿姩鏂瑰紡
     string react_device = 6;//鑱斿姩璁惧
     bool del_flag = 7; //閫昏緫鍒犻櫎鏍囪
@@ -119,7 +119,7 @@
     string sdk_name = 7;//sdk鍚嶇О
     string icon = 8;//绠楁硶鍥炬爣
     string url = 9;//绠楁硶涓嬭浇鍦板潃
-    repeated SdkArg args = 10;
+    string args = 10;//绠楁硶鍙傛暟json锛屾帴鏀跺埌鍚庝互[]SdkArg瑙f瀽
 }
 
 //SdkArg struct

--
Gitblit v1.8.0