shao 3 روز پیش
والد
کامیت
6ce507357a
2فایلهای تغییر یافته به همراه12 افزوده شده و 12 حذف شده
  1. 2 2
      dr_protocol_idl.proto
  2. 10 10
      dr_protocol_pb/dr_protocol_idl.pb.go

+ 2 - 2
dr_protocol_idl.proto

@@ -140,8 +140,8 @@ message View {
   string view_coach_name = 14;
   string modality = 15;
   google.protobuf.Struct config_object = 16;
-  string tech_template = 17;
-  string img_proc_template = 18;
+  string apr_id = 17;
+  string img_proc_id = 18;
   int32 sort = 19;
   bool is_enabled = 20;
   string product = 21;

+ 10 - 10
dr_protocol_pb/dr_protocol_idl.pb.go

@@ -1028,8 +1028,8 @@ type View struct {
 	ViewCoachName   string                 `protobuf:"bytes,14,opt,name=view_coach_name,json=viewCoachName,proto3" json:"view_coach_name,omitempty"`
 	Modality        string                 `protobuf:"bytes,15,opt,name=modality,proto3" json:"modality,omitempty"`
 	ConfigObject    *structpb.Struct       `protobuf:"bytes,16,opt,name=config_object,json=configObject,proto3" json:"config_object,omitempty"`
-	TechTemplate    string                 `protobuf:"bytes,17,opt,name=tech_template,json=techTemplate,proto3" json:"tech_template,omitempty"`
-	ImgProcTemplate string                 `protobuf:"bytes,18,opt,name=img_proc_template,json=imgProcTemplate,proto3" json:"img_proc_template,omitempty"`
+	AprId           string                 `protobuf:"bytes,17,opt,name=apr_id,json=aprId,proto3" json:"apr_id,omitempty"`
+	ImgProcId       string                 `protobuf:"bytes,18,opt,name=img_proc_id,json=imgProcId,proto3" json:"img_proc_id,omitempty"`
 	Sort            int32                  `protobuf:"varint,19,opt,name=sort,proto3" json:"sort,omitempty"`
 	IsEnabled       bool                   `protobuf:"varint,20,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
 	Product         string                 `protobuf:"bytes,21,opt,name=product,proto3" json:"product,omitempty"`
@@ -1180,16 +1180,16 @@ func (x *View) GetConfigObject() *structpb.Struct {
 	return nil
 }
 
-func (x *View) GetTechTemplate() string {
+func (x *View) GetAprId() string {
 	if x != nil {
-		return x.TechTemplate
+		return x.AprId
 	}
 	return ""
 }
 
-func (x *View) GetImgProcTemplate() string {
+func (x *View) GetImgProcId() string {
 	if x != nil {
-		return x.ImgProcTemplate
+		return x.ImgProcId
 	}
 	return ""
 }
@@ -1642,7 +1642,7 @@ const file_dr_protocol_idl_proto_rawDesc = "" +
 	"\r_procedure_idB\v\n" +
 	"\t_modalityB\r\n" +
 	"\v_is_enabledB\x11\n" +
-	"\x0f_is_pre_install\"\xa6\x06\n" +
+	"\x0f_is_pre_install\"\x8c\x06\n" +
 	"\x04View\x12\x1f\n" +
 	"\vinternal_id\x18\x01 \x01(\tR\n" +
 	"internalId\x12\x17\n" +
@@ -1662,9 +1662,9 @@ const file_dr_protocol_idl_proto_rawDesc = "" +
 	"\x12view_big_icon_name\x18\r \x01(\tR\x0fviewBigIconName\x12&\n" +
 	"\x0fview_coach_name\x18\x0e \x01(\tR\rviewCoachName\x12\x1a\n" +
 	"\bmodality\x18\x0f \x01(\tR\bmodality\x12<\n" +
-	"\rconfig_object\x18\x10 \x01(\v2\x17.google.protobuf.StructR\fconfigObject\x12#\n" +
-	"\rtech_template\x18\x11 \x01(\tR\ftechTemplate\x12*\n" +
-	"\x11img_proc_template\x18\x12 \x01(\tR\x0fimgProcTemplate\x12\x12\n" +
+	"\rconfig_object\x18\x10 \x01(\v2\x17.google.protobuf.StructR\fconfigObject\x12\x15\n" +
+	"\x06apr_id\x18\x11 \x01(\tR\x05aprId\x12\x1e\n" +
+	"\vimg_proc_id\x18\x12 \x01(\tR\timgProcId\x12\x12\n" +
 	"\x04sort\x18\x13 \x01(\x05R\x04sort\x12\x1d\n" +
 	"\n" +
 	"is_enabled\x18\x14 \x01(\bR\tisEnabled\x12\x18\n" +