yutooaipb

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

GoYuTooAiPb

介绍

由图AI智能识别Proto Buffer通信协议Golang语言源码库

软件架构

软件架构说明

安装教程
  1. xxxx
  2. xxxx
  3. xxxx
使用说明
  1. xxxx
  2. xxxx
  3. xxxx
参与贡献
  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyName_name = map[int32]string{
		0:  "WssProxyHttpServerPort",
		1:  "WssProxyHttpApiPrefix",
		2:  "AutoUpdate",
		3:  "StopCamera",
		4:  "MinMatchWeight",
		5:  "ApiBaseUrl",
		6:  "UploadPlu",
		7:  "AppVersion",
		8:  "FrontEndBranch",
		9:  "ScaleNo",
		10: "OperatorName",
	}
	KeyName_value = map[string]int32{
		"WssProxyHttpServerPort": 0,
		"WssProxyHttpApiPrefix":  1,
		"AutoUpdate":             2,
		"StopCamera":             3,
		"MinMatchWeight":         4,
		"ApiBaseUrl":             5,
		"UploadPlu":              6,
		"AppVersion":             7,
		"FrontEndBranch":         8,
		"ScaleNo":                9,
		"OperatorName":           10,
	}
)

Enum value maps for KeyName.

View Source
var (
	PerformanceModel_name = map[int32]string{
		0: "balancedModel",
		1: "efficientModel",
	}
	PerformanceModel_value = map[string]int32{
		"balancedModel":  0,
		"efficientModel": 1,
	}
)

Enum value maps for PerformanceModel.

View Source
var (
	WeightStatus_name = map[int32]string{
		0: "weightNotStable",
		1: "weightStable",
		2: "weightError",
		3: "weightOverload",
		4: "weightUnderload",
	}
	WeightStatus_value = map[string]int32{
		"weightNotStable": 0,
		"weightStable":    1,
		"weightError":     2,
		"weightOverload":  3,
		"weightUnderload": 4,
	}
)

Enum value maps for WeightStatus.

View Source
var (
	MatchingType_name = map[int32]string{
		0: "auto",
		1: "forcibly",
		2: "correction",
	}
	MatchingType_value = map[string]int32{
		"auto":       0,
		"forcibly":   1,
		"correction": 2,
	}
)

Enum value maps for MatchingType.

View Source
var (
	MarkType_name = map[int32]string{
		0: "noAction",
		2: "matchOut",
		4: "search",
		9: "studyModel",
	}
	MarkType_value = map[string]int32{
		"noAction":   0,
		"matchOut":   2,
		"search":     4,
		"studyModel": 9,
	}
)

Enum value maps for MarkType.

View Source
var (
	PriceUnitType_name = map[int32]string{
		0: "WeightType",
		1: "NumberType",
	}
	PriceUnitType_value = map[string]int32{
		"WeightType": 0,
		"NumberType": 1,
	}
)

Enum value maps for PriceUnitType.

View Source
var (
	SetPluInfoRequest_PluInfoOperateType_name = map[int32]string{
		0: "PluInfoOperateUpdate",
		1: "PluInfoOperateAdd",
		2: "PluInfoOperateDelete",
		3: "pluInfoOperateRemove",
	}
	SetPluInfoRequest_PluInfoOperateType_value = map[string]int32{
		"PluInfoOperateUpdate": 0,
		"PluInfoOperateAdd":    1,
		"PluInfoOperateDelete": 2,
		"pluInfoOperateRemove": 3,
	}
)

Enum value maps for SetPluInfoRequest_PluInfoOperateType.

View Source
var (
	ReplyCode_name = map[int32]string{
		0:    "Unknown",
		1:    "Success",
		1001: "ErrNotInit",
		1002: "ErrInit",
		1003: "ErrParams",
		1004: "ErrVersionInfo",
		1005: "ErrSetConfig",
		1006: "ErrNotSupport",
		2001: "ErrReplaceSN",
		2002: "ErrNotActivate",
		2003: "ErrActivate",
		2004: "ErrDeviceInfo",
		3001: "ErrNotLoadSo",
		3002: "ErrLoadSo",
		3003: "ErrNotInitSo",
		3004: "ErrInitSo",
		3005: "ErrAi",
		3006: "ErrNotIdentify",
		4001: "ErrCamera",
		4002: "ErrImage",
		5001: "ErrInitPluData",
		5002: "ErrInitIconMatch",
		5003: "ErrIconMatch",
		5004: "ErrPluNotExist",
		5005: "ErrPluLock",
		5006: "ErrPluSetInfo",
		6001: "ErrNetwork",
	}
	ReplyCode_value = map[string]int32{
		"Unknown":          0,
		"Success":          1,
		"ErrNotInit":       1001,
		"ErrInit":          1002,
		"ErrParams":        1003,
		"ErrVersionInfo":   1004,
		"ErrSetConfig":     1005,
		"ErrNotSupport":    1006,
		"ErrReplaceSN":     2001,
		"ErrNotActivate":   2002,
		"ErrActivate":      2003,
		"ErrDeviceInfo":    2004,
		"ErrNotLoadSo":     3001,
		"ErrLoadSo":        3002,
		"ErrNotInitSo":     3003,
		"ErrInitSo":        3004,
		"ErrAi":            3005,
		"ErrNotIdentify":   3006,
		"ErrCamera":        4001,
		"ErrImage":         4002,
		"ErrInitPluData":   5001,
		"ErrInitIconMatch": 5002,
		"ErrIconMatch":     5003,
		"ErrPluNotExist":   5004,
		"ErrPluLock":       5005,
		"ErrPluSetInfo":    5006,
		"ErrNetwork":       6001,
	}
)

Enum value maps for ReplyCode.

View Source
var File_YuTooAiPbPrivate_proto protoreflect.FileDescriptor
View Source
var File_YuTooAiPbPublic_proto protoreflect.FileDescriptor
View Source
var File_YuTooAiPbStatus_proto protoreflect.FileDescriptor
View Source
var YoYoAiPrivate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "YoYo.YuTooAiPb.V1.YoYoAiPrivate",
	HandlerType: (*YoYoAiPrivateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetKeyVal",
			Handler:    _YoYoAiPrivate_SetKeyVal_Handler,
		},
		{
			MethodName: "GetKeyVal",
			Handler:    _YoYoAiPrivate_GetKeyVal_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ScaleTransport",
			Handler:       _YoYoAiPrivate_ScaleTransport_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "YuTooAiPbPrivate.proto",
}

YoYoAiPrivate_ServiceDesc is the grpc.ServiceDesc for YoYoAiPrivate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var YoYoAiPublic_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "YoYo.YuTooAiPb.V1.YoYoAiPublic",
	HandlerType: (*YoYoAiPublicServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Init",
			Handler:    _YoYoAiPublic_Init_Handler,
		},
		{
			MethodName: "UnInit",
			Handler:    _YoYoAiPublic_UnInit_Handler,
		},
		{
			MethodName: "Activate",
			Handler:    _YoYoAiPublic_Activate_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _YoYoAiPublic_GetVersion_Handler,
		},
		{
			MethodName: "GetPerformanceModel",
			Handler:    _YoYoAiPublic_GetPerformanceModel_Handler,
		},
		{
			MethodName: "SetPerformanceModel",
			Handler:    _YoYoAiPublic_SetPerformanceModel_Handler,
		},
		{
			MethodName: "GetCameraList",
			Handler:    _YoYoAiPublic_GetCameraList_Handler,
		},
		{
			MethodName: "OpenCamera",
			Handler:    _YoYoAiPublic_OpenCamera_Handler,
		},
		{
			MethodName: "SetCameraArea",
			Handler:    _YoYoAiPublic_SetCameraArea_Handler,
		},
		{
			MethodName: "GetCameraArea",
			Handler:    _YoYoAiPublic_GetCameraArea_Handler,
		},
		{
			MethodName: "GetDeviceInfo",
			Handler:    _YoYoAiPublic_GetDeviceInfo_Handler,
		},
		{
			MethodName: "EditShop",
			Handler:    _YoYoAiPublic_EditShop_Handler,
		},
		{
			MethodName: "PluSync",
			Handler:    _YoYoAiPublic_PluSync_Handler,
		},
		{
			MethodName: "PluMatch",
			Handler:    _YoYoAiPublic_PluMatch_Handler,
		},
		{
			MethodName: "GetStudyData",
			Handler:    _YoYoAiPublic_GetStudyData_Handler,
		},
		{
			MethodName: "SetStudyData",
			Handler:    _YoYoAiPublic_SetStudyData_Handler,
		},
		{
			MethodName: "AiMark",
			Handler:    _YoYoAiPublic_AiMark_Handler,
		},
		{
			MethodName: "CorrectStudyData",
			Handler:    _YoYoAiPublic_CorrectStudyData_Handler,
		},
		{
			MethodName: "StudyModelMatching",
			Handler:    _YoYoAiPublic_StudyModelMatching_Handler,
		},
		{
			MethodName: "StudyModelMark",
			Handler:    _YoYoAiPublic_StudyModelMark_Handler,
		},
		{
			MethodName: "SetPluInfo",
			Handler:    _YoYoAiPublic_SetPluInfo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetLog",
			Handler:       _YoYoAiPublic_GetLog_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetCameraStream",
			Handler:       _YoYoAiPublic_GetCameraStream_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "AiMatching",
			Handler:       _YoYoAiPublic_AiMatching_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "LocalImageStudy",
			Handler:       _YoYoAiPublic_LocalImageStudy_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "YuTooAiPbPublic.proto",
}

YoYoAiPublic_ServiceDesc is the grpc.ServiceDesc for YoYoAiPublic service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func GetPrivateServerFuncRouter

func GetPrivateServerFuncRouter(f interface{}) string

GetPrivateServerFuncRouter 获取公开服务方法的路由

func GetPrivateServerRouter

func GetPrivateServerRouter() string

GetPrivateServerRouter 获取私有服务的路由

func GetPublicServerFuncRouter

func GetPublicServerFuncRouter(f interface{}) string

GetPublicServerFuncRouter 获取公开服务方法的路由

func GetPublicServerRouter

func GetPublicServerRouter() string

GetPublicServerRouter 获取公开服务的路由

func RegisterYoYoAiPrivateServer

func RegisterYoYoAiPrivateServer(s grpc.ServiceRegistrar, srv YoYoAiPrivateServer)

func RegisterYoYoAiPublicServer

func RegisterYoYoAiPublicServer(s grpc.ServiceRegistrar, srv YoYoAiPublicServer)

Types

type ActivateRequest

type ActivateRequest struct {
	CdKey        string `protobuf:"bytes,1,opt,name=cdKey,proto3" json:"cdKey,omitempty"`               // 激活码
	ShopName     string `protobuf:"bytes,2,opt,name=shopName,proto3" json:"shopName,omitempty"`         // 门店名称
	ShopContact  string `protobuf:"bytes,3,opt,name=shopContact,proto3" json:"shopContact,omitempty"`   // 门店联系人
	ContactPhone string `protobuf:"bytes,4,opt,name=contactPhone,proto3" json:"contactPhone,omitempty"` // 联系人电话
	// contains filtered or unexported fields
}

ActivateRequest 设备激活(入参)

func (*ActivateRequest) Descriptor deprecated

func (*ActivateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.

func (*ActivateRequest) GetCdKey

func (x *ActivateRequest) GetCdKey() string

func (*ActivateRequest) GetContactPhone

func (x *ActivateRequest) GetContactPhone() string

func (*ActivateRequest) GetShopContact

func (x *ActivateRequest) GetShopContact() string

func (*ActivateRequest) GetShopName

func (x *ActivateRequest) GetShopName() string

func (*ActivateRequest) ProtoMessage

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) ProtoReflect

func (x *ActivateRequest) ProtoReflect() protoreflect.Message

func (*ActivateRequest) Reset

func (x *ActivateRequest) Reset()

func (*ActivateRequest) String

func (x *ActivateRequest) String() string

func (*ActivateRequest) Validator

func (val *ActivateRequest) Validator() error

Validator 校验设备激活参数

type AiMarkRequest

type AiMarkRequest struct {
	MarkType  MarkType      `protobuf:"varint,1,opt,name=markType,proto3,enum=YoYo.YuTooAiPb.V1.MarkType" json:"markType,omitempty"`        // 标记方式
	PluCode   string        `protobuf:"bytes,2,opt,name=pluCode,proto3" json:"pluCode,omitempty"`                                           // plu编码
	Sales     int32         `protobuf:"varint,3,opt,name=sales,proto3" json:"sales,omitempty"`                                              // 销量:重量(克) 、数量
	PriceUnit PriceUnitType `protobuf:"varint,4,opt,name=priceUnit,proto3,enum=YoYo.YuTooAiPb.V1.PriceUnitType" json:"priceUnit,omitempty"` // 计价方式
	Price     int32         `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`                                              // 原始单价(分/Kg)
	SalePrice int32         `protobuf:"varint,6,opt,name=salePrice,proto3" json:"salePrice,omitempty"`                                      // 销售单价(分/Kg)
	Amount    int32         `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"`                                            // 销售总价(分)
	BarCode   string        `protobuf:"bytes,8,opt,name=barCode,proto3" json:"barCode,omitempty"`                                           // 条码
	// contains filtered or unexported fields
}

AiMarkRequest AI点选标记(入参)

func (*AiMarkRequest) Descriptor deprecated

func (*AiMarkRequest) Descriptor() ([]byte, []int)

Deprecated: Use AiMarkRequest.ProtoReflect.Descriptor instead.

func (*AiMarkRequest) GetAmount

func (x *AiMarkRequest) GetAmount() int32

func (*AiMarkRequest) GetBarCode

func (x *AiMarkRequest) GetBarCode() string

func (*AiMarkRequest) GetMarkType

func (x *AiMarkRequest) GetMarkType() MarkType

func (*AiMarkRequest) GetPluCode

func (x *AiMarkRequest) GetPluCode() string

func (*AiMarkRequest) GetPrice

func (x *AiMarkRequest) GetPrice() int32

func (*AiMarkRequest) GetPriceUnit

func (x *AiMarkRequest) GetPriceUnit() PriceUnitType

func (*AiMarkRequest) GetSalePrice

func (x *AiMarkRequest) GetSalePrice() int32

func (*AiMarkRequest) GetSales

func (x *AiMarkRequest) GetSales() int32

func (*AiMarkRequest) ProtoMessage

func (*AiMarkRequest) ProtoMessage()

func (*AiMarkRequest) ProtoReflect

func (x *AiMarkRequest) ProtoReflect() protoreflect.Message

func (*AiMarkRequest) Reset

func (x *AiMarkRequest) Reset()

func (*AiMarkRequest) String

func (x *AiMarkRequest) String() string

func (*AiMarkRequest) Validator

func (val *AiMarkRequest) Validator() error

Validator 校验点选标记参数

type AiMatchingReply

type AiMatchingReply struct {
	Status            *PublicReply               `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`                       // 响应状态
	AiMatchingRequest *AiMatchingRequest         `protobuf:"bytes,2,opt,name=aiMatchingRequest,proto3" json:"aiMatchingRequest,omitempty"` // 传入的参数
	MatchIndex        uint32                     `protobuf:"varint,3,opt,name=matchIndex,proto3" json:"matchIndex,omitempty"`              // 第几次识别
	IdentifyID        uint32                     `protobuf:"varint,4,opt,name=identifyID,proto3" json:"identifyID,omitempty"`              // 识别ID
	PluList           []*AiMatchingReply_PluItem `protobuf:"bytes,5,rep,name=pluList,proto3" json:"pluList,omitempty"`                     // 匹配规则输出列表
	// contains filtered or unexported fields
}

AiMatchingReply AI识别(出参)

func (*AiMatchingReply) Descriptor deprecated

func (*AiMatchingReply) Descriptor() ([]byte, []int)

Deprecated: Use AiMatchingReply.ProtoReflect.Descriptor instead.

func (*AiMatchingReply) GetAiMatchingRequest

func (x *AiMatchingReply) GetAiMatchingRequest() *AiMatchingRequest

func (*AiMatchingReply) GetIdentifyID

func (x *AiMatchingReply) GetIdentifyID() uint32

func (*AiMatchingReply) GetMatchIndex

func (x *AiMatchingReply) GetMatchIndex() uint32

func (*AiMatchingReply) GetPluList

func (x *AiMatchingReply) GetPluList() []*AiMatchingReply_PluItem

func (*AiMatchingReply) GetStatus

func (x *AiMatchingReply) GetStatus() *PublicReply

func (*AiMatchingReply) ProtoMessage

func (*AiMatchingReply) ProtoMessage()

func (*AiMatchingReply) ProtoReflect

func (x *AiMatchingReply) ProtoReflect() protoreflect.Message

func (*AiMatchingReply) Reset

func (x *AiMatchingReply) Reset()

func (*AiMatchingReply) String

func (x *AiMatchingReply) String() string

type AiMatchingReply_PluItem

type AiMatchingReply_PluItem struct {
	PluCode string `protobuf:"bytes,1,opt,name=pluCode,proto3" json:"pluCode,omitempty"` // 商品编码
	PluName string `protobuf:"bytes,2,opt,name=pluName,proto3" json:"pluName,omitempty"` // 商品名称
	// contains filtered or unexported fields
}

识别结果单个结构

func (*AiMatchingReply_PluItem) Descriptor deprecated

func (*AiMatchingReply_PluItem) Descriptor() ([]byte, []int)

Deprecated: Use AiMatchingReply_PluItem.ProtoReflect.Descriptor instead.

func (*AiMatchingReply_PluItem) GetPluCode

func (x *AiMatchingReply_PluItem) GetPluCode() string

func (*AiMatchingReply_PluItem) GetPluName

func (x *AiMatchingReply_PluItem) GetPluName() string

func (*AiMatchingReply_PluItem) ProtoMessage

func (*AiMatchingReply_PluItem) ProtoMessage()

func (*AiMatchingReply_PluItem) ProtoReflect

func (x *AiMatchingReply_PluItem) ProtoReflect() protoreflect.Message

func (*AiMatchingReply_PluItem) Reset

func (x *AiMatchingReply_PluItem) Reset()

func (*AiMatchingReply_PluItem) String

func (x *AiMatchingReply_PluItem) String() string

type AiMatchingRequest

type AiMatchingRequest struct {
	MaxNum    int32        `protobuf:"varint,1,opt,name=maxNum,proto3" json:"maxNum,omitempty"`                                           // 最大输出数量(1<=maxNum<=20,默认: 5)
	Weight    int32        `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`                                           // 传入的识别重量
	Stable    WeightStatus `protobuf:"varint,3,opt,name=stable,proto3,enum=YoYo.YuTooAiPb.V1.WeightStatus" json:"stable,omitempty"`       // 重量稳定状态
	MatchType MatchingType `protobuf:"varint,4,opt,name=matchType,proto3,enum=YoYo.YuTooAiPb.V1.MatchingType" json:"matchType,omitempty"` // 识别类型
	// contains filtered or unexported fields
}

AiMatchingRequest AI识别(入参)

func (*AiMatchingRequest) Descriptor deprecated

func (*AiMatchingRequest) Descriptor() ([]byte, []int)

Deprecated: Use AiMatchingRequest.ProtoReflect.Descriptor instead.

func (*AiMatchingRequest) GetMatchType

func (x *AiMatchingRequest) GetMatchType() MatchingType

func (*AiMatchingRequest) GetMaxNum

func (x *AiMatchingRequest) GetMaxNum() int32

func (*AiMatchingRequest) GetStable

func (x *AiMatchingRequest) GetStable() WeightStatus

func (*AiMatchingRequest) GetWeight

func (x *AiMatchingRequest) GetWeight() int32

func (*AiMatchingRequest) ProtoMessage

func (*AiMatchingRequest) ProtoMessage()

func (*AiMatchingRequest) ProtoReflect

func (x *AiMatchingRequest) ProtoReflect() protoreflect.Message

func (*AiMatchingRequest) Reset

func (x *AiMatchingRequest) Reset()

func (*AiMatchingRequest) String

func (x *AiMatchingRequest) String() string

func (*AiMatchingRequest) Validator

func (val *AiMatchingRequest) Validator() error

Validator 校验AI识别参数

type CorrectStudyDataRequest

type CorrectStudyDataRequest struct {
	PluCodeList []string `protobuf:"bytes,1,rep,name=pluCodeList,proto3" json:"pluCodeList,omitempty"` // 识别接口输出结果中需要删除的商品编码列表
	// contains filtered or unexported fields
}

CorrectStudyDataRequest 矫正学习数据(入参)

func (*CorrectStudyDataRequest) Descriptor deprecated

func (*CorrectStudyDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use CorrectStudyDataRequest.ProtoReflect.Descriptor instead.

func (*CorrectStudyDataRequest) GetPluCodeList

func (x *CorrectStudyDataRequest) GetPluCodeList() []string

func (*CorrectStudyDataRequest) ProtoMessage

func (*CorrectStudyDataRequest) ProtoMessage()

func (*CorrectStudyDataRequest) ProtoReflect

func (x *CorrectStudyDataRequest) ProtoReflect() protoreflect.Message

func (*CorrectStudyDataRequest) Reset

func (x *CorrectStudyDataRequest) Reset()

func (*CorrectStudyDataRequest) String

func (x *CorrectStudyDataRequest) String() string

func (*CorrectStudyDataRequest) Validator

func (val *CorrectStudyDataRequest) Validator() error

Validator 校验矫正学习数据参数

type EditShopRequest

type EditShopRequest struct {
	ShopName     string `protobuf:"bytes,1,opt,name=shopName,proto3" json:"shopName,omitempty"`         // 门点名称
	ShopContact  string `protobuf:"bytes,2,opt,name=shopContact,proto3" json:"shopContact,omitempty"`   // 门店联系人
	ContactPhone string `protobuf:"bytes,3,opt,name=contactPhone,proto3" json:"contactPhone,omitempty"` // 门店联系人电话
	// contains filtered or unexported fields
}

EditShopRequest 编辑门店信息(入参)

func (*EditShopRequest) Descriptor deprecated

func (*EditShopRequest) Descriptor() ([]byte, []int)

Deprecated: Use EditShopRequest.ProtoReflect.Descriptor instead.

func (*EditShopRequest) GetContactPhone

func (x *EditShopRequest) GetContactPhone() string

func (*EditShopRequest) GetShopContact

func (x *EditShopRequest) GetShopContact() string

func (*EditShopRequest) GetShopName

func (x *EditShopRequest) GetShopName() string

func (*EditShopRequest) ProtoMessage

func (*EditShopRequest) ProtoMessage()

func (*EditShopRequest) ProtoReflect

func (x *EditShopRequest) ProtoReflect() protoreflect.Message

func (*EditShopRequest) Reset

func (x *EditShopRequest) Reset()

func (*EditShopRequest) String

func (x *EditShopRequest) String() string

func (*EditShopRequest) Validator

func (val *EditShopRequest) Validator() error

Validator 校验编辑门店信息参数

type EmptyRequest

type EmptyRequest struct {
	// contains filtered or unexported fields
}

EmptyRequest 空请求(入参)

func (*EmptyRequest) Descriptor deprecated

func (*EmptyRequest) Descriptor() ([]byte, []int)

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

func (x *EmptyRequest) ProtoReflect() protoreflect.Message

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type GetCameraAreaReply

type GetCameraAreaReply struct {
	Status       *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`              // 响应状态
	LeftTopX     int32        `protobuf:"varint,2,opt,name=leftTopX,proto3" json:"leftTopX,omitempty"`         // 相机截取左上角X坐标
	LeftTopY     int32        `protobuf:"varint,3,opt,name=leftTopY,proto3" json:"leftTopY,omitempty"`         // 相机截取左上角Y坐标
	RightTopX    int32        `protobuf:"varint,4,opt,name=rightTopX,proto3" json:"rightTopX,omitempty"`       // 相机截取右上角X坐标
	RightTopY    int32        `protobuf:"varint,5,opt,name=rightTopY,proto3" json:"rightTopY,omitempty"`       // 相机截取右上角Y坐标
	RightBottomX int32        `protobuf:"varint,6,opt,name=rightBottomX,proto3" json:"rightBottomX,omitempty"` // 相机截取右下角X坐标
	RightBottomY int32        `protobuf:"varint,7,opt,name=rightBottomY,proto3" json:"rightBottomY,omitempty"` // 相机截取右下角Y坐标
	LeftBottomX  int32        `protobuf:"varint,8,opt,name=leftBottomX,proto3" json:"leftBottomX,omitempty"`   // 相机截取左下角X坐标
	LeftBottomY  int32        `protobuf:"varint,9,opt,name=leftBottomY,proto3" json:"leftBottomY,omitempty"`   // 相机截取左下角Y坐标
	TotalWidth   int32        `protobuf:"varint,10,opt,name=totalWidth,proto3" json:"totalWidth,omitempty"`    // 相机拍摄总宽度
	TotalHeight  int32        `protobuf:"varint,11,opt,name=totalHeight,proto3" json:"totalHeight,omitempty"`  // 相机拍摄总高度
	CameraInfo   string       `protobuf:"bytes,12,opt,name=cameraInfo,proto3" json:"cameraInfo,omitempty"`     // 相机信息
	// contains filtered or unexported fields
}

GetCameraAreaReply 获取识别区域(出参)

func (*GetCameraAreaReply) Descriptor deprecated

func (*GetCameraAreaReply) Descriptor() ([]byte, []int)

Deprecated: Use GetCameraAreaReply.ProtoReflect.Descriptor instead.

func (*GetCameraAreaReply) GetCameraInfo

func (x *GetCameraAreaReply) GetCameraInfo() string

func (*GetCameraAreaReply) GetLeftBottomX

func (x *GetCameraAreaReply) GetLeftBottomX() int32

func (*GetCameraAreaReply) GetLeftBottomY

func (x *GetCameraAreaReply) GetLeftBottomY() int32

func (*GetCameraAreaReply) GetLeftTopX

func (x *GetCameraAreaReply) GetLeftTopX() int32

func (*GetCameraAreaReply) GetLeftTopY

func (x *GetCameraAreaReply) GetLeftTopY() int32

func (*GetCameraAreaReply) GetRightBottomX

func (x *GetCameraAreaReply) GetRightBottomX() int32

func (*GetCameraAreaReply) GetRightBottomY

func (x *GetCameraAreaReply) GetRightBottomY() int32

func (*GetCameraAreaReply) GetRightTopX

func (x *GetCameraAreaReply) GetRightTopX() int32

func (*GetCameraAreaReply) GetRightTopY

func (x *GetCameraAreaReply) GetRightTopY() int32

func (*GetCameraAreaReply) GetStatus

func (x *GetCameraAreaReply) GetStatus() *PublicReply

func (*GetCameraAreaReply) GetTotalHeight

func (x *GetCameraAreaReply) GetTotalHeight() int32

func (*GetCameraAreaReply) GetTotalWidth

func (x *GetCameraAreaReply) GetTotalWidth() int32

func (*GetCameraAreaReply) ProtoMessage

func (*GetCameraAreaReply) ProtoMessage()

func (*GetCameraAreaReply) ProtoReflect

func (x *GetCameraAreaReply) ProtoReflect() protoreflect.Message

func (*GetCameraAreaReply) Reset

func (x *GetCameraAreaReply) Reset()

func (*GetCameraAreaReply) String

func (x *GetCameraAreaReply) String() string

type GetCameraListReply

type GetCameraListReply struct {
	Status         *PublicReply                     `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`                 // 响应状态
	SelectedCamera *GetCameraListReply_CameraInfo   `protobuf:"bytes,2,opt,name=selectedCamera,proto3" json:"selectedCamera,omitempty"` // 已选中的相机
	CameraList     []*GetCameraListReply_CameraInfo `protobuf:"bytes,4,rep,name=cameraList,proto3" json:"cameraList,omitempty"`         // 相机列表
	// contains filtered or unexported fields
}

GetCameraListReply 获取相机列表(出参)

func (*GetCameraListReply) Descriptor deprecated

func (*GetCameraListReply) Descriptor() ([]byte, []int)

Deprecated: Use GetCameraListReply.ProtoReflect.Descriptor instead.

func (*GetCameraListReply) GetCameraList

func (x *GetCameraListReply) GetCameraList() []*GetCameraListReply_CameraInfo

func (*GetCameraListReply) GetSelectedCamera

func (x *GetCameraListReply) GetSelectedCamera() *GetCameraListReply_CameraInfo

func (*GetCameraListReply) GetStatus

func (x *GetCameraListReply) GetStatus() *PublicReply

func (*GetCameraListReply) ProtoMessage

func (*GetCameraListReply) ProtoMessage()

func (*GetCameraListReply) ProtoReflect

func (x *GetCameraListReply) ProtoReflect() protoreflect.Message

func (*GetCameraListReply) Reset

func (x *GetCameraListReply) Reset()

func (*GetCameraListReply) String

func (x *GetCameraListReply) String() string

type GetCameraListReply_CameraInfo

type GetCameraListReply_CameraInfo struct {
	CameraID           uint32 `protobuf:"varint,1,opt,name=cameraID,proto3" json:"cameraID,omitempty"`                    // 相机ID
	CameraName         string `protobuf:"bytes,2,opt,name=cameraName,proto3" json:"cameraName,omitempty"`                 // 相机名称
	CameraSymbolicLink string `protobuf:"bytes,3,opt,name=cameraSymbolicLink,proto3" json:"cameraSymbolicLink,omitempty"` // 相机路径
	CameraLocationInfo string `protobuf:"bytes,4,opt,name=cameraLocationInfo,proto3" json:"cameraLocationInfo,omitempty"` // 相机本地编码
	// contains filtered or unexported fields
}

相机信息

func (*GetCameraListReply_CameraInfo) Descriptor deprecated

func (*GetCameraListReply_CameraInfo) Descriptor() ([]byte, []int)

Deprecated: Use GetCameraListReply_CameraInfo.ProtoReflect.Descriptor instead.

func (*GetCameraListReply_CameraInfo) GetCameraID

func (x *GetCameraListReply_CameraInfo) GetCameraID() uint32

func (*GetCameraListReply_CameraInfo) GetCameraLocationInfo

func (x *GetCameraListReply_CameraInfo) GetCameraLocationInfo() string

func (*GetCameraListReply_CameraInfo) GetCameraName

func (x *GetCameraListReply_CameraInfo) GetCameraName() string
func (x *GetCameraListReply_CameraInfo) GetCameraSymbolicLink() string

func (*GetCameraListReply_CameraInfo) ProtoMessage

func (*GetCameraListReply_CameraInfo) ProtoMessage()

func (*GetCameraListReply_CameraInfo) ProtoReflect

func (*GetCameraListReply_CameraInfo) Reset

func (x *GetCameraListReply_CameraInfo) Reset()

func (*GetCameraListReply_CameraInfo) String

type GetCameraStreamReply

type GetCameraStreamReply struct {
	Status *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // 响应状态
	Stream []byte       `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"` // 图片流
	// contains filtered or unexported fields
}

GetCameraStreamReply 获取相机流(出参)

func (*GetCameraStreamReply) Descriptor deprecated

func (*GetCameraStreamReply) Descriptor() ([]byte, []int)

Deprecated: Use GetCameraStreamReply.ProtoReflect.Descriptor instead.

func (*GetCameraStreamReply) GetStatus

func (x *GetCameraStreamReply) GetStatus() *PublicReply

func (*GetCameraStreamReply) GetStream

func (x *GetCameraStreamReply) GetStream() []byte

func (*GetCameraStreamReply) ProtoMessage

func (*GetCameraStreamReply) ProtoMessage()

func (*GetCameraStreamReply) ProtoReflect

func (x *GetCameraStreamReply) ProtoReflect() protoreflect.Message

func (*GetCameraStreamReply) Reset

func (x *GetCameraStreamReply) Reset()

func (*GetCameraStreamReply) String

func (x *GetCameraStreamReply) String() string

type GetCameraStreamRequest

type GetCameraStreamRequest struct {
	Fps uint32 `protobuf:"varint,1,opt,name=fps,proto3" json:"fps,omitempty"` // 推流帧率
	// contains filtered or unexported fields
}

GetCameraStreamRequest 获取相机流(入参)

func (*GetCameraStreamRequest) Descriptor deprecated

func (*GetCameraStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCameraStreamRequest.ProtoReflect.Descriptor instead.

func (*GetCameraStreamRequest) GetFps

func (x *GetCameraStreamRequest) GetFps() uint32

func (*GetCameraStreamRequest) ProtoMessage

func (*GetCameraStreamRequest) ProtoMessage()

func (*GetCameraStreamRequest) ProtoReflect

func (x *GetCameraStreamRequest) ProtoReflect() protoreflect.Message

func (*GetCameraStreamRequest) Reset

func (x *GetCameraStreamRequest) Reset()

func (*GetCameraStreamRequest) String

func (x *GetCameraStreamRequest) String() string

func (*GetCameraStreamRequest) Validator

func (val *GetCameraStreamRequest) Validator() error

Validator 校验相机取流参数

type GetDeviceInfoReply

type GetDeviceInfoReply struct {
	Status       *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`             // 响应状态
	IsDemo       bool         `protobuf:"varint,2,opt,name=isDemo,proto3" json:"isDemo,omitempty"`            // 是否为演示模式
	Sn           string       `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`                     // 设备SN
	CdKey        string       `protobuf:"bytes,4,opt,name=cdKey,proto3" json:"cdKey,omitempty"`               // 激活码
	ShopCode     string       `protobuf:"bytes,5,opt,name=shopCode,proto3" json:"shopCode,omitempty"`         // 门店编码
	ShopName     string       `protobuf:"bytes,6,opt,name=shopName,proto3" json:"shopName,omitempty"`         // 门店名称
	ShopContact  string       `protobuf:"bytes,7,opt,name=shopContact,proto3" json:"shopContact,omitempty"`   // 联系人
	ContactPhone string       `protobuf:"bytes,8,opt,name=contactPhone,proto3" json:"contactPhone,omitempty"` // 联系人电话
	// contains filtered or unexported fields
}

GetDeviceInfoReply 获取设备信息(出参)

func (*GetDeviceInfoReply) Descriptor deprecated

func (*GetDeviceInfoReply) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceInfoReply.ProtoReflect.Descriptor instead.

func (*GetDeviceInfoReply) GetCdKey

func (x *GetDeviceInfoReply) GetCdKey() string

func (*GetDeviceInfoReply) GetContactPhone

func (x *GetDeviceInfoReply) GetContactPhone() string

func (*GetDeviceInfoReply) GetIsDemo

func (x *GetDeviceInfoReply) GetIsDemo() bool

func (*GetDeviceInfoReply) GetShopCode

func (x *GetDeviceInfoReply) GetShopCode() string

func (*GetDeviceInfoReply) GetShopContact

func (x *GetDeviceInfoReply) GetShopContact() string

func (*GetDeviceInfoReply) GetShopName

func (x *GetDeviceInfoReply) GetShopName() string

func (*GetDeviceInfoReply) GetSn

func (x *GetDeviceInfoReply) GetSn() string

func (*GetDeviceInfoReply) GetStatus

func (x *GetDeviceInfoReply) GetStatus() *PublicReply

func (*GetDeviceInfoReply) ProtoMessage

func (*GetDeviceInfoReply) ProtoMessage()

func (*GetDeviceInfoReply) ProtoReflect

func (x *GetDeviceInfoReply) ProtoReflect() protoreflect.Message

func (*GetDeviceInfoReply) Reset

func (x *GetDeviceInfoReply) Reset()

func (*GetDeviceInfoReply) String

func (x *GetDeviceInfoReply) String() string

type GetKeyValReply

type GetKeyValReply struct {
	Status *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // 响应状态
	Value  string       `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`   // 扩展参数key对应的value
	// contains filtered or unexported fields
}

GetKeyValReply 获取扩展参数(出参)

func (*GetKeyValReply) Descriptor deprecated

func (*GetKeyValReply) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyValReply.ProtoReflect.Descriptor instead.

func (*GetKeyValReply) GetStatus

func (x *GetKeyValReply) GetStatus() *PublicReply

func (*GetKeyValReply) GetValue

func (x *GetKeyValReply) GetValue() string

func (*GetKeyValReply) ProtoMessage

func (*GetKeyValReply) ProtoMessage()

func (*GetKeyValReply) ProtoReflect

func (x *GetKeyValReply) ProtoReflect() protoreflect.Message

func (*GetKeyValReply) Reset

func (x *GetKeyValReply) Reset()

func (*GetKeyValReply) String

func (x *GetKeyValReply) String() string

type GetKeyValRequest

type GetKeyValRequest struct {
	Key KeyName `protobuf:"varint,1,opt,name=key,proto3,enum=YoYo.YuTooAiPb.V1.KeyName" json:"key,omitempty"` // 扩展参数键名
	// contains filtered or unexported fields
}

GetKeyValRequest 获取扩展参数(入参)

func (*GetKeyValRequest) Descriptor deprecated

func (*GetKeyValRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyValRequest.ProtoReflect.Descriptor instead.

func (*GetKeyValRequest) GetKey

func (x *GetKeyValRequest) GetKey() KeyName

func (*GetKeyValRequest) ProtoMessage

func (*GetKeyValRequest) ProtoMessage()

func (*GetKeyValRequest) ProtoReflect

func (x *GetKeyValRequest) ProtoReflect() protoreflect.Message

func (*GetKeyValRequest) Reset

func (x *GetKeyValRequest) Reset()

func (*GetKeyValRequest) String

func (x *GetKeyValRequest) String() string

func (*GetKeyValRequest) Validator

func (val *GetKeyValRequest) Validator() error

Validator 校验获取扩展信息参数

type GetLogReply

type GetLogReply struct {
	LogStr string `protobuf:"bytes,1,opt,name=logStr,proto3" json:"logStr,omitempty"` // 日志输出
	// contains filtered or unexported fields
}

GetLogReply 获取日志信息(出参)

func (*GetLogReply) Descriptor deprecated

func (*GetLogReply) Descriptor() ([]byte, []int)

Deprecated: Use GetLogReply.ProtoReflect.Descriptor instead.

func (*GetLogReply) GetLogStr

func (x *GetLogReply) GetLogStr() string

func (*GetLogReply) ProtoMessage

func (*GetLogReply) ProtoMessage()

func (*GetLogReply) ProtoReflect

func (x *GetLogReply) ProtoReflect() protoreflect.Message

func (*GetLogReply) Reset

func (x *GetLogReply) Reset()

func (*GetLogReply) String

func (x *GetLogReply) String() string

type GetPerformanceModelReply

type GetPerformanceModelReply struct {
	Status *PublicReply     `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`                                        // 响应状态
	Model  PerformanceModel `protobuf:"varint,2,opt,name=model,proto3,enum=YoYo.YuTooAiPb.V1.PerformanceModel" json:"model,omitempty"` // 性能模式
	// contains filtered or unexported fields
}

GetPerformanceModelReply 获取性能模式(出参)

func (*GetPerformanceModelReply) Descriptor deprecated

func (*GetPerformanceModelReply) Descriptor() ([]byte, []int)

Deprecated: Use GetPerformanceModelReply.ProtoReflect.Descriptor instead.

func (*GetPerformanceModelReply) GetModel

func (*GetPerformanceModelReply) GetStatus

func (x *GetPerformanceModelReply) GetStatus() *PublicReply

func (*GetPerformanceModelReply) ProtoMessage

func (*GetPerformanceModelReply) ProtoMessage()

func (*GetPerformanceModelReply) ProtoReflect

func (x *GetPerformanceModelReply) ProtoReflect() protoreflect.Message

func (*GetPerformanceModelReply) Reset

func (x *GetPerformanceModelReply) Reset()

func (*GetPerformanceModelReply) String

func (x *GetPerformanceModelReply) String() string

type GetStudyDataReply

type GetStudyDataReply struct {
	Status    *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`       // 状态信息
	StudyData []byte       `protobuf:"bytes,2,opt,name=studyData,proto3" json:"studyData,omitempty"` // 学习数据
	// contains filtered or unexported fields
}

GetStudyDataReply 获取学习数据(出参)

func (*GetStudyDataReply) Descriptor deprecated

func (*GetStudyDataReply) Descriptor() ([]byte, []int)

Deprecated: Use GetStudyDataReply.ProtoReflect.Descriptor instead.

func (*GetStudyDataReply) GetStatus

func (x *GetStudyDataReply) GetStatus() *PublicReply

func (*GetStudyDataReply) GetStudyData

func (x *GetStudyDataReply) GetStudyData() []byte

func (*GetStudyDataReply) ProtoMessage

func (*GetStudyDataReply) ProtoMessage()

func (*GetStudyDataReply) ProtoReflect

func (x *GetStudyDataReply) ProtoReflect() protoreflect.Message

func (*GetStudyDataReply) Reset

func (x *GetStudyDataReply) Reset()

func (*GetStudyDataReply) String

func (x *GetStudyDataReply) String() string

type GetVersionReply

type GetVersionReply struct {
	Status          *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`                   // 响应状态
	SdkVersion      string       `protobuf:"bytes,2,opt,name=sdkVersion,proto3" json:"sdkVersion,omitempty"`           // SDK版本
	IdentifyVersion string       `protobuf:"bytes,3,opt,name=identifyVersion,proto3" json:"identifyVersion,omitempty"` // 识别模型版本
	MatchingVersion string       `protobuf:"bytes,4,opt,name=matchingVersion,proto3" json:"matchingVersion,omitempty"` // 匹配规则版本
	CameraVersion   string       `protobuf:"bytes,5,opt,name=cameraVersion,proto3" json:"cameraVersion,omitempty"`     // 相机版本
	MachineVersion  string       `protobuf:"bytes,6,opt,name=machineVersion,proto3" json:"machineVersion,omitempty"`   // 机器码版本
	// contains filtered or unexported fields
}

GetVersionReply 获取版本信息(出参)

func (*GetVersionReply) Descriptor deprecated

func (*GetVersionReply) Descriptor() ([]byte, []int)

Deprecated: Use GetVersionReply.ProtoReflect.Descriptor instead.

func (*GetVersionReply) GetCameraVersion

func (x *GetVersionReply) GetCameraVersion() string

func (*GetVersionReply) GetIdentifyVersion

func (x *GetVersionReply) GetIdentifyVersion() string

func (*GetVersionReply) GetMachineVersion

func (x *GetVersionReply) GetMachineVersion() string

func (*GetVersionReply) GetMatchingVersion

func (x *GetVersionReply) GetMatchingVersion() string

func (*GetVersionReply) GetSdkVersion

func (x *GetVersionReply) GetSdkVersion() string

func (*GetVersionReply) GetStatus

func (x *GetVersionReply) GetStatus() *PublicReply

func (*GetVersionReply) ProtoMessage

func (*GetVersionReply) ProtoMessage()

func (*GetVersionReply) ProtoReflect

func (x *GetVersionReply) ProtoReflect() protoreflect.Message

func (*GetVersionReply) Reset

func (x *GetVersionReply) Reset()

func (*GetVersionReply) String

func (x *GetVersionReply) String() string

type KeyName

type KeyName int32

KeyName 扩展键名

const (
	// WebSocket代理访问本地HTTP服务的端口(默认:18000)
	KeyName_WssProxyHttpServerPort KeyName = 0
	// WebSocket代理访问本地HTTP服务的固定API前缀(默认:无)
	KeyName_WssProxyHttpApiPrefix KeyName = 1
	// 是否开启SO自动更新(0-不开启,1-开启,默认:1)
	KeyName_AutoUpdate KeyName = 2
	// 退出时是否释放相机(0-不释放,1-释放,默认:1)
	KeyName_StopCamera KeyName = 3
	// 最小识别克数(最小-1,默认:20)
	KeyName_MinMatchWeight KeyName = 4
	// API接口基本地址(默认:由图API正式服域名)
	KeyName_ApiBaseUrl KeyName = 5
	// 是否需要上传PLU数据(0-不上传,1-要上传,默认:1)
	KeyName_UploadPlu KeyName = 6
	// 前端版本号(默认:无)
	KeyName_AppVersion KeyName = 7
	// 前端分支类型(前端程序-1,SDK程序-2,默认:2)
	KeyName_FrontEndBranch KeyName = 8
	// 称号(默认:无)
	KeyName_ScaleNo KeyName = 9
	// 操作员名称(默认:无)
	KeyName_OperatorName KeyName = 10
)

func (KeyName) Descriptor

func (KeyName) Descriptor() protoreflect.EnumDescriptor

func (KeyName) Enum

func (x KeyName) Enum() *KeyName

func (KeyName) EnumDescriptor deprecated

func (KeyName) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyName.Descriptor instead.

func (KeyName) Number

func (x KeyName) Number() protoreflect.EnumNumber

func (KeyName) String

func (x KeyName) String() string

func (KeyName) Type

func (KeyName) Type() protoreflect.EnumType

type LocalImageStudyReply added in v0.2.0

type LocalImageStudyReply struct {
	Completed int32 `protobuf:"varint,1,opt,name=completed,proto3" json:"completed,omitempty"` // 已完成学习的图片数量
	Total     int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`         // 需要学习的图片总数量
	// contains filtered or unexported fields
}

LocalImageStudyReply 本地图片学习(出参)

func (*LocalImageStudyReply) Descriptor deprecated added in v0.2.0

func (*LocalImageStudyReply) Descriptor() ([]byte, []int)

Deprecated: Use LocalImageStudyReply.ProtoReflect.Descriptor instead.

func (*LocalImageStudyReply) GetCompleted added in v0.2.0

func (x *LocalImageStudyReply) GetCompleted() int32

func (*LocalImageStudyReply) GetTotal added in v0.2.0

func (x *LocalImageStudyReply) GetTotal() int32

func (*LocalImageStudyReply) ProtoMessage added in v0.2.0

func (*LocalImageStudyReply) ProtoMessage()

func (*LocalImageStudyReply) ProtoReflect added in v0.2.0

func (x *LocalImageStudyReply) ProtoReflect() protoreflect.Message

func (*LocalImageStudyReply) Reset added in v0.2.0

func (x *LocalImageStudyReply) Reset()

func (*LocalImageStudyReply) String added in v0.2.0

func (x *LocalImageStudyReply) String() string

type MarkType

type MarkType int32

MarkType 点选标记方式

const (
	MarkType_noAction   MarkType = 0 // 无后续操作
	MarkType_matchOut   MarkType = 2 // 在识别结果中选择
	MarkType_search     MarkType = 4 // 在搜索结果中选择
	MarkType_studyModel MarkType = 9 // 学习模式
)

func (MarkType) Descriptor

func (MarkType) Descriptor() protoreflect.EnumDescriptor

func (MarkType) Enum

func (x MarkType) Enum() *MarkType

func (MarkType) EnumDescriptor deprecated

func (MarkType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MarkType.Descriptor instead.

func (MarkType) Number

func (x MarkType) Number() protoreflect.EnumNumber

func (MarkType) String

func (x MarkType) String() string

func (MarkType) Type

type MatchingType

type MatchingType int32

MatchingType 识别类型

const (
	MatchingType_auto       MatchingType = 0 // 自动识别
	MatchingType_forcibly   MatchingType = 1 // 强制识别
	MatchingType_correction MatchingType = 2 // 矫正识别
)

func (MatchingType) Descriptor

func (MatchingType) Enum

func (x MatchingType) Enum() *MatchingType

func (MatchingType) EnumDescriptor deprecated

func (MatchingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MatchingType.Descriptor instead.

func (MatchingType) Number

func (MatchingType) String

func (x MatchingType) String() string

func (MatchingType) Type

type OpenCameraRequest

type OpenCameraRequest struct {
	CameraID uint32 `protobuf:"varint,1,opt,name=cameraID,proto3" json:"cameraID,omitempty"` // 相机ID
	// contains filtered or unexported fields
}

OpenCameraRequest 打开相机(入参)

func (*OpenCameraRequest) Descriptor deprecated

func (*OpenCameraRequest) Descriptor() ([]byte, []int)

Deprecated: Use OpenCameraRequest.ProtoReflect.Descriptor instead.

func (*OpenCameraRequest) GetCameraID

func (x *OpenCameraRequest) GetCameraID() uint32

func (*OpenCameraRequest) ProtoMessage

func (*OpenCameraRequest) ProtoMessage()

func (*OpenCameraRequest) ProtoReflect

func (x *OpenCameraRequest) ProtoReflect() protoreflect.Message

func (*OpenCameraRequest) Reset

func (x *OpenCameraRequest) Reset()

func (*OpenCameraRequest) String

func (x *OpenCameraRequest) String() string

func (*OpenCameraRequest) Validator

func (val *OpenCameraRequest) Validator() error

Validator 校验打开相机参数

type PerformanceModel

type PerformanceModel int32

PerformanceModel 性能模式枚举

const (
	PerformanceModel_balancedModel  PerformanceModel = 0 // 均衡模式(占用CPU: 50%)
	PerformanceModel_efficientModel PerformanceModel = 1 // 高效模式(占用CPU: 100%)
)

func (PerformanceModel) Descriptor

func (PerformanceModel) Enum

func (PerformanceModel) EnumDescriptor deprecated

func (PerformanceModel) EnumDescriptor() ([]byte, []int)

Deprecated: Use PerformanceModel.Descriptor instead.

func (PerformanceModel) Number

func (PerformanceModel) String

func (x PerformanceModel) String() string

func (PerformanceModel) Type

type PluMatchReply

type PluMatchReply struct {
	Status     *PublicReply                    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`         // 响应状态
	ResultList []*PluMatchReply_PluMatchResult `protobuf:"bytes,2,rep,name=resultList,proto3" json:"resultList,omitempty"` // 匹配结果列表
	// contains filtered or unexported fields
}

PluMatchReply 商品信息匹配(出参)

func (*PluMatchReply) Descriptor deprecated

func (*PluMatchReply) Descriptor() ([]byte, []int)

Deprecated: Use PluMatchReply.ProtoReflect.Descriptor instead.

func (*PluMatchReply) GetResultList

func (x *PluMatchReply) GetResultList() []*PluMatchReply_PluMatchResult

func (*PluMatchReply) GetStatus

func (x *PluMatchReply) GetStatus() *PublicReply

func (*PluMatchReply) ProtoMessage

func (*PluMatchReply) ProtoMessage()

func (*PluMatchReply) ProtoReflect

func (x *PluMatchReply) ProtoReflect() protoreflect.Message

func (*PluMatchReply) Reset

func (x *PluMatchReply) Reset()

func (*PluMatchReply) String

func (x *PluMatchReply) String() string

type PluMatchReply_PluMatchResult

type PluMatchReply_PluMatchResult struct {
	PluName  string   `protobuf:"bytes,1,opt,name=pluName,proto3" json:"pluName,omitempty"`   // 商品名称
	IsLock   bool     `protobuf:"varint,2,opt,name=isLock,proto3" json:"isLock,omitempty"`    // 商品是否已被锁定
	IconList []string `protobuf:"bytes,3,rep,name=iconList,proto3" json:"iconList,omitempty"` // 商品图片列表
	// contains filtered or unexported fields
}

匹配结果结构

func (*PluMatchReply_PluMatchResult) Descriptor deprecated

func (*PluMatchReply_PluMatchResult) Descriptor() ([]byte, []int)

Deprecated: Use PluMatchReply_PluMatchResult.ProtoReflect.Descriptor instead.

func (*PluMatchReply_PluMatchResult) GetIconList

func (x *PluMatchReply_PluMatchResult) GetIconList() []string

func (*PluMatchReply_PluMatchResult) GetIsLock

func (x *PluMatchReply_PluMatchResult) GetIsLock() bool

func (*PluMatchReply_PluMatchResult) GetPluName

func (x *PluMatchReply_PluMatchResult) GetPluName() string

func (*PluMatchReply_PluMatchResult) ProtoMessage

func (*PluMatchReply_PluMatchResult) ProtoMessage()

func (*PluMatchReply_PluMatchResult) ProtoReflect

func (*PluMatchReply_PluMatchResult) Reset

func (x *PluMatchReply_PluMatchResult) Reset()

func (*PluMatchReply_PluMatchResult) String

type PluMatchRequest

type PluMatchRequest struct {
	PluNameList []string `protobuf:"bytes,1,rep,name=pluNameList,proto3" json:"pluNameList,omitempty"` // 商品名称
	// contains filtered or unexported fields
}

PluMatchRequest 商品信息匹配(入参)

func (*PluMatchRequest) Descriptor deprecated

func (*PluMatchRequest) Descriptor() ([]byte, []int)

Deprecated: Use PluMatchRequest.ProtoReflect.Descriptor instead.

func (*PluMatchRequest) GetPluNameList

func (x *PluMatchRequest) GetPluNameList() []string

func (*PluMatchRequest) ProtoMessage

func (*PluMatchRequest) ProtoMessage()

func (*PluMatchRequest) ProtoReflect

func (x *PluMatchRequest) ProtoReflect() protoreflect.Message

func (*PluMatchRequest) Reset

func (x *PluMatchRequest) Reset()

func (*PluMatchRequest) String

func (x *PluMatchRequest) String() string

func (*PluMatchRequest) Validator

func (val *PluMatchRequest) Validator() error

Validator 校验商品信息匹配参数

type PluSyncRequest

type PluSyncRequest struct {
	PluList   []*PluSyncRequest_PluData `protobuf:"bytes,1,rep,name=pluList,proto3" json:"pluList,omitempty"`      // 商品数据列表
	ResetDemo bool                      `protobuf:"varint,2,opt,name=resetDemo,proto3" json:"resetDemo,omitempty"` // 是否为演示数据
	// contains filtered or unexported fields
}

PluSyncRequest 商品同步(入参)

func (*PluSyncRequest) Descriptor deprecated

func (*PluSyncRequest) Descriptor() ([]byte, []int)

Deprecated: Use PluSyncRequest.ProtoReflect.Descriptor instead.

func (*PluSyncRequest) GetPluList

func (x *PluSyncRequest) GetPluList() []*PluSyncRequest_PluData

func (*PluSyncRequest) GetResetDemo

func (x *PluSyncRequest) GetResetDemo() bool

func (*PluSyncRequest) ProtoMessage

func (*PluSyncRequest) ProtoMessage()

func (*PluSyncRequest) ProtoReflect

func (x *PluSyncRequest) ProtoReflect() protoreflect.Message

func (*PluSyncRequest) Reset

func (x *PluSyncRequest) Reset()

func (*PluSyncRequest) String

func (x *PluSyncRequest) String() string

func (*PluSyncRequest) Validator

func (val *PluSyncRequest) Validator() error

Validator 校验商品同步参数

type PluSyncRequest_PluData

type PluSyncRequest_PluData struct {
	PluCode string `protobuf:"bytes,1,opt,name=pluCode,proto3" json:"pluCode,omitempty"` // 商品编码
	PluName string `protobuf:"bytes,2,opt,name=pluName,proto3" json:"pluName,omitempty"` // 商品名称
	IsOn    bool   `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`      // 是否上架
	IsLock  bool   `protobuf:"varint,4,opt,name=isLock,proto3" json:"isLock,omitempty"`  // 是否锁定
	// contains filtered or unexported fields
}

PluData 商品数据结构(入参)

func (*PluSyncRequest_PluData) Descriptor deprecated

func (*PluSyncRequest_PluData) Descriptor() ([]byte, []int)

Deprecated: Use PluSyncRequest_PluData.ProtoReflect.Descriptor instead.

func (*PluSyncRequest_PluData) GetIsLock

func (x *PluSyncRequest_PluData) GetIsLock() bool

func (*PluSyncRequest_PluData) GetIsOn

func (x *PluSyncRequest_PluData) GetIsOn() bool

func (*PluSyncRequest_PluData) GetPluCode

func (x *PluSyncRequest_PluData) GetPluCode() string

func (*PluSyncRequest_PluData) GetPluName

func (x *PluSyncRequest_PluData) GetPluName() string

func (*PluSyncRequest_PluData) ProtoMessage

func (*PluSyncRequest_PluData) ProtoMessage()

func (*PluSyncRequest_PluData) ProtoReflect

func (x *PluSyncRequest_PluData) ProtoReflect() protoreflect.Message

func (*PluSyncRequest_PluData) Reset

func (x *PluSyncRequest_PluData) Reset()

func (*PluSyncRequest_PluData) String

func (x *PluSyncRequest_PluData) String() string

type PriceUnitType

type PriceUnitType int32

PriceUnitType 计价方式类型

const (
	PriceUnitType_WeightType PriceUnitType = 0 // 按重量计价
	PriceUnitType_NumberType PriceUnitType = 1 // 按数量计价
)

func (PriceUnitType) Descriptor

func (PriceUnitType) Enum

func (x PriceUnitType) Enum() *PriceUnitType

func (PriceUnitType) EnumDescriptor deprecated

func (PriceUnitType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PriceUnitType.Descriptor instead.

func (PriceUnitType) Number

func (PriceUnitType) String

func (x PriceUnitType) String() string

func (PriceUnitType) Type

type PublicReply

type PublicReply struct {
	Code ReplyCode `protobuf:"varint,1,opt,name=code,proto3,enum=YoYo.YuTooAiPb.V1.ReplyCode" json:"code,omitempty"` // 状态码
	Msg  string    `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`                                     // 状态描述
	// contains filtered or unexported fields
}

PublicReply 公共响应(出参)

func (*PublicReply) Descriptor deprecated

func (*PublicReply) Descriptor() ([]byte, []int)

Deprecated: Use PublicReply.ProtoReflect.Descriptor instead.

func (*PublicReply) GetCode

func (x *PublicReply) GetCode() ReplyCode

func (*PublicReply) GetMsg

func (x *PublicReply) GetMsg() string

func (*PublicReply) ProtoMessage

func (*PublicReply) ProtoMessage()

func (*PublicReply) ProtoReflect

func (x *PublicReply) ProtoReflect() protoreflect.Message

func (*PublicReply) Reset

func (x *PublicReply) Reset()

func (*PublicReply) String

func (x *PublicReply) String() string

type ReplyCode

type ReplyCode int32

响应码枚举

const (
	// 默认的未知错误
	ReplyCode_Unknown ReplyCode = 0
	// 默认的操作成功
	ReplyCode_Success ReplyCode = 1
	// 程序未初始化
	ReplyCode_ErrNotInit ReplyCode = 1001
	// 程序初始化失败
	ReplyCode_ErrInit ReplyCode = 1002
	// 接口参数错误
	ReplyCode_ErrParams ReplyCode = 1003
	// 程序版本信息异常
	ReplyCode_ErrVersionInfo ReplyCode = 1004
	// 修改配置信息失败
	ReplyCode_ErrSetConfig ReplyCode = 1005
	// 不支持的操作
	ReplyCode_ErrNotSupport ReplyCode = 1006
	// 新旧SN替换错误
	ReplyCode_ErrReplaceSN ReplyCode = 2001
	// 设备未激活
	ReplyCode_ErrNotActivate ReplyCode = 2002
	// 设备激活失败
	ReplyCode_ErrActivate ReplyCode = 2003
	// 设备信息异常
	ReplyCode_ErrDeviceInfo ReplyCode = 2004
	// SO库未加载
	ReplyCode_ErrNotLoadSo ReplyCode = 3001
	// SO库加载失败
	ReplyCode_ErrLoadSo ReplyCode = 3002
	// SO库未初始化
	ReplyCode_ErrNotInitSo ReplyCode = 3003
	// SO库初始化失败
	ReplyCode_ErrInitSo ReplyCode = 3004
	// 识别异常
	ReplyCode_ErrAi ReplyCode = 3005
	// 无识别记录
	ReplyCode_ErrNotIdentify ReplyCode = 3006
	// 相机异常
	ReplyCode_ErrCamera ReplyCode = 4001
	// 图像处理异常
	ReplyCode_ErrImage ReplyCode = 4002
	// 初始化商品数据异常
	ReplyCode_ErrInitPluData ReplyCode = 5001
	// 初始化ICON匹配服务异常
	ReplyCode_ErrInitIconMatch ReplyCode = 5002
	// 商品ICON匹配异常
	ReplyCode_ErrIconMatch ReplyCode = 5003
	// 商品不存在
	ReplyCode_ErrPluNotExist ReplyCode = 5004
	// 商品已锁定
	ReplyCode_ErrPluLock ReplyCode = 5005
	// 商品信息修改失败
	ReplyCode_ErrPluSetInfo ReplyCode = 5006
	// 网络异常
	ReplyCode_ErrNetwork ReplyCode = 6001
)

func (ReplyCode) Descriptor

func (ReplyCode) Descriptor() protoreflect.EnumDescriptor

func (ReplyCode) Enum

func (x ReplyCode) Enum() *ReplyCode

func (ReplyCode) EnumDescriptor deprecated

func (ReplyCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReplyCode.Descriptor instead.

func (ReplyCode) Number

func (x ReplyCode) Number() protoreflect.EnumNumber

func (ReplyCode) String

func (x ReplyCode) String() string

func (ReplyCode) ToChineseString

func (code ReplyCode) ToChineseString() string

ToChineseString 获取状态码对应的中文描述

func (ReplyCode) Type

type ScaleTransportReply

type ScaleTransportReply struct {
	DataType uint32 `protobuf:"varint,1,opt,name=dataType,proto3" json:"dataType,omitempty"` // 数据类型
	Data     string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`          // 传秤数据(json字符串)
	// contains filtered or unexported fields
}

ScaleTransportReply 第三方软件传秤

func (*ScaleTransportReply) Descriptor deprecated

func (*ScaleTransportReply) Descriptor() ([]byte, []int)

Deprecated: Use ScaleTransportReply.ProtoReflect.Descriptor instead.

func (*ScaleTransportReply) GetData

func (x *ScaleTransportReply) GetData() string

func (*ScaleTransportReply) GetDataType

func (x *ScaleTransportReply) GetDataType() uint32

func (*ScaleTransportReply) ProtoMessage

func (*ScaleTransportReply) ProtoMessage()

func (*ScaleTransportReply) ProtoReflect

func (x *ScaleTransportReply) ProtoReflect() protoreflect.Message

func (*ScaleTransportReply) Reset

func (x *ScaleTransportReply) Reset()

func (*ScaleTransportReply) String

func (x *ScaleTransportReply) String() string

type SetCameraAreaRequest

type SetCameraAreaRequest struct {
	LeftTopX     int32 `protobuf:"varint,1,opt,name=leftTopX,proto3" json:"leftTopX,omitempty"`         // 相机截取左上角X坐标
	LeftTopY     int32 `protobuf:"varint,2,opt,name=leftTopY,proto3" json:"leftTopY,omitempty"`         // 相机截取左上角Y坐标
	RightTopX    int32 `protobuf:"varint,3,opt,name=rightTopX,proto3" json:"rightTopX,omitempty"`       // 相机截取右上角X坐标
	RightTopY    int32 `protobuf:"varint,4,opt,name=rightTopY,proto3" json:"rightTopY,omitempty"`       // 相机截取右上角Y坐标
	RightBottomX int32 `protobuf:"varint,5,opt,name=rightBottomX,proto3" json:"rightBottomX,omitempty"` // 相机截取右下角X坐标
	RightBottomY int32 `protobuf:"varint,6,opt,name=rightBottomY,proto3" json:"rightBottomY,omitempty"` // 相机截取右下角Y坐标
	LeftBottomX  int32 `protobuf:"varint,7,opt,name=leftBottomX,proto3" json:"leftBottomX,omitempty"`   // 相机截取左下角X坐标
	LeftBottomY  int32 `protobuf:"varint,8,opt,name=leftBottomY,proto3" json:"leftBottomY,omitempty"`   // 相机截取左下角Y坐标
	// contains filtered or unexported fields
}

SetCameraAreaRequest 配置识别区域(入参)

func (*SetCameraAreaRequest) Descriptor deprecated

func (*SetCameraAreaRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetCameraAreaRequest.ProtoReflect.Descriptor instead.

func (*SetCameraAreaRequest) GetLeftBottomX

func (x *SetCameraAreaRequest) GetLeftBottomX() int32

func (*SetCameraAreaRequest) GetLeftBottomY

func (x *SetCameraAreaRequest) GetLeftBottomY() int32

func (*SetCameraAreaRequest) GetLeftTopX

func (x *SetCameraAreaRequest) GetLeftTopX() int32

func (*SetCameraAreaRequest) GetLeftTopY

func (x *SetCameraAreaRequest) GetLeftTopY() int32

func (*SetCameraAreaRequest) GetRightBottomX

func (x *SetCameraAreaRequest) GetRightBottomX() int32

func (*SetCameraAreaRequest) GetRightBottomY

func (x *SetCameraAreaRequest) GetRightBottomY() int32

func (*SetCameraAreaRequest) GetRightTopX

func (x *SetCameraAreaRequest) GetRightTopX() int32

func (*SetCameraAreaRequest) GetRightTopY

func (x *SetCameraAreaRequest) GetRightTopY() int32

func (*SetCameraAreaRequest) ProtoMessage

func (*SetCameraAreaRequest) ProtoMessage()

func (*SetCameraAreaRequest) ProtoReflect

func (x *SetCameraAreaRequest) ProtoReflect() protoreflect.Message

func (*SetCameraAreaRequest) Reset

func (x *SetCameraAreaRequest) Reset()

func (*SetCameraAreaRequest) String

func (x *SetCameraAreaRequest) String() string

func (*SetCameraAreaRequest) Validator

func (val *SetCameraAreaRequest) Validator() error

Validator 校验配置识别区域参数

type SetKeyValRequest

type SetKeyValRequest struct {
	Key   KeyName `protobuf:"varint,1,opt,name=key,proto3,enum=YoYo.YuTooAiPb.V1.KeyName" json:"key,omitempty"` // 扩展参数键名
	Value string  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`                             // 扩展参数键名对应的值
	// contains filtered or unexported fields
}

SetKeyValRequest 设置扩展参数(入参)

func (*SetKeyValRequest) Descriptor deprecated

func (*SetKeyValRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetKeyValRequest.ProtoReflect.Descriptor instead.

func (*SetKeyValRequest) GetKey

func (x *SetKeyValRequest) GetKey() KeyName

func (*SetKeyValRequest) GetValue

func (x *SetKeyValRequest) GetValue() string

func (*SetKeyValRequest) ProtoMessage

func (*SetKeyValRequest) ProtoMessage()

func (*SetKeyValRequest) ProtoReflect

func (x *SetKeyValRequest) ProtoReflect() protoreflect.Message

func (*SetKeyValRequest) Reset

func (x *SetKeyValRequest) Reset()

func (*SetKeyValRequest) String

func (x *SetKeyValRequest) String() string

func (*SetKeyValRequest) Validator

func (val *SetKeyValRequest) Validator() error

Validator 校验配置扩展信息参数

type SetPerformanceModelRequest

type SetPerformanceModelRequest struct {
	Model PerformanceModel `protobuf:"varint,1,opt,name=model,proto3,enum=YoYo.YuTooAiPb.V1.PerformanceModel" json:"model,omitempty"` // 性能模式
	// contains filtered or unexported fields
}

SetPerformanceModelRequest 设置性能模式(入参)

func (*SetPerformanceModelRequest) Descriptor deprecated

func (*SetPerformanceModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetPerformanceModelRequest.ProtoReflect.Descriptor instead.

func (*SetPerformanceModelRequest) GetModel

func (*SetPerformanceModelRequest) ProtoMessage

func (*SetPerformanceModelRequest) ProtoMessage()

func (*SetPerformanceModelRequest) ProtoReflect

func (*SetPerformanceModelRequest) Reset

func (x *SetPerformanceModelRequest) Reset()

func (*SetPerformanceModelRequest) String

func (x *SetPerformanceModelRequest) String() string

func (*SetPerformanceModelRequest) Validator

func (val *SetPerformanceModelRequest) Validator() error

Validator 校验配置性能模式参数

type SetPluInfoRequest

type SetPluInfoRequest struct {
	PluList []*SetPluInfoRequest_PluInfoData     `protobuf:"bytes,1,rep,name=pluList,proto3" json:"pluList,omitempty"` // 商品信息列表
	Operate SetPluInfoRequest_PluInfoOperateType ``                                                                    // 操作类型
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

SetPluInfoRequest 更新商品状态信息(入参)

func (*SetPluInfoRequest) Descriptor deprecated

func (*SetPluInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetPluInfoRequest.ProtoReflect.Descriptor instead.

func (*SetPluInfoRequest) GetOperate

func (*SetPluInfoRequest) GetPluList

func (*SetPluInfoRequest) ProtoMessage

func (*SetPluInfoRequest) ProtoMessage()

func (*SetPluInfoRequest) ProtoReflect

func (x *SetPluInfoRequest) ProtoReflect() protoreflect.Message

func (*SetPluInfoRequest) Reset

func (x *SetPluInfoRequest) Reset()

func (*SetPluInfoRequest) String

func (x *SetPluInfoRequest) String() string

func (*SetPluInfoRequest) Validator

func (val *SetPluInfoRequest) Validator() error

Validator 校验配置商品信息参数

type SetPluInfoRequest_PluInfoData

type SetPluInfoRequest_PluInfoData struct {
	PluCode string `protobuf:"bytes,1,opt,name=pluCode,proto3" json:"pluCode,omitempty"` // 商品编码
	IsOn    int32  `protobuf:"varint,3,opt,name=isOn,proto3" json:"isOn,omitempty"`      // 是否上架(-1-自动,0-下架,1-上架)
	IsLock  int32  `protobuf:"varint,4,opt,name=isLock,proto3" json:"isLock,omitempty"`  // 是否锁定(-1-自动,0-解锁,1-锁定)
	// contains filtered or unexported fields
}

PluInfoData 商品状态数据(入参)

func (*SetPluInfoRequest_PluInfoData) Descriptor deprecated

func (*SetPluInfoRequest_PluInfoData) Descriptor() ([]byte, []int)

Deprecated: Use SetPluInfoRequest_PluInfoData.ProtoReflect.Descriptor instead.

func (*SetPluInfoRequest_PluInfoData) GetIsLock

func (x *SetPluInfoRequest_PluInfoData) GetIsLock() int32

func (*SetPluInfoRequest_PluInfoData) GetIsOn

func (x *SetPluInfoRequest_PluInfoData) GetIsOn() int32

func (*SetPluInfoRequest_PluInfoData) GetPluCode

func (x *SetPluInfoRequest_PluInfoData) GetPluCode() string

func (*SetPluInfoRequest_PluInfoData) ProtoMessage

func (*SetPluInfoRequest_PluInfoData) ProtoMessage()

func (*SetPluInfoRequest_PluInfoData) ProtoReflect

func (*SetPluInfoRequest_PluInfoData) Reset

func (x *SetPluInfoRequest_PluInfoData) Reset()

func (*SetPluInfoRequest_PluInfoData) String

type SetPluInfoRequest_PluInfoOperateType

type SetPluInfoRequest_PluInfoOperateType int32

PluInfoOperateType 商品操作类型枚举

const (
	SetPluInfoRequest_PluInfoOperateUpdate SetPluInfoRequest_PluInfoOperateType = 0 // 更新商品
	SetPluInfoRequest_PluInfoOperateAdd    SetPluInfoRequest_PluInfoOperateType = 1 // 新增商品(目前不支持)
	SetPluInfoRequest_PluInfoOperateDelete SetPluInfoRequest_PluInfoOperateType = 2 // 删除商品
	SetPluInfoRequest_pluInfoOperateRemove SetPluInfoRequest_PluInfoOperateType = 3 // 移除商品学习数据
)

func (SetPluInfoRequest_PluInfoOperateType) Descriptor

func (SetPluInfoRequest_PluInfoOperateType) Enum

func (SetPluInfoRequest_PluInfoOperateType) EnumDescriptor deprecated

func (SetPluInfoRequest_PluInfoOperateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetPluInfoRequest_PluInfoOperateType.Descriptor instead.

func (SetPluInfoRequest_PluInfoOperateType) Number

func (SetPluInfoRequest_PluInfoOperateType) String

func (SetPluInfoRequest_PluInfoOperateType) Type

type SetStudyDataRequest

type SetStudyDataRequest struct {
	StudyData []byte `protobuf:"bytes,1,opt,name=studyData,proto3" json:"studyData,omitempty"` // 学习数据
	// contains filtered or unexported fields
}

SetStudyDataRequest 配置学习数据(入参)

func (*SetStudyDataRequest) Descriptor deprecated

func (*SetStudyDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetStudyDataRequest.ProtoReflect.Descriptor instead.

func (*SetStudyDataRequest) GetStudyData

func (x *SetStudyDataRequest) GetStudyData() []byte

func (*SetStudyDataRequest) ProtoMessage

func (*SetStudyDataRequest) ProtoMessage()

func (*SetStudyDataRequest) ProtoReflect

func (x *SetStudyDataRequest) ProtoReflect() protoreflect.Message

func (*SetStudyDataRequest) Reset

func (x *SetStudyDataRequest) Reset()

func (*SetStudyDataRequest) String

func (x *SetStudyDataRequest) String() string

func (*SetStudyDataRequest) Validator

func (val *SetStudyDataRequest) Validator() error

校验配置学习数据参数

type StudyModelMarkRequest

type StudyModelMarkRequest struct {
	IdentifyIDList []uint32      `protobuf:"varint,1,rep,packed,name=identifyIDList,proto3" json:"identifyIDList,omitempty"`                     // 识别ID列表
	PluCode        string        `protobuf:"bytes,2,opt,name=pluCode,proto3" json:"pluCode,omitempty"`                                           // plu编码
	Sales          int32         `protobuf:"varint,3,opt,name=sales,proto3" json:"sales,omitempty"`                                              // 销量:重量(克) 、数量
	PriceUnit      PriceUnitType `protobuf:"varint,4,opt,name=priceUnit,proto3,enum=YoYo.YuTooAiPb.V1.PriceUnitType" json:"priceUnit,omitempty"` // 计价方式
	Price          int32         `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`                                              // 原始单价(分/Kg)
	SalePrice      int32         `protobuf:"varint,6,opt,name=salePrice,proto3" json:"salePrice,omitempty"`                                      // 销售单价(分/Kg)
	Amount         int32         `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"`                                            // 销售总价(分)
	BarCode        string        `protobuf:"bytes,8,opt,name=barCode,proto3" json:"barCode,omitempty"`                                           // 条码
	// contains filtered or unexported fields
}

StudyModelMarkRequest 学习模式-保存(入参)

func (*StudyModelMarkRequest) Descriptor deprecated

func (*StudyModelMarkRequest) Descriptor() ([]byte, []int)

Deprecated: Use StudyModelMarkRequest.ProtoReflect.Descriptor instead.

func (*StudyModelMarkRequest) GetAmount

func (x *StudyModelMarkRequest) GetAmount() int32

func (*StudyModelMarkRequest) GetBarCode

func (x *StudyModelMarkRequest) GetBarCode() string

func (*StudyModelMarkRequest) GetIdentifyIDList

func (x *StudyModelMarkRequest) GetIdentifyIDList() []uint32

func (*StudyModelMarkRequest) GetPluCode

func (x *StudyModelMarkRequest) GetPluCode() string

func (*StudyModelMarkRequest) GetPrice

func (x *StudyModelMarkRequest) GetPrice() int32

func (*StudyModelMarkRequest) GetPriceUnit

func (x *StudyModelMarkRequest) GetPriceUnit() PriceUnitType

func (*StudyModelMarkRequest) GetSalePrice

func (x *StudyModelMarkRequest) GetSalePrice() int32

func (*StudyModelMarkRequest) GetSales

func (x *StudyModelMarkRequest) GetSales() int32

func (*StudyModelMarkRequest) ProtoMessage

func (*StudyModelMarkRequest) ProtoMessage()

func (*StudyModelMarkRequest) ProtoReflect

func (x *StudyModelMarkRequest) ProtoReflect() protoreflect.Message

func (*StudyModelMarkRequest) Reset

func (x *StudyModelMarkRequest) Reset()

func (*StudyModelMarkRequest) String

func (x *StudyModelMarkRequest) String() string

func (*StudyModelMarkRequest) Validator

func (val *StudyModelMarkRequest) Validator() error

Validator 校验学习模式(保存)参数

type StudyModelMatchingReply

type StudyModelMatchingReply struct {
	Status     *PublicReply `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`          // 响应状态
	IdentifyID uint32       `protobuf:"varint,2,opt,name=identifyID,proto3" json:"identifyID,omitempty"` // 识别ID
	ImgJPEG    []byte       `protobuf:"bytes,3,opt,name=imgJPEG,proto3" json:"imgJPEG,omitempty"`        // 图片流
	// contains filtered or unexported fields
}

StudyModelMatchingReply 学习模式-识别(出参)

func (*StudyModelMatchingReply) Descriptor deprecated

func (*StudyModelMatchingReply) Descriptor() ([]byte, []int)

Deprecated: Use StudyModelMatchingReply.ProtoReflect.Descriptor instead.

func (*StudyModelMatchingReply) GetIdentifyID

func (x *StudyModelMatchingReply) GetIdentifyID() uint32

func (*StudyModelMatchingReply) GetImgJPEG

func (x *StudyModelMatchingReply) GetImgJPEG() []byte

func (*StudyModelMatchingReply) GetStatus

func (x *StudyModelMatchingReply) GetStatus() *PublicReply

func (*StudyModelMatchingReply) ProtoMessage

func (*StudyModelMatchingReply) ProtoMessage()

func (*StudyModelMatchingReply) ProtoReflect

func (x *StudyModelMatchingReply) ProtoReflect() protoreflect.Message

func (*StudyModelMatchingReply) Reset

func (x *StudyModelMatchingReply) Reset()

func (*StudyModelMatchingReply) String

func (x *StudyModelMatchingReply) String() string

type UnimplementedYoYoAiPrivateServer

type UnimplementedYoYoAiPrivateServer struct {
}

UnimplementedYoYoAiPrivateServer must be embedded to have forward compatible implementations.

func (UnimplementedYoYoAiPrivateServer) GetKeyVal

func (UnimplementedYoYoAiPrivateServer) ScaleTransport

func (UnimplementedYoYoAiPrivateServer) SetKeyVal

type UnimplementedYoYoAiPublicServer

type UnimplementedYoYoAiPublicServer struct {
}

UnimplementedYoYoAiPublicServer must be embedded to have forward compatible implementations.

func (UnimplementedYoYoAiPublicServer) Activate

func (UnimplementedYoYoAiPublicServer) AiMark

func (UnimplementedYoYoAiPublicServer) AiMatching

func (UnimplementedYoYoAiPublicServer) CorrectStudyData

func (UnimplementedYoYoAiPublicServer) EditShop

func (UnimplementedYoYoAiPublicServer) GetCameraArea

func (UnimplementedYoYoAiPublicServer) GetCameraList

func (UnimplementedYoYoAiPublicServer) GetDeviceInfo

func (UnimplementedYoYoAiPublicServer) GetLog

func (UnimplementedYoYoAiPublicServer) GetPerformanceModel

func (UnimplementedYoYoAiPublicServer) GetStudyData

func (UnimplementedYoYoAiPublicServer) GetVersion

func (UnimplementedYoYoAiPublicServer) Init

func (UnimplementedYoYoAiPublicServer) LocalImageStudy added in v1.0.0

func (UnimplementedYoYoAiPublicServer) OpenCamera

func (UnimplementedYoYoAiPublicServer) PluMatch

func (UnimplementedYoYoAiPublicServer) PluSync

func (UnimplementedYoYoAiPublicServer) SetCameraArea

func (UnimplementedYoYoAiPublicServer) SetPerformanceModel

func (UnimplementedYoYoAiPublicServer) SetPluInfo

func (UnimplementedYoYoAiPublicServer) SetStudyData

func (UnimplementedYoYoAiPublicServer) StudyModelMark

func (UnimplementedYoYoAiPublicServer) StudyModelMatching

func (UnimplementedYoYoAiPublicServer) UnInit

type UnsafeYoYoAiPrivateServer

type UnsafeYoYoAiPrivateServer interface {
	// contains filtered or unexported methods
}

UnsafeYoYoAiPrivateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to YoYoAiPrivateServer will result in compilation errors.

type UnsafeYoYoAiPublicServer

type UnsafeYoYoAiPublicServer interface {
	// contains filtered or unexported methods
}

UnsafeYoYoAiPublicServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to YoYoAiPublicServer will result in compilation errors.

type WeightStatus

type WeightStatus int32

WeightStatus 重量稳定状态

const (
	WeightStatus_weightNotStable WeightStatus = 0 // 不稳定
	WeightStatus_weightStable    WeightStatus = 1 // 稳定
	WeightStatus_weightError     WeightStatus = 2 // 错误
	WeightStatus_weightOverload  WeightStatus = 3 // 超载
	WeightStatus_weightUnderload WeightStatus = 4 // 欠载
)

func (WeightStatus) Descriptor

func (WeightStatus) Enum

func (x WeightStatus) Enum() *WeightStatus

func (WeightStatus) EnumDescriptor deprecated

func (WeightStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use WeightStatus.Descriptor instead.

func (WeightStatus) Number

func (WeightStatus) String

func (x WeightStatus) String() string

func (WeightStatus) Type

type YoYoAiPrivateClient

type YoYoAiPrivateClient interface {
	// SetKeyVal 配置扩展参数
	// @Desc 请传入服务提供者提供的KEY,否则会抛出异常或返回错误信息
	SetKeyVal(ctx context.Context, in *SetKeyValRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// GetKeyVal 获取扩展参数
	// @Desc 请传入服务提供者提供的KEY,否则会抛出异常或返回错误信息
	GetKeyVal(ctx context.Context, in *GetKeyValRequest, opts ...grpc.CallOption) (*GetKeyValReply, error)
	// ScaleTransport 第三方软件传秤
	// @Desc 注意事项:
	// @Desc 当该接口断开连接或抛出异常后,
	// @Desc 建议延时10秒重新调用该接口,
	// @Desc 否则短时间内会连续抛出异常。
	ScaleTransport(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (YoYoAiPrivate_ScaleTransportClient, error)
}

YoYoAiPrivateClient is the client API for YoYoAiPrivate service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type YoYoAiPrivateServer

type YoYoAiPrivateServer interface {
	// SetKeyVal 配置扩展参数
	// @Desc 请传入服务提供者提供的KEY,否则会抛出异常或返回错误信息
	SetKeyVal(context.Context, *SetKeyValRequest) (*PublicReply, error)
	// GetKeyVal 获取扩展参数
	// @Desc 请传入服务提供者提供的KEY,否则会抛出异常或返回错误信息
	GetKeyVal(context.Context, *GetKeyValRequest) (*GetKeyValReply, error)
	// ScaleTransport 第三方软件传秤
	// @Desc 注意事项:
	// @Desc 当该接口断开连接或抛出异常后,
	// @Desc 建议延时10秒重新调用该接口,
	// @Desc 否则短时间内会连续抛出异常。
	ScaleTransport(*EmptyRequest, YoYoAiPrivate_ScaleTransportServer) error
	// contains filtered or unexported methods
}

YoYoAiPrivateServer is the server API for YoYoAiPrivate service. All implementations must embed UnimplementedYoYoAiPrivateServer for forward compatibility

type YoYoAiPrivate_ScaleTransportClient

type YoYoAiPrivate_ScaleTransportClient interface {
	Recv() (*ScaleTransportReply, error)
	grpc.ClientStream
}

type YoYoAiPrivate_ScaleTransportServer

type YoYoAiPrivate_ScaleTransportServer interface {
	Send(*ScaleTransportReply) error
	grpc.ServerStream
}

type YoYoAiPublicClient

type YoYoAiPublicClient interface {
	// GetLog 获取日志(该接口为调试接口,不建议对接)
	GetLog(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (YoYoAiPublic_GetLogClient, error)
	// Init 服务初始化接口(建议返回状态成功后不再调用本接口)
	Init(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// UnInit 服务释放接口(程序退出前务必调用一次该接口)
	UnInit(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// Activate 设备激活(建议仅在Init接口返回未激活状态码时调用该接口)
	Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// GetVersion 获取版本信息
	GetVersion(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetVersionReply, error)
	// GetPerformanceModel 获取性能模式
	GetPerformanceModel(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetPerformanceModelReply, error)
	// SetPerformanceModel 设置性能模式
	SetPerformanceModel(ctx context.Context, in *SetPerformanceModelRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// GetCameraList 获取相机列表
	GetCameraList(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetCameraListReply, error)
	// OpenCamera 打开相机
	OpenCamera(ctx context.Context, in *OpenCameraRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// SetCameraArea 配置识别区域
	SetCameraArea(ctx context.Context, in *SetCameraAreaRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// GetCameraArea 获取识别区域
	GetCameraArea(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetCameraAreaReply, error)
	// GetDeviceInfo 获取设备信息
	GetDeviceInfo(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetDeviceInfoReply, error)
	// EditShop 编辑门店信息
	EditShop(ctx context.Context, in *EditShopRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// PluSync 商品同步
	PluSync(ctx context.Context, in *PluSyncRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// GetCameraStream 相机取流
	GetCameraStream(ctx context.Context, in *GetCameraStreamRequest, opts ...grpc.CallOption) (YoYoAiPublic_GetCameraStreamClient, error)
	// PluMatch 商品信息匹配
	PluMatch(ctx context.Context, in *PluMatchRequest, opts ...grpc.CallOption) (*PluMatchReply, error)
	// GetStudyData 获取学习数据
	GetStudyData(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetStudyDataReply, error)
	// SetStudyData 配置学习数据(本机学习数据将会被覆盖)
	SetStudyData(ctx context.Context, in *SetStudyDataRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// AiMatching AI识别
	AiMatching(ctx context.Context, opts ...grpc.CallOption) (YoYoAiPublic_AiMatchingClient, error)
	// AiMark 点选标记(请务必先调用AiMatching再调用该接口)
	AiMark(ctx context.Context, in *AiMarkRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// CorrectStudyData 矫正学习数据(请务必先调用AiMatching再调用该接口)
	CorrectStudyData(ctx context.Context, in *CorrectStudyDataRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// StudyModelMatching 学习模式-识别
	StudyModelMatching(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*StudyModelMatchingReply, error)
	// StudyModelMark 学习模式-保存(请务必先调用StudyModelMatching再调用该接口)
	StudyModelMark(ctx context.Context, in *StudyModelMarkRequest, opts ...grpc.CallOption) (*PublicReply, error)
	// LocalImageStudy 本地图片学习
	LocalImageStudy(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (YoYoAiPublic_LocalImageStudyClient, error)
	// SetPluInfo 配置商品信息(更新商品状态、删除商品、移除商品学习数据)
	SetPluInfo(ctx context.Context, in *SetPluInfoRequest, opts ...grpc.CallOption) (*PublicReply, error)
}

YoYoAiPublicClient is the client API for YoYoAiPublic service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type YoYoAiPublicServer

type YoYoAiPublicServer interface {
	// GetLog 获取日志(该接口为调试接口,不建议对接)
	GetLog(*EmptyRequest, YoYoAiPublic_GetLogServer) error
	// Init 服务初始化接口(建议返回状态成功后不再调用本接口)
	Init(context.Context, *EmptyRequest) (*PublicReply, error)
	// UnInit 服务释放接口(程序退出前务必调用一次该接口)
	UnInit(context.Context, *EmptyRequest) (*PublicReply, error)
	// Activate 设备激活(建议仅在Init接口返回未激活状态码时调用该接口)
	Activate(context.Context, *ActivateRequest) (*PublicReply, error)
	// GetVersion 获取版本信息
	GetVersion(context.Context, *EmptyRequest) (*GetVersionReply, error)
	// GetPerformanceModel 获取性能模式
	GetPerformanceModel(context.Context, *EmptyRequest) (*GetPerformanceModelReply, error)
	// SetPerformanceModel 设置性能模式
	SetPerformanceModel(context.Context, *SetPerformanceModelRequest) (*PublicReply, error)
	// GetCameraList 获取相机列表
	GetCameraList(context.Context, *EmptyRequest) (*GetCameraListReply, error)
	// OpenCamera 打开相机
	OpenCamera(context.Context, *OpenCameraRequest) (*PublicReply, error)
	// SetCameraArea 配置识别区域
	SetCameraArea(context.Context, *SetCameraAreaRequest) (*PublicReply, error)
	// GetCameraArea 获取识别区域
	GetCameraArea(context.Context, *EmptyRequest) (*GetCameraAreaReply, error)
	// GetDeviceInfo 获取设备信息
	GetDeviceInfo(context.Context, *EmptyRequest) (*GetDeviceInfoReply, error)
	// EditShop 编辑门店信息
	EditShop(context.Context, *EditShopRequest) (*PublicReply, error)
	// PluSync 商品同步
	PluSync(context.Context, *PluSyncRequest) (*PublicReply, error)
	// GetCameraStream 相机取流
	GetCameraStream(*GetCameraStreamRequest, YoYoAiPublic_GetCameraStreamServer) error
	// PluMatch 商品信息匹配
	PluMatch(context.Context, *PluMatchRequest) (*PluMatchReply, error)
	// GetStudyData 获取学习数据
	GetStudyData(context.Context, *EmptyRequest) (*GetStudyDataReply, error)
	// SetStudyData 配置学习数据(本机学习数据将会被覆盖)
	SetStudyData(context.Context, *SetStudyDataRequest) (*PublicReply, error)
	// AiMatching AI识别
	AiMatching(YoYoAiPublic_AiMatchingServer) error
	// AiMark 点选标记(请务必先调用AiMatching再调用该接口)
	AiMark(context.Context, *AiMarkRequest) (*PublicReply, error)
	// CorrectStudyData 矫正学习数据(请务必先调用AiMatching再调用该接口)
	CorrectStudyData(context.Context, *CorrectStudyDataRequest) (*PublicReply, error)
	// StudyModelMatching 学习模式-识别
	StudyModelMatching(context.Context, *EmptyRequest) (*StudyModelMatchingReply, error)
	// StudyModelMark 学习模式-保存(请务必先调用StudyModelMatching再调用该接口)
	StudyModelMark(context.Context, *StudyModelMarkRequest) (*PublicReply, error)
	// LocalImageStudy 本地图片学习
	LocalImageStudy(*EmptyRequest, YoYoAiPublic_LocalImageStudyServer) error
	// SetPluInfo 配置商品信息(更新商品状态、删除商品、移除商品学习数据)
	SetPluInfo(context.Context, *SetPluInfoRequest) (*PublicReply, error)
	// contains filtered or unexported methods
}

YoYoAiPublicServer is the server API for YoYoAiPublic service. All implementations must embed UnimplementedYoYoAiPublicServer for forward compatibility

type YoYoAiPublic_AiMatchingClient

type YoYoAiPublic_AiMatchingClient interface {
	Send(*AiMatchingRequest) error
	Recv() (*AiMatchingReply, error)
	grpc.ClientStream
}

type YoYoAiPublic_AiMatchingServer

type YoYoAiPublic_AiMatchingServer interface {
	Send(*AiMatchingReply) error
	Recv() (*AiMatchingRequest, error)
	grpc.ServerStream
}

type YoYoAiPublic_GetCameraStreamClient

type YoYoAiPublic_GetCameraStreamClient interface {
	Recv() (*GetCameraStreamReply, error)
	grpc.ClientStream
}

type YoYoAiPublic_GetCameraStreamServer

type YoYoAiPublic_GetCameraStreamServer interface {
	Send(*GetCameraStreamReply) error
	grpc.ServerStream
}

type YoYoAiPublic_GetLogClient

type YoYoAiPublic_GetLogClient interface {
	Recv() (*GetLogReply, error)
	grpc.ClientStream
}

type YoYoAiPublic_GetLogServer

type YoYoAiPublic_GetLogServer interface {
	Send(*GetLogReply) error
	grpc.ServerStream
}

type YoYoAiPublic_LocalImageStudyClient added in v1.1.0

type YoYoAiPublic_LocalImageStudyClient interface {
	Recv() (*LocalImageStudyReply, error)
	grpc.ClientStream
}

type YoYoAiPublic_LocalImageStudyServer added in v1.1.0

type YoYoAiPublic_LocalImageStudyServer interface {
	Send(*LocalImageStudyReply) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL