Versions in this module Expand all Collapse all v2 v2.3.3 Mar 12, 2021 Changes in this version + var File_proto_agv_agv_proto protoreflect.FileDescriptor + func NewAgvEndpoints() []*api.Endpoint + func RegisterAgvHandler(s server.Server, hdlr AgvHandler, opts ...server.HandlerOption) error + type AgvError struct + AgvID uint32 + EndTime string + ErrorCode uint32 + PointID uint32 + StartTime string + func (*AgvError) Descriptor() ([]byte, []int) + func (*AgvError) ProtoMessage() + func (x *AgvError) GetAgvID() uint32 + func (x *AgvError) GetEndTime() string + func (x *AgvError) GetErrorCode() uint32 + func (x *AgvError) GetPointID() uint32 + func (x *AgvError) GetStartTime() string + func (x *AgvError) ProtoReflect() protoreflect.Message + func (x *AgvError) Reset() + func (x *AgvError) String() string + type AgvErrors struct + AgvError []*AgvError + TotalCount uint32 + func (*AgvErrors) Descriptor() ([]byte, []int) + func (*AgvErrors) ProtoMessage() + func (x *AgvErrors) GetAgvError() []*AgvError + func (x *AgvErrors) GetTotalCount() uint32 + func (x *AgvErrors) ProtoReflect() protoreflect.Message + func (x *AgvErrors) Reset() + func (x *AgvErrors) String() string + type AgvHandler interface + GetAgvByID func(context.Context, *AgvReq, *AgvMessage) error + GetAgvErrReport func(context.Context, *ErrReportReq, *ErrReportItems) error + GetAgvErrors func(context.Context, *QueryError, *AgvErrors) error + GetAgvs func(context.Context, *Query, *AgvsResponse) error + GetLogLevel func(context.Context, *LogLevelRequest, *Loglevel) error + GetStatusConfig func(context.Context, *IDRequest, *StatusMsg) error + GetStatusConfigs func(context.Context, *Request, *StatusMsgs) error + SetLogLevel func(context.Context, *Loglevel, *LogResponse) error + StopAgvByID func(context.Context, *AgvReq, *Response) error + StopAgvs func(context.Context, *Request, *Response) error + UpdateStatusConfig func(context.Context, *StatusMsg, *Response) error + type AgvMessage struct + Angle uint32 + Battery uint32 + Id uint32 + Plc uint32 + Point uint32 + Segment uint32 + Status uint32 + Type uint32 + X uint32 + Y uint32 + func (*AgvMessage) Descriptor() ([]byte, []int) + func (*AgvMessage) ProtoMessage() + func (x *AgvMessage) GetAngle() uint32 + func (x *AgvMessage) GetBattery() uint32 + func (x *AgvMessage) GetId() uint32 + func (x *AgvMessage) GetPlc() uint32 + func (x *AgvMessage) GetPoint() uint32 + func (x *AgvMessage) GetSegment() uint32 + func (x *AgvMessage) GetStatus() uint32 + func (x *AgvMessage) GetType() uint32 + func (x *AgvMessage) GetX() uint32 + func (x *AgvMessage) GetY() uint32 + func (x *AgvMessage) ProtoReflect() protoreflect.Message + func (x *AgvMessage) Reset() + func (x *AgvMessage) String() string + type AgvReq struct + AgvID uint32 + func (*AgvReq) Descriptor() ([]byte, []int) + func (*AgvReq) ProtoMessage() + func (x *AgvReq) GetAgvID() uint32 + func (x *AgvReq) ProtoReflect() protoreflect.Message + func (x *AgvReq) Reset() + func (x *AgvReq) String() string + type AgvService interface + GetAgvByID func(ctx context.Context, in *AgvReq, opts ...client.CallOption) (*AgvMessage, error) + GetAgvErrReport func(ctx context.Context, in *ErrReportReq, opts ...client.CallOption) (*ErrReportItems, error) + GetAgvErrors func(ctx context.Context, in *QueryError, opts ...client.CallOption) (*AgvErrors, error) + GetAgvs func(ctx context.Context, in *Query, opts ...client.CallOption) (*AgvsResponse, error) + GetLogLevel func(ctx context.Context, in *LogLevelRequest, opts ...client.CallOption) (*Loglevel, error) + GetStatusConfig func(ctx context.Context, in *IDRequest, opts ...client.CallOption) (*StatusMsg, error) + GetStatusConfigs func(ctx context.Context, in *Request, opts ...client.CallOption) (*StatusMsgs, error) + SetLogLevel func(ctx context.Context, in *Loglevel, opts ...client.CallOption) (*LogResponse, error) + StopAgvByID func(ctx context.Context, in *AgvReq, opts ...client.CallOption) (*Response, error) + StopAgvs func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + UpdateStatusConfig func(ctx context.Context, in *StatusMsg, opts ...client.CallOption) (*Response, error) + func NewAgvService(name string, c client.Client) AgvService + type AgvsResponse struct + Agvs []*AgvMessage + func (*AgvsResponse) Descriptor() ([]byte, []int) + func (*AgvsResponse) ProtoMessage() + func (x *AgvsResponse) GetAgvs() []*AgvMessage + func (x *AgvsResponse) ProtoReflect() protoreflect.Message + func (x *AgvsResponse) Reset() + func (x *AgvsResponse) String() string + type ErrFilter struct + AgvIn []uint32 + And []*ErrFilter + ErrorIn []uint32 + FromTime string + Or []*ErrFilter + ToTime string + func (*ErrFilter) Descriptor() ([]byte, []int) + func (*ErrFilter) ProtoMessage() + func (x *ErrFilter) GetAgvIn() []uint32 + func (x *ErrFilter) GetAnd() []*ErrFilter + func (x *ErrFilter) GetErrorIn() []uint32 + func (x *ErrFilter) GetFromTime() string + func (x *ErrFilter) GetOr() []*ErrFilter + func (x *ErrFilter) GetToTime() string + func (x *ErrFilter) ProtoReflect() protoreflect.Message + func (x *ErrFilter) Reset() + func (x *ErrFilter) String() string + type ErrReportItem struct + Count uint32 + Name string + func (*ErrReportItem) Descriptor() ([]byte, []int) + func (*ErrReportItem) ProtoMessage() + func (x *ErrReportItem) GetCount() uint32 + func (x *ErrReportItem) GetName() string + func (x *ErrReportItem) ProtoReflect() protoreflect.Message + func (x *ErrReportItem) Reset() + func (x *ErrReportItem) String() string + type ErrReportItems struct + Item []*ErrReportItem + TotalCount uint32 + func (*ErrReportItems) Descriptor() ([]byte, []int) + func (*ErrReportItems) ProtoMessage() + func (x *ErrReportItems) GetItem() []*ErrReportItem + func (x *ErrReportItems) GetTotalCount() uint32 + func (x *ErrReportItems) ProtoReflect() protoreflect.Message + func (x *ErrReportItems) Reset() + func (x *ErrReportItems) String() string + type ErrReportReq struct + Code uint32 + EndTime string + StartTime string + func (*ErrReportReq) Descriptor() ([]byte, []int) + func (*ErrReportReq) ProtoMessage() + func (x *ErrReportReq) GetCode() uint32 + func (x *ErrReportReq) GetEndTime() string + func (x *ErrReportReq) GetStartTime() string + func (x *ErrReportReq) ProtoReflect() protoreflect.Message + func (x *ErrReportReq) Reset() + func (x *ErrReportReq) String() string + type IDRequest struct + StatusID uint32 + func (*IDRequest) Descriptor() ([]byte, []int) + func (*IDRequest) ProtoMessage() + func (x *IDRequest) GetStatusID() uint32 + func (x *IDRequest) ProtoReflect() protoreflect.Message + func (x *IDRequest) Reset() + func (x *IDRequest) String() string + type LogLevelRequest struct + func (*LogLevelRequest) Descriptor() ([]byte, []int) + func (*LogLevelRequest) ProtoMessage() + func (x *LogLevelRequest) ProtoReflect() protoreflect.Message + func (x *LogLevelRequest) Reset() + func (x *LogLevelRequest) String() string + type LogResponse struct + Name string + func (*LogResponse) Descriptor() ([]byte, []int) + func (*LogResponse) ProtoMessage() + func (x *LogResponse) GetName() string + func (x *LogResponse) ProtoReflect() protoreflect.Message + func (x *LogResponse) Reset() + func (x *LogResponse) String() string + type Loglevel struct + Level uint32 + Name string + func (*Loglevel) Descriptor() ([]byte, []int) + func (*Loglevel) ProtoMessage() + func (x *Loglevel) GetLevel() uint32 + func (x *Loglevel) GetName() string + func (x *Loglevel) ProtoReflect() protoreflect.Message + func (x *Loglevel) Reset() + func (x *Loglevel) String() string + type Query struct + Page uint32 + PerPage uint32 + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (x *Query) GetPage() uint32 + func (x *Query) GetPerPage() uint32 + func (x *Query) ProtoReflect() protoreflect.Message + func (x *Query) Reset() + func (x *Query) String() string + type QueryError struct + Filter *ErrFilter + Page uint32 + PerPage uint32 + func (*QueryError) Descriptor() ([]byte, []int) + func (*QueryError) ProtoMessage() + func (x *QueryError) GetFilter() *ErrFilter + func (x *QueryError) GetPage() uint32 + func (x *QueryError) GetPerPage() uint32 + func (x *QueryError) ProtoReflect() protoreflect.Message + func (x *QueryError) Reset() + func (x *QueryError) String() string + type Request struct + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type Response struct + Message string + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetMessage() string + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type StatusMsg struct + StatusColor string + StatusID uint32 + StatusText string + func (*StatusMsg) Descriptor() ([]byte, []int) + func (*StatusMsg) ProtoMessage() + func (x *StatusMsg) GetStatusColor() string + func (x *StatusMsg) GetStatusID() uint32 + func (x *StatusMsg) GetStatusText() string + func (x *StatusMsg) ProtoReflect() protoreflect.Message + func (x *StatusMsg) Reset() + func (x *StatusMsg) String() string + type StatusMsgs struct + Msgs []*StatusMsg + func (*StatusMsgs) Descriptor() ([]byte, []int) + func (*StatusMsgs) ProtoMessage() + func (x *StatusMsgs) GetMsgs() []*StatusMsg + func (x *StatusMsgs) ProtoReflect() protoreflect.Message + func (x *StatusMsgs) Reset() + func (x *StatusMsgs) String() string