Documentation ¶
Index ¶
- Variables
- func NewReportServiceEndpoints() []*api.Endpoint
- func RegisterReportServiceHandler(s server.Server, hdlr ReportServiceHandler, opts ...server.HandlerOption) error
- type Agv
- type AgvReportItem
- func (*AgvReportItem) Descriptor() ([]byte, []int)deprecated
- func (x *AgvReportItem) GetAgvID() uint32
- func (x *AgvReportItem) GetAvgTime() float64
- func (x *AgvReportItem) GetItems() []*ReportItem
- func (x *AgvReportItem) GetMaxTime() uint32
- func (x *AgvReportItem) GetMaxTimeID() uint32
- func (x *AgvReportItem) GetMinTime() uint32
- func (x *AgvReportItem) GetMinTimeID() uint32
- func (*AgvReportItem) ProtoMessage()
- func (x *AgvReportItem) ProtoReflect() protoreflect.Message
- func (x *AgvReportItem) Reset()
- func (x *AgvReportItem) String() string
- type AgvTaskReportItems
- func (*AgvTaskReportItems) Descriptor() ([]byte, []int)deprecated
- func (x *AgvTaskReportItems) GetAvg() float64
- func (x *AgvTaskReportItems) GetItems() []*AgvReportItem
- func (x *AgvTaskReportItems) GetMax() uint32
- func (x *AgvTaskReportItems) GetMin() uint32
- func (x *AgvTaskReportItems) GetTotalCount() uint32
- func (*AgvTaskReportItems) ProtoMessage()
- func (x *AgvTaskReportItems) ProtoReflect() protoreflect.Message
- func (x *AgvTaskReportItems) Reset()
- func (x *AgvTaskReportItems) String() string
- type AgvTaskReportReq
- func (*AgvTaskReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *AgvTaskReportReq) GetAgvIDs() []uint32
- func (x *AgvTaskReportReq) GetCode() string
- func (x *AgvTaskReportReq) GetEndTime() string
- func (x *AgvTaskReportReq) GetStartTime() string
- func (*AgvTaskReportReq) ProtoMessage()
- func (x *AgvTaskReportReq) ProtoReflect() protoreflect.Message
- func (x *AgvTaskReportReq) Reset()
- func (x *AgvTaskReportReq) String() string
- type AgvTimeReportItem
- func (*AgvTimeReportItem) Descriptor() ([]byte, []int)deprecated
- func (x *AgvTimeReportItem) GetAgvID() uint32
- func (x *AgvTimeReportItem) GetAvgTime() float64
- func (x *AgvTimeReportItem) GetMaxTime() uint32
- func (x *AgvTimeReportItem) GetMaxTimeID() uint32
- func (x *AgvTimeReportItem) GetMinTime() uint32
- func (x *AgvTimeReportItem) GetMinTimeID() uint32
- func (*AgvTimeReportItem) ProtoMessage()
- func (x *AgvTimeReportItem) ProtoReflect() protoreflect.Message
- func (x *AgvTimeReportItem) Reset()
- func (x *AgvTimeReportItem) String() string
- type HistoryReportReq
- func (*HistoryReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryReportReq) GetEndTime() string
- func (x *HistoryReportReq) GetStartTime() string
- func (*HistoryReportReq) ProtoMessage()
- func (x *HistoryReportReq) ProtoReflect() protoreflect.Message
- func (x *HistoryReportReq) Reset()
- func (x *HistoryReportReq) String() string
- type HistoryTaskReportItems
- func (*HistoryTaskReportItems) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryTaskReportItems) GetItems() []*TaskItem
- func (*HistoryTaskReportItems) ProtoMessage()
- func (x *HistoryTaskReportItems) ProtoReflect() protoreflect.Message
- func (x *HistoryTaskReportItems) Reset()
- func (x *HistoryTaskReportItems) String() string
- type Material
- func (*Material) Descriptor() ([]byte, []int)deprecated
- func (x *Material) GetBeginTime() string
- func (x *Material) GetEndTime() string
- func (x *Material) GetMaterialID() int64
- func (x *Material) GetProperties() string
- func (*Material) ProtoMessage()
- func (x *Material) ProtoReflect() protoreflect.Message
- func (x *Material) Reset()
- func (x *Material) String() string
- type MaterialReportItems
- func (*MaterialReportItems) Descriptor() ([]byte, []int)deprecated
- func (x *MaterialReportItems) GetAvg() float64
- func (x *MaterialReportItems) GetItem() []*ReportItem
- func (x *MaterialReportItems) GetMaterials() []*Material
- func (x *MaterialReportItems) GetMax() uint32
- func (x *MaterialReportItems) GetMin() uint32
- func (x *MaterialReportItems) GetTotalCount() uint32
- func (*MaterialReportItems) ProtoMessage()
- func (x *MaterialReportItems) ProtoReflect() protoreflect.Message
- func (x *MaterialReportItems) Reset()
- func (x *MaterialReportItems) String() string
- type MaterialReportReq
- func (*MaterialReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *MaterialReportReq) GetCode() string
- func (x *MaterialReportReq) GetEndTime() string
- func (x *MaterialReportReq) GetStartTime() string
- func (x *MaterialReportReq) GetType() uint32
- func (*MaterialReportReq) ProtoMessage()
- func (x *MaterialReportReq) ProtoReflect() protoreflect.Message
- func (x *MaterialReportReq) Reset()
- func (x *MaterialReportReq) String() string
- type ReportItem
- type ReportService
- type ReportServiceHandler
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetAgvID() uint32
- func (x *Task) GetBeginTime() string
- func (x *Task) GetBlockTime() uint32
- func (x *Task) GetDelayTime() uint32
- func (x *Task) GetEndTime() string
- func (x *Task) GetTaskID() uint32
- func (x *Task) GetWorkTime() uint32
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskItem
- type TaskReportItems
- func (*TaskReportItems) Descriptor() ([]byte, []int)deprecated
- func (x *TaskReportItems) GetAvg() float64
- func (x *TaskReportItems) GetAvgTime() float64
- func (x *TaskReportItems) GetItem() []*ReportItem
- func (x *TaskReportItems) GetMax() uint32
- func (x *TaskReportItems) GetMaxTime() uint32
- func (x *TaskReportItems) GetMaxTimeID() uint32
- func (x *TaskReportItems) GetMin() uint32
- func (x *TaskReportItems) GetMinTime() uint32
- func (x *TaskReportItems) GetMinTimeID() uint32
- func (x *TaskReportItems) GetTasks() []*Task
- func (x *TaskReportItems) GetTotalCount() uint32
- func (*TaskReportItems) ProtoMessage()
- func (x *TaskReportItems) ProtoReflect() protoreflect.Message
- func (x *TaskReportItems) Reset()
- func (x *TaskReportItems) String() string
- type TaskReportReq
- func (*TaskReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *TaskReportReq) GetCode() string
- func (x *TaskReportReq) GetEndTime() string
- func (x *TaskReportReq) GetStartTime() string
- func (x *TaskReportReq) GetType() uint32
- func (*TaskReportReq) ProtoMessage()
- func (x *TaskReportReq) ProtoReflect() protoreflect.Message
- func (x *TaskReportReq) Reset()
- func (x *TaskReportReq) String() string
- type TaskTimeReportReq
- func (*TaskTimeReportReq) Descriptor() ([]byte, []int)deprecated
- func (x *TaskTimeReportReq) GetEndTime() string
- func (x *TaskTimeReportReq) GetStartTime() string
- func (*TaskTimeReportReq) ProtoMessage()
- func (x *TaskTimeReportReq) ProtoReflect() protoreflect.Message
- func (x *TaskTimeReportReq) Reset()
- func (x *TaskTimeReportReq) String() string
- type TimeReportItems
- func (*TimeReportItems) Descriptor() ([]byte, []int)deprecated
- func (x *TimeReportItems) GetAvgTime() float64
- func (x *TimeReportItems) GetItems() []*AgvTimeReportItem
- func (x *TimeReportItems) GetMaxTime() uint32
- func (x *TimeReportItems) GetMaxTimeID() uint32
- func (x *TimeReportItems) GetMinTime() uint32
- func (x *TimeReportItems) GetMinTimeID() uint32
- func (*TimeReportItems) ProtoMessage()
- func (x *TimeReportItems) ProtoReflect() protoreflect.Message
- func (x *TimeReportItems) Reset()
- func (x *TimeReportItems) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_report_report_proto protoreflect.FileDescriptor
Functions ¶
func RegisterReportServiceHandler ¶
func RegisterReportServiceHandler(s server.Server, hdlr ReportServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Agv ¶
type Agv struct {
// contains filtered or unexported fields
}
func (*Agv) Descriptor
deprecated
func (*Agv) ProtoMessage ¶
func (*Agv) ProtoMessage()
func (*Agv) ProtoReflect ¶
func (x *Agv) ProtoReflect() protoreflect.Message
type AgvReportItem ¶
type AgvReportItem struct { Items []*ReportItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` AgvID uint32 `protobuf:"varint,3,opt,name=agvID,proto3" json:"agvID,omitempty"` MaxTime uint32 `protobuf:"varint,6,opt,name=maxTime,proto3" json:"maxTime,omitempty"` MaxTimeID uint32 `protobuf:"varint,7,opt,name=maxTimeID,proto3" json:"maxTimeID,omitempty"` MinTime uint32 `protobuf:"varint,8,opt,name=minTime,proto3" json:"minTime,omitempty"` MinTimeID uint32 `protobuf:"varint,9,opt,name=minTimeID,proto3" json:"minTimeID,omitempty"` AvgTime float64 `protobuf:"fixed64,10,opt,name=avgTime,proto3" json:"avgTime,omitempty"` // contains filtered or unexported fields }
func (*AgvReportItem) Descriptor
deprecated
func (*AgvReportItem) Descriptor() ([]byte, []int)
Deprecated: Use AgvReportItem.ProtoReflect.Descriptor instead.
func (*AgvReportItem) GetAgvID ¶
func (x *AgvReportItem) GetAgvID() uint32
func (*AgvReportItem) GetAvgTime ¶
func (x *AgvReportItem) GetAvgTime() float64
func (*AgvReportItem) GetItems ¶
func (x *AgvReportItem) GetItems() []*ReportItem
func (*AgvReportItem) GetMaxTime ¶
func (x *AgvReportItem) GetMaxTime() uint32
func (*AgvReportItem) GetMaxTimeID ¶
func (x *AgvReportItem) GetMaxTimeID() uint32
func (*AgvReportItem) GetMinTime ¶
func (x *AgvReportItem) GetMinTime() uint32
func (*AgvReportItem) GetMinTimeID ¶
func (x *AgvReportItem) GetMinTimeID() uint32
func (*AgvReportItem) ProtoMessage ¶
func (*AgvReportItem) ProtoMessage()
func (*AgvReportItem) ProtoReflect ¶
func (x *AgvReportItem) ProtoReflect() protoreflect.Message
func (*AgvReportItem) Reset ¶
func (x *AgvReportItem) Reset()
func (*AgvReportItem) String ¶
func (x *AgvReportItem) String() string
type AgvTaskReportItems ¶
type AgvTaskReportItems struct { Items []*AgvReportItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` TotalCount uint32 `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Min uint32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` // contains filtered or unexported fields }
func (*AgvTaskReportItems) Descriptor
deprecated
func (*AgvTaskReportItems) Descriptor() ([]byte, []int)
Deprecated: Use AgvTaskReportItems.ProtoReflect.Descriptor instead.
func (*AgvTaskReportItems) GetAvg ¶
func (x *AgvTaskReportItems) GetAvg() float64
func (*AgvTaskReportItems) GetItems ¶
func (x *AgvTaskReportItems) GetItems() []*AgvReportItem
func (*AgvTaskReportItems) GetMax ¶
func (x *AgvTaskReportItems) GetMax() uint32
func (*AgvTaskReportItems) GetMin ¶
func (x *AgvTaskReportItems) GetMin() uint32
func (*AgvTaskReportItems) GetTotalCount ¶
func (x *AgvTaskReportItems) GetTotalCount() uint32
func (*AgvTaskReportItems) ProtoMessage ¶
func (*AgvTaskReportItems) ProtoMessage()
func (*AgvTaskReportItems) ProtoReflect ¶
func (x *AgvTaskReportItems) ProtoReflect() protoreflect.Message
func (*AgvTaskReportItems) Reset ¶
func (x *AgvTaskReportItems) Reset()
func (*AgvTaskReportItems) String ¶
func (x *AgvTaskReportItems) String() string
type AgvTaskReportReq ¶
type AgvTaskReportReq struct { StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` AgvIDs []uint32 `protobuf:"varint,4,rep,packed,name=agvIDs,proto3" json:"agvIDs,omitempty"` // contains filtered or unexported fields }
func (*AgvTaskReportReq) Descriptor
deprecated
func (*AgvTaskReportReq) Descriptor() ([]byte, []int)
Deprecated: Use AgvTaskReportReq.ProtoReflect.Descriptor instead.
func (*AgvTaskReportReq) GetAgvIDs ¶
func (x *AgvTaskReportReq) GetAgvIDs() []uint32
func (*AgvTaskReportReq) GetCode ¶
func (x *AgvTaskReportReq) GetCode() string
func (*AgvTaskReportReq) GetEndTime ¶
func (x *AgvTaskReportReq) GetEndTime() string
func (*AgvTaskReportReq) GetStartTime ¶
func (x *AgvTaskReportReq) GetStartTime() string
func (*AgvTaskReportReq) ProtoMessage ¶
func (*AgvTaskReportReq) ProtoMessage()
func (*AgvTaskReportReq) ProtoReflect ¶
func (x *AgvTaskReportReq) ProtoReflect() protoreflect.Message
func (*AgvTaskReportReq) Reset ¶
func (x *AgvTaskReportReq) Reset()
func (*AgvTaskReportReq) String ¶
func (x *AgvTaskReportReq) String() string
type AgvTimeReportItem ¶
type AgvTimeReportItem struct { AgvID uint32 `protobuf:"varint,3,opt,name=agvID,proto3" json:"agvID,omitempty"` MaxTime uint32 `protobuf:"varint,6,opt,name=maxTime,proto3" json:"maxTime,omitempty"` MaxTimeID uint32 `protobuf:"varint,7,opt,name=maxTimeID,proto3" json:"maxTimeID,omitempty"` MinTime uint32 `protobuf:"varint,8,opt,name=minTime,proto3" json:"minTime,omitempty"` MinTimeID uint32 `protobuf:"varint,9,opt,name=minTimeID,proto3" json:"minTimeID,omitempty"` AvgTime float64 `protobuf:"fixed64,10,opt,name=avgTime,proto3" json:"avgTime,omitempty"` // contains filtered or unexported fields }
func (*AgvTimeReportItem) Descriptor
deprecated
func (*AgvTimeReportItem) Descriptor() ([]byte, []int)
Deprecated: Use AgvTimeReportItem.ProtoReflect.Descriptor instead.
func (*AgvTimeReportItem) GetAgvID ¶
func (x *AgvTimeReportItem) GetAgvID() uint32
func (*AgvTimeReportItem) GetAvgTime ¶
func (x *AgvTimeReportItem) GetAvgTime() float64
func (*AgvTimeReportItem) GetMaxTime ¶
func (x *AgvTimeReportItem) GetMaxTime() uint32
func (*AgvTimeReportItem) GetMaxTimeID ¶
func (x *AgvTimeReportItem) GetMaxTimeID() uint32
func (*AgvTimeReportItem) GetMinTime ¶
func (x *AgvTimeReportItem) GetMinTime() uint32
func (*AgvTimeReportItem) GetMinTimeID ¶
func (x *AgvTimeReportItem) GetMinTimeID() uint32
func (*AgvTimeReportItem) ProtoMessage ¶
func (*AgvTimeReportItem) ProtoMessage()
func (*AgvTimeReportItem) ProtoReflect ¶
func (x *AgvTimeReportItem) ProtoReflect() protoreflect.Message
func (*AgvTimeReportItem) Reset ¶
func (x *AgvTimeReportItem) Reset()
func (*AgvTimeReportItem) String ¶
func (x *AgvTimeReportItem) String() string
type HistoryReportReq ¶
type HistoryReportReq struct { StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime,omitempty"` // contains filtered or unexported fields }
func (*HistoryReportReq) Descriptor
deprecated
func (*HistoryReportReq) Descriptor() ([]byte, []int)
Deprecated: Use HistoryReportReq.ProtoReflect.Descriptor instead.
func (*HistoryReportReq) GetEndTime ¶
func (x *HistoryReportReq) GetEndTime() string
func (*HistoryReportReq) GetStartTime ¶
func (x *HistoryReportReq) GetStartTime() string
func (*HistoryReportReq) ProtoMessage ¶
func (*HistoryReportReq) ProtoMessage()
func (*HistoryReportReq) ProtoReflect ¶
func (x *HistoryReportReq) ProtoReflect() protoreflect.Message
func (*HistoryReportReq) Reset ¶
func (x *HistoryReportReq) Reset()
func (*HistoryReportReq) String ¶
func (x *HistoryReportReq) String() string
type HistoryTaskReportItems ¶
type HistoryTaskReportItems struct { Items []*TaskItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*HistoryTaskReportItems) Descriptor
deprecated
func (*HistoryTaskReportItems) Descriptor() ([]byte, []int)
Deprecated: Use HistoryTaskReportItems.ProtoReflect.Descriptor instead.
func (*HistoryTaskReportItems) GetItems ¶
func (x *HistoryTaskReportItems) GetItems() []*TaskItem
func (*HistoryTaskReportItems) ProtoMessage ¶
func (*HistoryTaskReportItems) ProtoMessage()
func (*HistoryTaskReportItems) ProtoReflect ¶
func (x *HistoryTaskReportItems) ProtoReflect() protoreflect.Message
func (*HistoryTaskReportItems) Reset ¶
func (x *HistoryTaskReportItems) Reset()
func (*HistoryTaskReportItems) String ¶
func (x *HistoryTaskReportItems) String() string
type Material ¶
type Material struct { MaterialID int64 `protobuf:"varint,1,opt,name=materialID,proto3" json:"materialID,omitempty"` BeginTime string `protobuf:"bytes,3,opt,name=beginTime,proto3" json:"beginTime,omitempty"` EndTime string `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"` Properties string `protobuf:"bytes,5,opt,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*Material) Descriptor
deprecated
func (*Material) GetBeginTime ¶
func (*Material) GetEndTime ¶
func (*Material) GetMaterialID ¶
func (*Material) GetProperties ¶
func (*Material) ProtoMessage ¶
func (*Material) ProtoMessage()
func (*Material) ProtoReflect ¶
func (x *Material) ProtoReflect() protoreflect.Message
type MaterialReportItems ¶
type MaterialReportItems struct { Item []*ReportItem `protobuf:"bytes,1,rep,name=item,proto3" json:"item,omitempty"` Materials []*Material `protobuf:"bytes,11,rep,name=materials,proto3" json:"materials,omitempty"` TotalCount uint32 `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Min uint32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` // contains filtered or unexported fields }
func (*MaterialReportItems) Descriptor
deprecated
func (*MaterialReportItems) Descriptor() ([]byte, []int)
Deprecated: Use MaterialReportItems.ProtoReflect.Descriptor instead.
func (*MaterialReportItems) GetAvg ¶
func (x *MaterialReportItems) GetAvg() float64
func (*MaterialReportItems) GetItem ¶
func (x *MaterialReportItems) GetItem() []*ReportItem
func (*MaterialReportItems) GetMaterials ¶
func (x *MaterialReportItems) GetMaterials() []*Material
func (*MaterialReportItems) GetMax ¶
func (x *MaterialReportItems) GetMax() uint32
func (*MaterialReportItems) GetMin ¶
func (x *MaterialReportItems) GetMin() uint32
func (*MaterialReportItems) GetTotalCount ¶
func (x *MaterialReportItems) GetTotalCount() uint32
func (*MaterialReportItems) ProtoMessage ¶
func (*MaterialReportItems) ProtoMessage()
func (*MaterialReportItems) ProtoReflect ¶
func (x *MaterialReportItems) ProtoReflect() protoreflect.Message
func (*MaterialReportItems) Reset ¶
func (x *MaterialReportItems) Reset()
func (*MaterialReportItems) String ¶
func (x *MaterialReportItems) String() string
type MaterialReportReq ¶
type MaterialReportReq struct { StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*MaterialReportReq) Descriptor
deprecated
func (*MaterialReportReq) Descriptor() ([]byte, []int)
Deprecated: Use MaterialReportReq.ProtoReflect.Descriptor instead.
func (*MaterialReportReq) GetCode ¶
func (x *MaterialReportReq) GetCode() string
func (*MaterialReportReq) GetEndTime ¶
func (x *MaterialReportReq) GetEndTime() string
func (*MaterialReportReq) GetStartTime ¶
func (x *MaterialReportReq) GetStartTime() string
func (*MaterialReportReq) GetType ¶
func (x *MaterialReportReq) GetType() uint32
func (*MaterialReportReq) ProtoMessage ¶
func (*MaterialReportReq) ProtoMessage()
func (*MaterialReportReq) ProtoReflect ¶
func (x *MaterialReportReq) ProtoReflect() protoreflect.Message
func (*MaterialReportReq) Reset ¶
func (x *MaterialReportReq) Reset()
func (*MaterialReportReq) String ¶
func (x *MaterialReportReq) String() string
type ReportItem ¶
type ReportItem struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ReportItem) Descriptor
deprecated
func (*ReportItem) Descriptor() ([]byte, []int)
Deprecated: Use ReportItem.ProtoReflect.Descriptor instead.
func (*ReportItem) GetCount ¶
func (x *ReportItem) GetCount() uint32
func (*ReportItem) GetName ¶
func (x *ReportItem) GetName() string
func (*ReportItem) ProtoMessage ¶
func (*ReportItem) ProtoMessage()
func (*ReportItem) ProtoReflect ¶
func (x *ReportItem) ProtoReflect() protoreflect.Message
func (*ReportItem) Reset ¶
func (x *ReportItem) Reset()
func (*ReportItem) String ¶
func (x *ReportItem) String() string
type ReportService ¶
type ReportService interface { GetTaskReport(ctx context.Context, in *TaskReportReq, opts ...client.CallOption) (*TaskReportItems, error) GetAgvTaskReport(ctx context.Context, in *AgvTaskReportReq, opts ...client.CallOption) (*AgvTaskReportItems, error) GetMaterialReport(ctx context.Context, in *MaterialReportReq, opts ...client.CallOption) (*MaterialReportItems, error) GetTaskTimeReport(ctx context.Context, in *TaskTimeReportReq, opts ...client.CallOption) (*TimeReportItems, error) GetHistoryReport(ctx context.Context, in *HistoryReportReq, opts ...client.CallOption) (*HistoryTaskReportItems, error) }
func NewReportService ¶
func NewReportService(name string, c client.Client) ReportService
type ReportServiceHandler ¶
type ReportServiceHandler interface { GetTaskReport(context.Context, *TaskReportReq, *TaskReportItems) error GetAgvTaskReport(context.Context, *AgvTaskReportReq, *AgvTaskReportItems) error GetMaterialReport(context.Context, *MaterialReportReq, *MaterialReportItems) error GetTaskTimeReport(context.Context, *TaskTimeReportReq, *TimeReportItems) error GetHistoryReport(context.Context, *HistoryReportReq, *HistoryTaskReportItems) error }
type Task ¶
type Task struct { TaskID uint32 `protobuf:"varint,1,opt,name=taskID,proto3" json:"taskID,omitempty"` AgvID uint32 `protobuf:"varint,2,opt,name=agvID,proto3" json:"agvID,omitempty"` BeginTime string `protobuf:"bytes,3,opt,name=beginTime,proto3" json:"beginTime,omitempty"` EndTime string `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"` DelayTime uint32 `protobuf:"varint,5,opt,name=delayTime,proto3" json:"delayTime,omitempty"` WorkTime uint32 `protobuf:"varint,6,opt,name=workTime,proto3" json:"workTime,omitempty"` BlockTime uint32 `protobuf:"varint,7,opt,name=blockTime,proto3" json:"blockTime,omitempty"` // contains filtered or unexported fields }
func (*Task) Descriptor
deprecated
func (*Task) GetBeginTime ¶
func (*Task) GetBlockTime ¶
func (*Task) GetDelayTime ¶
func (*Task) GetEndTime ¶
func (*Task) GetWorkTime ¶
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type TaskItem ¶
type TaskItem struct { Type int64 `protobuf:"zigzag64,1,opt,name=type,proto3" json:"type,omitempty"` Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*TaskItem) Descriptor
deprecated
func (*TaskItem) ProtoMessage ¶
func (*TaskItem) ProtoMessage()
func (*TaskItem) ProtoReflect ¶
func (x *TaskItem) ProtoReflect() protoreflect.Message
type TaskReportItems ¶
type TaskReportItems struct { Item []*ReportItem `protobuf:"bytes,1,rep,name=item,proto3" json:"item,omitempty"` Tasks []*Task `protobuf:"bytes,11,rep,name=tasks,proto3" json:"tasks,omitempty"` TotalCount uint32 `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Max uint32 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` Min uint32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` MaxTime uint32 `protobuf:"varint,6,opt,name=maxTime,proto3" json:"maxTime,omitempty"` MaxTimeID uint32 `protobuf:"varint,7,opt,name=maxTimeID,proto3" json:"maxTimeID,omitempty"` MinTime uint32 `protobuf:"varint,8,opt,name=minTime,proto3" json:"minTime,omitempty"` MinTimeID uint32 `protobuf:"varint,9,opt,name=minTimeID,proto3" json:"minTimeID,omitempty"` AvgTime float64 `protobuf:"fixed64,10,opt,name=avgTime,proto3" json:"avgTime,omitempty"` // contains filtered or unexported fields }
func (*TaskReportItems) Descriptor
deprecated
func (*TaskReportItems) Descriptor() ([]byte, []int)
Deprecated: Use TaskReportItems.ProtoReflect.Descriptor instead.
func (*TaskReportItems) GetAvg ¶
func (x *TaskReportItems) GetAvg() float64
func (*TaskReportItems) GetAvgTime ¶
func (x *TaskReportItems) GetAvgTime() float64
func (*TaskReportItems) GetItem ¶
func (x *TaskReportItems) GetItem() []*ReportItem
func (*TaskReportItems) GetMax ¶
func (x *TaskReportItems) GetMax() uint32
func (*TaskReportItems) GetMaxTime ¶
func (x *TaskReportItems) GetMaxTime() uint32
func (*TaskReportItems) GetMaxTimeID ¶
func (x *TaskReportItems) GetMaxTimeID() uint32
func (*TaskReportItems) GetMin ¶
func (x *TaskReportItems) GetMin() uint32
func (*TaskReportItems) GetMinTime ¶
func (x *TaskReportItems) GetMinTime() uint32
func (*TaskReportItems) GetMinTimeID ¶
func (x *TaskReportItems) GetMinTimeID() uint32
func (*TaskReportItems) GetTasks ¶
func (x *TaskReportItems) GetTasks() []*Task
func (*TaskReportItems) GetTotalCount ¶
func (x *TaskReportItems) GetTotalCount() uint32
func (*TaskReportItems) ProtoMessage ¶
func (*TaskReportItems) ProtoMessage()
func (*TaskReportItems) ProtoReflect ¶
func (x *TaskReportItems) ProtoReflect() protoreflect.Message
func (*TaskReportItems) Reset ¶
func (x *TaskReportItems) Reset()
func (*TaskReportItems) String ¶
func (x *TaskReportItems) String() string
type TaskReportReq ¶
type TaskReportReq struct { StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*TaskReportReq) Descriptor
deprecated
func (*TaskReportReq) Descriptor() ([]byte, []int)
Deprecated: Use TaskReportReq.ProtoReflect.Descriptor instead.
func (*TaskReportReq) GetCode ¶
func (x *TaskReportReq) GetCode() string
func (*TaskReportReq) GetEndTime ¶
func (x *TaskReportReq) GetEndTime() string
func (*TaskReportReq) GetStartTime ¶
func (x *TaskReportReq) GetStartTime() string
func (*TaskReportReq) GetType ¶
func (x *TaskReportReq) GetType() uint32
func (*TaskReportReq) ProtoMessage ¶
func (*TaskReportReq) ProtoMessage()
func (*TaskReportReq) ProtoReflect ¶
func (x *TaskReportReq) ProtoReflect() protoreflect.Message
func (*TaskReportReq) Reset ¶
func (x *TaskReportReq) Reset()
func (*TaskReportReq) String ¶
func (x *TaskReportReq) String() string
type TaskTimeReportReq ¶
type TaskTimeReportReq struct { StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime,omitempty"` // contains filtered or unexported fields }
func (*TaskTimeReportReq) Descriptor
deprecated
func (*TaskTimeReportReq) Descriptor() ([]byte, []int)
Deprecated: Use TaskTimeReportReq.ProtoReflect.Descriptor instead.
func (*TaskTimeReportReq) GetEndTime ¶
func (x *TaskTimeReportReq) GetEndTime() string
func (*TaskTimeReportReq) GetStartTime ¶
func (x *TaskTimeReportReq) GetStartTime() string
func (*TaskTimeReportReq) ProtoMessage ¶
func (*TaskTimeReportReq) ProtoMessage()
func (*TaskTimeReportReq) ProtoReflect ¶
func (x *TaskTimeReportReq) ProtoReflect() protoreflect.Message
func (*TaskTimeReportReq) Reset ¶
func (x *TaskTimeReportReq) Reset()
func (*TaskTimeReportReq) String ¶
func (x *TaskTimeReportReq) String() string
type TimeReportItems ¶
type TimeReportItems struct { Items []*AgvTimeReportItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` MaxTime uint32 `protobuf:"varint,6,opt,name=maxTime,proto3" json:"maxTime,omitempty"` MaxTimeID uint32 `protobuf:"varint,7,opt,name=maxTimeID,proto3" json:"maxTimeID,omitempty"` MinTime uint32 `protobuf:"varint,8,opt,name=minTime,proto3" json:"minTime,omitempty"` MinTimeID uint32 `protobuf:"varint,9,opt,name=minTimeID,proto3" json:"minTimeID,omitempty"` AvgTime float64 `protobuf:"fixed64,10,opt,name=avgTime,proto3" json:"avgTime,omitempty"` // contains filtered or unexported fields }
func (*TimeReportItems) Descriptor
deprecated
func (*TimeReportItems) Descriptor() ([]byte, []int)
Deprecated: Use TimeReportItems.ProtoReflect.Descriptor instead.
func (*TimeReportItems) GetAvgTime ¶
func (x *TimeReportItems) GetAvgTime() float64
func (*TimeReportItems) GetItems ¶
func (x *TimeReportItems) GetItems() []*AgvTimeReportItem
func (*TimeReportItems) GetMaxTime ¶
func (x *TimeReportItems) GetMaxTime() uint32
func (*TimeReportItems) GetMaxTimeID ¶
func (x *TimeReportItems) GetMaxTimeID() uint32
func (*TimeReportItems) GetMinTime ¶
func (x *TimeReportItems) GetMinTime() uint32
func (*TimeReportItems) GetMinTimeID ¶
func (x *TimeReportItems) GetMinTimeID() uint32
func (*TimeReportItems) ProtoMessage ¶
func (*TimeReportItems) ProtoMessage()
func (*TimeReportItems) ProtoReflect ¶
func (x *TimeReportItems) ProtoReflect() protoreflect.Message
func (*TimeReportItems) Reset ¶
func (x *TimeReportItems) Reset()
func (*TimeReportItems) String ¶
func (x *TimeReportItems) String() string