go_micro_srv_rack

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_rack_rack_proto protoreflect.FileDescriptor

Functions

func NewRackServiceEndpoints

func NewRackServiceEndpoints() []*api.Endpoint

func RegisterRackServiceHandler

func RegisterRackServiceHandler(s server.Server, hdlr RackServiceHandler, opts ...server.HandlerOption) error

Types

type Cell

type Cell struct {

	// 储位ID
	Id uint32 `protobuf:"varint,21,opt,name=id,proto3" json:"id,omitempty"`
	// 储位编码
	Tag string `protobuf:"bytes,22,opt,name=tag,proto3" json:"tag,omitempty"`
	// 储位名称
	Name string `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"`
	// 储位所在货架
	RackID uint32 `protobuf:"varint,24,opt,name=rackID,proto3" json:"rackID,omitempty"`
	Length uint32 `protobuf:"varint,25,opt,name=length,proto3" json:"length,omitempty"`
	Width  uint32 `protobuf:"varint,26,opt,name=width,proto3" json:"width,omitempty"`
	Height uint32 `protobuf:"varint,27,opt,name=height,proto3" json:"height,omitempty"`
	// 储位在货架的哪一层
	Row uint32 `protobuf:"varint,34,opt,name=row,proto3" json:"row,omitempty"`
	// 储位在货架上的编号
	Column uint32 `protobuf:"varint,35,opt,name=column,proto3" json:"column,omitempty"`
	// 是否禁用
	IsValid bool `protobuf:"varint,30,opt,name=isValid,proto3" json:"isValid,omitempty"`
	// 存放的物料对于的编号
	MaterialID int64 `protobuf:"varint,31,opt,name=materialID,proto3" json:"materialID,omitempty"`
	// cell类型id
	Type *CellType `protobuf:"bytes,32,opt,name=type,proto3" json:"type,omitempty"`
	//是否被占用
	IsOccupied bool `protobuf:"varint,33,opt,name=isOccupied,proto3" json:"isOccupied,omitempty"`
	//储位状态
	Status     int32  `protobuf:"varint,36,opt,name=status,proto3" json:"status,omitempty"`
	Properties string `protobuf:"bytes,37,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

Cell 储位

func (*Cell) Descriptor deprecated

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

Deprecated: Use Cell.ProtoReflect.Descriptor instead.

func (*Cell) GetColumn

func (x *Cell) GetColumn() uint32

func (*Cell) GetHeight

func (x *Cell) GetHeight() uint32

func (*Cell) GetId

func (x *Cell) GetId() uint32

func (*Cell) GetIsOccupied

func (x *Cell) GetIsOccupied() bool

func (*Cell) GetIsValid

func (x *Cell) GetIsValid() bool

func (*Cell) GetLength

func (x *Cell) GetLength() uint32

func (*Cell) GetMaterialID

func (x *Cell) GetMaterialID() int64

func (*Cell) GetName

func (x *Cell) GetName() string

func (*Cell) GetProperties

func (x *Cell) GetProperties() string

func (*Cell) GetRackID

func (x *Cell) GetRackID() uint32

func (*Cell) GetRow

func (x *Cell) GetRow() uint32

func (*Cell) GetStatus

func (x *Cell) GetStatus() int32

func (*Cell) GetTag

func (x *Cell) GetTag() string

func (*Cell) GetType

func (x *Cell) GetType() *CellType

func (*Cell) GetWidth

func (x *Cell) GetWidth() uint32

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) ProtoReflect

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

func (*Cell) Reset

func (x *Cell) Reset()

func (*Cell) String

func (x *Cell) String() string

type CellFilter

type CellFilter struct {
	And           []*CellFilter         `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"`
	Or            []*CellFilter         `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"`
	Type          *CellTypeFilter       `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"`
	Id            *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	IdIn          []uint32              `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"`
	Name          *wrappers.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	NameIn        []string              `protobuf:"bytes,4,rep,name=nameIn,proto3" json:"nameIn,omitempty"`
	MaterialIDIn  []int64               `protobuf:"varint,10,rep,packed,name=materialIDIn,proto3" json:"materialIDIn,omitempty"`
	MaterialID    *wrappers.Int64Value  `protobuf:"bytes,13,opt,name=materialID,proto3" json:"materialID,omitempty"`
	RackID        *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=rackID,proto3" json:"rackID,omitempty"`
	IsValid       *wrappers.BoolValue   `protobuf:"bytes,8,opt,name=isValid,proto3" json:"isValid,omitempty"`
	IsOccupied    *wrappers.BoolValue   `protobuf:"bytes,9,opt,name=isOccupied,proto3" json:"isOccupied,omitempty"`
	Properties    []*PropertyFilter     `protobuf:"bytes,14,rep,name=properties,proto3" json:"properties,omitempty"`
	IsHasMaterial *wrappers.BoolValue   `protobuf:"bytes,15,opt,name=isHasMaterial,proto3" json:"isHasMaterial,omitempty"`
	// contains filtered or unexported fields
}

func (*CellFilter) Descriptor deprecated

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

Deprecated: Use CellFilter.ProtoReflect.Descriptor instead.

func (*CellFilter) GetAnd

func (x *CellFilter) GetAnd() []*CellFilter

func (*CellFilter) GetId

func (x *CellFilter) GetId() *wrappers.UInt32Value

func (*CellFilter) GetIdIn

func (x *CellFilter) GetIdIn() []uint32

func (*CellFilter) GetIsHasMaterial

func (x *CellFilter) GetIsHasMaterial() *wrappers.BoolValue

func (*CellFilter) GetIsOccupied

func (x *CellFilter) GetIsOccupied() *wrappers.BoolValue

func (*CellFilter) GetIsValid

func (x *CellFilter) GetIsValid() *wrappers.BoolValue

func (*CellFilter) GetMaterialID

func (x *CellFilter) GetMaterialID() *wrappers.Int64Value

func (*CellFilter) GetMaterialIDIn

func (x *CellFilter) GetMaterialIDIn() []int64

func (*CellFilter) GetName

func (x *CellFilter) GetName() *wrappers.StringValue

func (*CellFilter) GetNameIn

func (x *CellFilter) GetNameIn() []string

func (*CellFilter) GetOr

func (x *CellFilter) GetOr() []*CellFilter

func (*CellFilter) GetProperties

func (x *CellFilter) GetProperties() []*PropertyFilter

func (*CellFilter) GetRackID

func (x *CellFilter) GetRackID() *wrappers.UInt32Value

func (*CellFilter) GetType

func (x *CellFilter) GetType() *CellTypeFilter

func (*CellFilter) ProtoMessage

func (*CellFilter) ProtoMessage()

func (*CellFilter) ProtoReflect

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

func (*CellFilter) Reset

func (x *CellFilter) Reset()

func (*CellFilter) String

func (x *CellFilter) String() string

type CellQuery

type CellQuery struct {
	Limit   uint32      `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint32      `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Page    uint32      `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PerPage uint32      `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
	Filter  *CellFilter `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*CellQuery) Descriptor deprecated

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

Deprecated: Use CellQuery.ProtoReflect.Descriptor instead.

func (*CellQuery) GetFilter

func (x *CellQuery) GetFilter() *CellFilter

func (*CellQuery) GetLimit

func (x *CellQuery) GetLimit() uint32

func (*CellQuery) GetOffset

func (x *CellQuery) GetOffset() uint32

func (*CellQuery) GetPage

func (x *CellQuery) GetPage() uint32

func (*CellQuery) GetPerPage

func (x *CellQuery) GetPerPage() uint32

func (*CellQuery) ProtoMessage

func (*CellQuery) ProtoMessage()

func (*CellQuery) ProtoReflect

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

func (*CellQuery) Reset

func (x *CellQuery) Reset()

func (*CellQuery) String

func (x *CellQuery) String() string

type CellReport

type CellReport struct {
	Total           uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	MaterialTotal   uint32 `protobuf:"varint,2,opt,name=materialTotal,proto3" json:"materialTotal,omitempty"`
	NoMaterialTotal uint32 `protobuf:"varint,3,opt,name=noMaterialTotal,proto3" json:"noMaterialTotal,omitempty"`
	ValidTotal      uint32 `protobuf:"varint,4,opt,name=validTotal,proto3" json:"validTotal,omitempty"`
	InvalidTotal    uint32 `protobuf:"varint,5,opt,name=invalidTotal,proto3" json:"invalidTotal,omitempty"`
	// contains filtered or unexported fields
}

func (*CellReport) Descriptor deprecated

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

Deprecated: Use CellReport.ProtoReflect.Descriptor instead.

func (*CellReport) GetInvalidTotal

func (x *CellReport) GetInvalidTotal() uint32

func (*CellReport) GetMaterialTotal

func (x *CellReport) GetMaterialTotal() uint32

func (*CellReport) GetNoMaterialTotal

func (x *CellReport) GetNoMaterialTotal() uint32

func (*CellReport) GetTotal

func (x *CellReport) GetTotal() uint32

func (*CellReport) GetValidTotal

func (x *CellReport) GetValidTotal() uint32

func (*CellReport) ProtoMessage

func (*CellReport) ProtoMessage()

func (*CellReport) ProtoReflect

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

func (*CellReport) Reset

func (x *CellReport) Reset()

func (*CellReport) String

func (x *CellReport) String() string

type CellReportReq

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

func (*CellReportReq) Descriptor deprecated

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

Deprecated: Use CellReportReq.ProtoReflect.Descriptor instead.

func (*CellReportReq) ProtoMessage

func (*CellReportReq) ProtoMessage()

func (*CellReportReq) ProtoReflect

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

func (*CellReportReq) Reset

func (x *CellReportReq) Reset()

func (*CellReportReq) String

func (x *CellReportReq) String() string

type CellStatusReq

type CellStatusReq struct {
	Id     uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Status int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CellStatusReq) Descriptor deprecated

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

Deprecated: Use CellStatusReq.ProtoReflect.Descriptor instead.

func (*CellStatusReq) GetId

func (x *CellStatusReq) GetId() uint32

func (*CellStatusReq) GetStatus

func (x *CellStatusReq) GetStatus() int32

func (*CellStatusReq) ProtoMessage

func (*CellStatusReq) ProtoMessage()

func (*CellStatusReq) ProtoReflect

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

func (*CellStatusReq) Reset

func (x *CellStatusReq) Reset()

func (*CellStatusReq) String

func (x *CellStatusReq) String() string

type CellType

type CellType struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Length      uint32 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"`
	Width       uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
	Height      uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
	IsValid     bool   `protobuf:"varint,9,opt,name=isValid,proto3" json:"isValid,omitempty"`
	Properties  string `protobuf:"bytes,10,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*CellType) Descriptor deprecated

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

Deprecated: Use CellType.ProtoReflect.Descriptor instead.

func (*CellType) GetDescription

func (x *CellType) GetDescription() string

func (*CellType) GetHeight

func (x *CellType) GetHeight() uint32

func (*CellType) GetId

func (x *CellType) GetId() uint32

func (*CellType) GetIsValid

func (x *CellType) GetIsValid() bool

func (*CellType) GetLength

func (x *CellType) GetLength() uint32

func (*CellType) GetName

func (x *CellType) GetName() string

func (*CellType) GetProperties

func (x *CellType) GetProperties() string

func (*CellType) GetWidth

func (x *CellType) GetWidth() uint32

func (*CellType) ProtoMessage

func (*CellType) ProtoMessage()

func (*CellType) ProtoReflect

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

func (*CellType) Reset

func (x *CellType) Reset()

func (*CellType) String

func (x *CellType) String() string

type CellTypeFilter

type CellTypeFilter struct {
	And    []*CellTypeFilter     `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"`
	Or     []*CellTypeFilter     `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"`
	IdIn   []uint32              `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"`
	NameIn []string              `protobuf:"bytes,4,rep,name=nameIn,proto3" json:"nameIn,omitempty"`
	Id     *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Name   *wrappers.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CellTypeFilter) Descriptor deprecated

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

Deprecated: Use CellTypeFilter.ProtoReflect.Descriptor instead.

func (*CellTypeFilter) GetAnd

func (x *CellTypeFilter) GetAnd() []*CellTypeFilter

func (*CellTypeFilter) GetId

func (x *CellTypeFilter) GetId() *wrappers.UInt32Value

func (*CellTypeFilter) GetIdIn

func (x *CellTypeFilter) GetIdIn() []uint32

func (*CellTypeFilter) GetName

func (x *CellTypeFilter) GetName() *wrappers.StringValue

func (*CellTypeFilter) GetNameIn

func (x *CellTypeFilter) GetNameIn() []string

func (*CellTypeFilter) GetOr

func (x *CellTypeFilter) GetOr() []*CellTypeFilter

func (*CellTypeFilter) ProtoMessage

func (*CellTypeFilter) ProtoMessage()

func (*CellTypeFilter) ProtoReflect

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

func (*CellTypeFilter) Reset

func (x *CellTypeFilter) Reset()

func (*CellTypeFilter) String

func (x *CellTypeFilter) String() string

type Cells

type Cells struct {
	Cells      []*Cell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	Totals     uint32  `protobuf:"varint,4,opt,name=totals,proto3" json:"totals,omitempty"`
	Totalpages uint32  `protobuf:"varint,2,opt,name=totalpages,proto3" json:"totalpages,omitempty"`
	Currpages  uint32  `protobuf:"varint,3,opt,name=currpages,proto3" json:"currpages,omitempty"`
	// contains filtered or unexported fields
}

func (*Cells) Descriptor deprecated

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

Deprecated: Use Cells.ProtoReflect.Descriptor instead.

func (*Cells) GetCells

func (x *Cells) GetCells() []*Cell

func (*Cells) GetCurrpages

func (x *Cells) GetCurrpages() uint32

func (*Cells) GetTotalpages

func (x *Cells) GetTotalpages() uint32

func (*Cells) GetTotals

func (x *Cells) GetTotals() uint32

func (*Cells) ProtoMessage

func (*Cells) ProtoMessage()

func (*Cells) ProtoReflect

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

func (*Cells) Reset

func (x *Cells) Reset()

func (*Cells) String

func (x *Cells) String() string

type CellsReq

type CellsReq struct {
	RackID uint32  `protobuf:"varint,1,opt,name=rackID,proto3" json:"rackID,omitempty"`
	Cells  []*Cell `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"`
	// contains filtered or unexported fields
}

func (*CellsReq) Descriptor deprecated

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

Deprecated: Use CellsReq.ProtoReflect.Descriptor instead.

func (*CellsReq) GetCells

func (x *CellsReq) GetCells() []*Cell

func (*CellsReq) GetRackID

func (x *CellsReq) GetRackID() uint32

func (*CellsReq) ProtoMessage

func (*CellsReq) ProtoMessage()

func (*CellsReq) ProtoReflect

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

func (*CellsReq) Reset

func (x *CellsReq) Reset()

func (*CellsReq) String

func (x *CellsReq) String() string

type FlagReq

type FlagReq struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Flag bool   `protobuf:"varint,2,opt,name=flag,proto3" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

func (*FlagReq) Descriptor deprecated

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

Deprecated: Use FlagReq.ProtoReflect.Descriptor instead.

func (*FlagReq) GetFlag

func (x *FlagReq) GetFlag() bool

func (*FlagReq) GetId

func (x *FlagReq) GetId() uint32

func (*FlagReq) ProtoMessage

func (*FlagReq) ProtoMessage()

func (*FlagReq) ProtoReflect

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

func (*FlagReq) Reset

func (x *FlagReq) Reset()

func (*FlagReq) String

func (x *FlagReq) String() string

type IDReq

type IDReq struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IDReq) Descriptor deprecated

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

Deprecated: Use IDReq.ProtoReflect.Descriptor instead.

func (*IDReq) GetId

func (x *IDReq) GetId() uint32

func (*IDReq) ProtoMessage

func (*IDReq) ProtoMessage()

func (*IDReq) ProtoReflect

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

func (*IDReq) Reset

func (x *IDReq) Reset()

func (*IDReq) String

func (x *IDReq) String() string

type IDsReq

type IDsReq struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*IDsReq) Descriptor deprecated

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

Deprecated: Use IDsReq.ProtoReflect.Descriptor instead.

func (*IDsReq) GetIds

func (x *IDsReq) GetIds() []uint32

func (*IDsReq) ProtoMessage

func (*IDsReq) ProtoMessage()

func (*IDsReq) ProtoReflect

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

func (*IDsReq) Reset

func (x *IDsReq) Reset()

func (*IDsReq) String

func (x *IDsReq) String() string

type LogLevelRequest

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

func (*LogLevelRequest) Descriptor deprecated

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

Deprecated: Use LogLevelRequest.ProtoReflect.Descriptor instead.

func (*LogLevelRequest) ProtoMessage

func (*LogLevelRequest) ProtoMessage()

func (*LogLevelRequest) ProtoReflect

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

func (*LogLevelRequest) Reset

func (x *LogLevelRequest) Reset()

func (*LogLevelRequest) String

func (x *LogLevelRequest) String() string

type LogResponse

type LogResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*LogResponse) Descriptor deprecated

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

Deprecated: Use LogResponse.ProtoReflect.Descriptor instead.

func (*LogResponse) GetName

func (x *LogResponse) GetName() string

func (*LogResponse) ProtoMessage

func (*LogResponse) ProtoMessage()

func (*LogResponse) ProtoReflect

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

func (*LogResponse) Reset

func (x *LogResponse) Reset()

func (*LogResponse) String

func (x *LogResponse) String() string

type Loglevel

type Loglevel struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*Loglevel) Descriptor deprecated

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

Deprecated: Use Loglevel.ProtoReflect.Descriptor instead.

func (*Loglevel) GetLevel

func (x *Loglevel) GetLevel() uint32

func (*Loglevel) GetName

func (x *Loglevel) GetName() string

func (*Loglevel) ProtoMessage

func (*Loglevel) ProtoMessage()

func (*Loglevel) ProtoReflect

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

func (*Loglevel) Reset

func (x *Loglevel) Reset()

func (*Loglevel) String

func (x *Loglevel) String() string

type MaterialReq

type MaterialReq struct {
	RackID       uint32 `protobuf:"varint,1,opt,name=rackID,proto3" json:"rackID,omitempty"`
	CellID       uint32 `protobuf:"varint,2,opt,name=cellID,proto3" json:"cellID,omitempty"` //或者使用Cell的tag字段
	MaterialID   int64  `protobuf:"varint,3,opt,name=materialID,proto3" json:"materialID,omitempty"`
	MaterialType string `protobuf:"bytes,4,opt,name=materialType,proto3" json:"materialType,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialReq) Descriptor deprecated

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

Deprecated: Use MaterialReq.ProtoReflect.Descriptor instead.

func (*MaterialReq) GetCellID

func (x *MaterialReq) GetCellID() uint32

func (*MaterialReq) GetMaterialID

func (x *MaterialReq) GetMaterialID() int64

func (*MaterialReq) GetMaterialType

func (x *MaterialReq) GetMaterialType() string

func (*MaterialReq) GetRackID

func (x *MaterialReq) GetRackID() uint32

func (*MaterialReq) ProtoMessage

func (*MaterialReq) ProtoMessage()

func (*MaterialReq) ProtoReflect

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

func (*MaterialReq) Reset

func (x *MaterialReq) Reset()

func (*MaterialReq) String

func (x *MaterialReq) String() string

type PropertiesReq

type PropertiesReq struct {
	Id         uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Properties string `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*PropertiesReq) Descriptor deprecated

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

Deprecated: Use PropertiesReq.ProtoReflect.Descriptor instead.

func (*PropertiesReq) GetId

func (x *PropertiesReq) GetId() uint32

func (*PropertiesReq) GetProperties

func (x *PropertiesReq) GetProperties() string

func (*PropertiesReq) ProtoMessage

func (*PropertiesReq) ProtoMessage()

func (*PropertiesReq) ProtoReflect

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

func (*PropertiesReq) Reset

func (x *PropertiesReq) Reset()

func (*PropertiesReq) String

func (x *PropertiesReq) String() string

type Property

type Property struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Property) Descriptor deprecated

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

Deprecated: Use Property.ProtoReflect.Descriptor instead.

func (*Property) GetKey

func (x *Property) GetKey() string

func (*Property) GetValue

func (x *Property) GetValue() string

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) ProtoReflect

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

func (*Property) Reset

func (x *Property) Reset()

func (*Property) String

func (x *Property) String() string

type PropertyFilter

type PropertyFilter struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Type  string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*PropertyFilter) Descriptor deprecated

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

Deprecated: Use PropertyFilter.ProtoReflect.Descriptor instead.

func (*PropertyFilter) GetKey

func (x *PropertyFilter) GetKey() string

func (*PropertyFilter) GetType

func (x *PropertyFilter) GetType() string

func (*PropertyFilter) GetValue

func (x *PropertyFilter) GetValue() string

func (*PropertyFilter) ProtoMessage

func (*PropertyFilter) ProtoMessage()

func (*PropertyFilter) ProtoReflect

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

func (*PropertyFilter) Reset

func (x *PropertyFilter) Reset()

func (*PropertyFilter) String

func (x *PropertyFilter) String() string

type Rack

type Rack struct {

	// 货架编码
	Id   uint32 `protobuf:"varint,20,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty"`
	// 货架类型
	Type   *RackType `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty"`
	Length uint32    `protobuf:"varint,23,opt,name=length,proto3" json:"length,omitempty"`
	Width  uint32    `protobuf:"varint,24,opt,name=width,proto3" json:"width,omitempty"`
	Height uint32    `protobuf:"varint,25,opt,name=height,proto3" json:"height,omitempty"`
	// 所在货位
	RacklotID uint32 `protobuf:"varint,26,opt,name=racklotID,proto3" json:"racklotID,omitempty"`
	// 货架层数
	Layers uint32 `protobuf:"varint,27,opt,name=layers,proto3" json:"layers,omitempty"`
	// 货架状态(空、可用、被占用、满等)
	Status uint32 `protobuf:"varint,31,opt,name=status,proto3" json:"status,omitempty"`
	// 拣货面(A、B两面或者只有一面)
	PickingSurface uint32 `protobuf:"varint,32,opt,name=pickingSurface,proto3" json:"pickingSurface,omitempty"`
	Description    string `protobuf:"bytes,28,opt,name=description,proto3" json:"description,omitempty"`
	// 货架储位
	Cells []*Cell `protobuf:"bytes,29,rep,name=cells,proto3" json:"cells,omitempty"`
	// 是否禁用
	IsValid bool `protobuf:"varint,22,opt,name=isValid,proto3" json:"isValid,omitempty"`
	//是否被占用
	IsOccupied bool `protobuf:"varint,33,opt,name=isOccupied,proto3" json:"isOccupied,omitempty"`
	// contains filtered or unexported fields
}

func (*Rack) Descriptor deprecated

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

Deprecated: Use Rack.ProtoReflect.Descriptor instead.

func (*Rack) GetCells

func (x *Rack) GetCells() []*Cell

func (*Rack) GetDescription

func (x *Rack) GetDescription() string

func (*Rack) GetHeight

func (x *Rack) GetHeight() uint32

func (*Rack) GetId

func (x *Rack) GetId() uint32

func (*Rack) GetIsOccupied

func (x *Rack) GetIsOccupied() bool

func (*Rack) GetIsValid

func (x *Rack) GetIsValid() bool

func (*Rack) GetLayers

func (x *Rack) GetLayers() uint32

func (*Rack) GetLength

func (x *Rack) GetLength() uint32

func (*Rack) GetName

func (x *Rack) GetName() string

func (*Rack) GetPickingSurface

func (x *Rack) GetPickingSurface() uint32

func (*Rack) GetRacklotID

func (x *Rack) GetRacklotID() uint32

func (*Rack) GetStatus

func (x *Rack) GetStatus() uint32

func (*Rack) GetType

func (x *Rack) GetType() *RackType

func (*Rack) GetWidth

func (x *Rack) GetWidth() uint32

func (*Rack) ProtoMessage

func (*Rack) ProtoMessage()

func (*Rack) ProtoReflect

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

func (*Rack) Reset

func (x *Rack) Reset()

func (*Rack) String

func (x *Rack) String() string

type RackFilter

type RackFilter struct {
	And            []*RackFilter         `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"`
	Or             []*RackFilter         `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"`
	IdIn           []uint32              `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"`
	RacklotIdIn    []uint32              `protobuf:"varint,14,rep,packed,name=racklotIdIn,proto3" json:"racklotIdIn,omitempty"`
	RacklotID      *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=racklotID,proto3" json:"racklotID,omitempty"`
	HasBindRacklot *wrappers.BoolValue   `protobuf:"bytes,15,opt,name=hasBindRacklot,proto3" json:"hasBindRacklot,omitempty"`
	IsValid        *wrappers.BoolValue   `protobuf:"bytes,8,opt,name=isValid,proto3" json:"isValid,omitempty"`
	IsOccupied     *wrappers.BoolValue   `protobuf:"bytes,9,opt,name=isOccupied,proto3" json:"isOccupied,omitempty"`
	Type           *RackTypeFilter       `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"`
	Cell           *CellFilter           `protobuf:"bytes,13,opt,name=cell,proto3" json:"cell,omitempty"`
	// contains filtered or unexported fields
}

func (*RackFilter) Descriptor deprecated

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

Deprecated: Use RackFilter.ProtoReflect.Descriptor instead.

func (*RackFilter) GetAnd

func (x *RackFilter) GetAnd() []*RackFilter

func (*RackFilter) GetCell

func (x *RackFilter) GetCell() *CellFilter

func (*RackFilter) GetHasBindRacklot

func (x *RackFilter) GetHasBindRacklot() *wrappers.BoolValue

func (*RackFilter) GetIdIn

func (x *RackFilter) GetIdIn() []uint32

func (*RackFilter) GetIsOccupied

func (x *RackFilter) GetIsOccupied() *wrappers.BoolValue

func (*RackFilter) GetIsValid

func (x *RackFilter) GetIsValid() *wrappers.BoolValue

func (*RackFilter) GetOr

func (x *RackFilter) GetOr() []*RackFilter

func (*RackFilter) GetRacklotID

func (x *RackFilter) GetRacklotID() *wrappers.UInt32Value

func (*RackFilter) GetRacklotIdIn

func (x *RackFilter) GetRacklotIdIn() []uint32

func (*RackFilter) GetType

func (x *RackFilter) GetType() *RackTypeFilter

func (*RackFilter) ProtoMessage

func (*RackFilter) ProtoMessage()

func (*RackFilter) ProtoReflect

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

func (*RackFilter) Reset

func (x *RackFilter) Reset()

func (*RackFilter) String

func (x *RackFilter) String() string

type RackQuery

type RackQuery struct {
	Limit   uint32      `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint32      `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Page    uint32      `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PerPage uint32      `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
	Filter  *RackFilter `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*RackQuery) Descriptor deprecated

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

Deprecated: Use RackQuery.ProtoReflect.Descriptor instead.

func (*RackQuery) GetFilter

func (x *RackQuery) GetFilter() *RackFilter

func (*RackQuery) GetLimit

func (x *RackQuery) GetLimit() uint32

func (*RackQuery) GetOffset

func (x *RackQuery) GetOffset() uint32

func (*RackQuery) GetPage

func (x *RackQuery) GetPage() uint32

func (*RackQuery) GetPerPage

func (x *RackQuery) GetPerPage() uint32

func (*RackQuery) ProtoMessage

func (*RackQuery) ProtoMessage()

func (*RackQuery) ProtoReflect

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

func (*RackQuery) Reset

func (x *RackQuery) Reset()

func (*RackQuery) String

func (x *RackQuery) String() string

type RackReport

type RackReport struct {
	Total           uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	MaterialTotal   uint32 `protobuf:"varint,2,opt,name=MaterialTotal,proto3" json:"MaterialTotal,omitempty"`
	NoMaterialTotal uint32 `protobuf:"varint,3,opt,name=NoMaterialTotal,proto3" json:"NoMaterialTotal,omitempty"`
	// contains filtered or unexported fields
}

func (*RackReport) Descriptor deprecated

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

Deprecated: Use RackReport.ProtoReflect.Descriptor instead.

func (*RackReport) GetMaterialTotal

func (x *RackReport) GetMaterialTotal() uint32

func (*RackReport) GetNoMaterialTotal

func (x *RackReport) GetNoMaterialTotal() uint32

func (*RackReport) GetTotal

func (x *RackReport) GetTotal() uint32

func (*RackReport) ProtoMessage

func (*RackReport) ProtoMessage()

func (*RackReport) ProtoReflect

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

func (*RackReport) Reset

func (x *RackReport) Reset()

func (*RackReport) String

func (x *RackReport) String() string

type RackReportReq

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

func (*RackReportReq) Descriptor deprecated

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

Deprecated: Use RackReportReq.ProtoReflect.Descriptor instead.

func (*RackReportReq) ProtoMessage

func (*RackReportReq) ProtoMessage()

func (*RackReportReq) ProtoReflect

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

func (*RackReportReq) Reset

func (x *RackReportReq) Reset()

func (*RackReportReq) String

func (x *RackReportReq) String() string

type RackService

type RackService interface {
	// 根据货架ID获取货架信息
	GetRack(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Rack, error)
	// 根据查询条件获取满足条件的货架
	GetRacks(ctx context.Context, in *RackQuery, opts ...client.CallOption) (*Racks, error)
	GetCell(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Cell, error)
	// 根据查询条件获取满足条件的货架
	GetCells(ctx context.Context, in *CellQuery, opts ...client.CallOption) (*Cells, error)
	AddRack(ctx context.Context, in *Rack, opts ...client.CallOption) (*Response, error)
	BatchAddRacks(ctx context.Context, in *Racks, opts ...client.CallOption) (*Response, error)
	DeleteRack(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	BatchDeleteRacks(ctx context.Context, in *IDsReq, opts ...client.CallOption) (*Response, error)
	UpdateRack(ctx context.Context, in *UpdateRackReq, opts ...client.CallOption) (*Response, error)
	// 添加储位
	AddCell(ctx context.Context, in *Cell, opts ...client.CallOption) (*Response, error)
	BatchAddCells(ctx context.Context, in *Cells, opts ...client.CallOption) (*Response, error)
	DeleteCell(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	BatchDeleteCells(ctx context.Context, in *IDsReq, opts ...client.CallOption) (*Response, error)
	UpdateCell(ctx context.Context, in *UpdateCellReq, opts ...client.CallOption) (*Response, error)
	// 启用一组货架
	EnableRacks(ctx context.Context, in *IDsReq, opts ...client.CallOption) (*Response, error)
	// 禁用一组货架
	DisableRacks(ctx context.Context, in *IDsReq, opts ...client.CallOption) (*Response, error)
	BindRacklot(ctx context.Context, in *RacklotReq, opts ...client.CallOption) (*Response, error)
	UnbindRacklot(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	OccupyRack(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	ReleaseRack(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	// 启用储位
	EnableCells(ctx context.Context, in *IDsReq, opts ...client.CallOption) (*Response, error)
	// 禁用储位
	DisableCells(ctx context.Context, in *IDsReq, opts ...client.CallOption) (*Response, error)
	// 绑定物料
	BindMaterial(ctx context.Context, in *MaterialReq, opts ...client.CallOption) (*Response, error)
	// 解绑物料
	UnbindMaterial(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	OccupyCell(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	ReleaseCell(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error)
	//增加属性
	AddCellProperties(ctx context.Context, in *PropertiesReq, opts ...client.CallOption) (*Response, error)
	// 更新Cell 储位状态
	SetCellStatus(ctx context.Context, in *CellStatusReq, opts ...client.CallOption) (*Response, error)
	GetRackReport(ctx context.Context, in *RackReportReq, opts ...client.CallOption) (*RackReport, error)
	GetCellReport(ctx context.Context, in *CellReportReq, opts ...client.CallOption) (*CellReport, error)
	//获取服务日志等级
	GetLogLevel(ctx context.Context, in *LogLevelRequest, opts ...client.CallOption) (*Loglevel, error)
	//设置服务日志等级
	SetLogLevel(ctx context.Context, in *Loglevel, opts ...client.CallOption) (*LogResponse, error)
}

func NewRackService

func NewRackService(name string, c client.Client) RackService

type RackServiceHandler

type RackServiceHandler interface {
	// 根据货架ID获取货架信息
	GetRack(context.Context, *IDReq, *Rack) error
	// 根据查询条件获取满足条件的货架
	GetRacks(context.Context, *RackQuery, *Racks) error
	GetCell(context.Context, *IDReq, *Cell) error
	// 根据查询条件获取满足条件的货架
	GetCells(context.Context, *CellQuery, *Cells) error
	AddRack(context.Context, *Rack, *Response) error
	BatchAddRacks(context.Context, *Racks, *Response) error
	DeleteRack(context.Context, *IDReq, *Response) error
	BatchDeleteRacks(context.Context, *IDsReq, *Response) error
	UpdateRack(context.Context, *UpdateRackReq, *Response) error
	// 添加储位
	AddCell(context.Context, *Cell, *Response) error
	BatchAddCells(context.Context, *Cells, *Response) error
	DeleteCell(context.Context, *IDReq, *Response) error
	BatchDeleteCells(context.Context, *IDsReq, *Response) error
	UpdateCell(context.Context, *UpdateCellReq, *Response) error
	// 启用一组货架
	EnableRacks(context.Context, *IDsReq, *Response) error
	// 禁用一组货架
	DisableRacks(context.Context, *IDsReq, *Response) error
	BindRacklot(context.Context, *RacklotReq, *Response) error
	UnbindRacklot(context.Context, *IDReq, *Response) error
	OccupyRack(context.Context, *IDReq, *Response) error
	ReleaseRack(context.Context, *IDReq, *Response) error
	// 启用储位
	EnableCells(context.Context, *IDsReq, *Response) error
	// 禁用储位
	DisableCells(context.Context, *IDsReq, *Response) error
	// 绑定物料
	BindMaterial(context.Context, *MaterialReq, *Response) error
	// 解绑物料
	UnbindMaterial(context.Context, *IDReq, *Response) error
	OccupyCell(context.Context, *IDReq, *Response) error
	ReleaseCell(context.Context, *IDReq, *Response) error
	//增加属性
	AddCellProperties(context.Context, *PropertiesReq, *Response) error
	// 更新Cell 储位状态
	SetCellStatus(context.Context, *CellStatusReq, *Response) error
	GetRackReport(context.Context, *RackReportReq, *RackReport) error
	GetCellReport(context.Context, *CellReportReq, *CellReport) error
	//获取服务日志等级
	GetLogLevel(context.Context, *LogLevelRequest, *Loglevel) error
	//设置服务日志等级
	SetLogLevel(context.Context, *Loglevel, *LogResponse) error
}

type RackType

type RackType struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RackType) Descriptor deprecated

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

Deprecated: Use RackType.ProtoReflect.Descriptor instead.

func (*RackType) GetId

func (x *RackType) GetId() uint32

func (*RackType) GetName

func (x *RackType) GetName() string

func (*RackType) ProtoMessage

func (*RackType) ProtoMessage()

func (*RackType) ProtoReflect

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

func (*RackType) Reset

func (x *RackType) Reset()

func (*RackType) String

func (x *RackType) String() string

type RackTypeFilter

type RackTypeFilter struct {
	And    []*RackTypeFilter     `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"`
	Or     []*RackTypeFilter     `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"`
	IdIn   []uint32              `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"`
	NameIn []string              `protobuf:"bytes,4,rep,name=nameIn,proto3" json:"nameIn,omitempty"`
	Id     *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Name   *wrappers.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RackTypeFilter) Descriptor deprecated

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

Deprecated: Use RackTypeFilter.ProtoReflect.Descriptor instead.

func (*RackTypeFilter) GetAnd

func (x *RackTypeFilter) GetAnd() []*RackTypeFilter

func (*RackTypeFilter) GetId

func (x *RackTypeFilter) GetId() *wrappers.UInt32Value

func (*RackTypeFilter) GetIdIn

func (x *RackTypeFilter) GetIdIn() []uint32

func (*RackTypeFilter) GetName

func (x *RackTypeFilter) GetName() *wrappers.StringValue

func (*RackTypeFilter) GetNameIn

func (x *RackTypeFilter) GetNameIn() []string

func (*RackTypeFilter) GetOr

func (x *RackTypeFilter) GetOr() []*RackTypeFilter

func (*RackTypeFilter) ProtoMessage

func (*RackTypeFilter) ProtoMessage()

func (*RackTypeFilter) ProtoReflect

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

func (*RackTypeFilter) Reset

func (x *RackTypeFilter) Reset()

func (*RackTypeFilter) String

func (x *RackTypeFilter) String() string

type RackTypeQuery

type RackTypeQuery struct {
	Limit   uint32          `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint32          `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Page    uint32          `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PerPage uint32          `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
	Filter  *RackTypeFilter `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*RackTypeQuery) Descriptor deprecated

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

Deprecated: Use RackTypeQuery.ProtoReflect.Descriptor instead.

func (*RackTypeQuery) GetFilter

func (x *RackTypeQuery) GetFilter() *RackTypeFilter

func (*RackTypeQuery) GetLimit

func (x *RackTypeQuery) GetLimit() uint32

func (*RackTypeQuery) GetOffset

func (x *RackTypeQuery) GetOffset() uint32

func (*RackTypeQuery) GetPage

func (x *RackTypeQuery) GetPage() uint32

func (*RackTypeQuery) GetPerPage

func (x *RackTypeQuery) GetPerPage() uint32

func (*RackTypeQuery) ProtoMessage

func (*RackTypeQuery) ProtoMessage()

func (*RackTypeQuery) ProtoReflect

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

func (*RackTypeQuery) Reset

func (x *RackTypeQuery) Reset()

func (*RackTypeQuery) String

func (x *RackTypeQuery) String() string

type RacklotReq

type RacklotReq struct {
	RackID    uint32 `protobuf:"varint,1,opt,name=rackID,proto3" json:"rackID,omitempty"`
	RacklotID uint32 `protobuf:"varint,2,opt,name=racklotID,proto3" json:"racklotID,omitempty"`
	// contains filtered or unexported fields
}

func (*RacklotReq) Descriptor deprecated

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

Deprecated: Use RacklotReq.ProtoReflect.Descriptor instead.

func (*RacklotReq) GetRackID

func (x *RacklotReq) GetRackID() uint32

func (*RacklotReq) GetRacklotID

func (x *RacklotReq) GetRacklotID() uint32

func (*RacklotReq) ProtoMessage

func (*RacklotReq) ProtoMessage()

func (*RacklotReq) ProtoReflect

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

func (*RacklotReq) Reset

func (x *RacklotReq) Reset()

func (*RacklotReq) String

func (x *RacklotReq) String() string

type Racks

type Racks struct {
	Racks      []*Rack `protobuf:"bytes,1,rep,name=racks,proto3" json:"racks,omitempty"`
	Totals     uint32  `protobuf:"varint,4,opt,name=totals,proto3" json:"totals,omitempty"`
	Totalpages uint32  `protobuf:"varint,2,opt,name=totalpages,proto3" json:"totalpages,omitempty"`
	Currpages  uint32  `protobuf:"varint,3,opt,name=currpages,proto3" json:"currpages,omitempty"`
	// contains filtered or unexported fields
}

func (*Racks) Descriptor deprecated

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

Deprecated: Use Racks.ProtoReflect.Descriptor instead.

func (*Racks) GetCurrpages

func (x *Racks) GetCurrpages() uint32

func (*Racks) GetRacks

func (x *Racks) GetRacks() []*Rack

func (*Racks) GetTotalpages

func (x *Racks) GetTotalpages() uint32

func (*Racks) GetTotals

func (x *Racks) GetTotals() uint32

func (*Racks) ProtoMessage

func (*Racks) ProtoMessage()

func (*Racks) ProtoReflect

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

func (*Racks) Reset

func (x *Racks) Reset()

func (*Racks) String

func (x *Racks) String() string

type Response

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

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type TypeReq

type TypeReq struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeReq) Descriptor deprecated

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

Deprecated: Use TypeReq.ProtoReflect.Descriptor instead.

func (*TypeReq) GetId

func (x *TypeReq) GetId() uint32

func (*TypeReq) GetName

func (x *TypeReq) GetName() string

func (*TypeReq) GetType

func (x *TypeReq) GetType() uint32

func (*TypeReq) ProtoMessage

func (*TypeReq) ProtoMessage()

func (*TypeReq) ProtoReflect

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

func (*TypeReq) Reset

func (x *TypeReq) Reset()

func (*TypeReq) String

func (x *TypeReq) String() string

type UpdateCell

type UpdateCell struct {
	Id       *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Tag      *wrappers.StringValue `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	Length   *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=length,proto3" json:"length,omitempty"`
	Width    *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=width,proto3" json:"width,omitempty"`
	Height   *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=height,proto3" json:"height,omitempty"`
	Layer    *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=layer,proto3" json:"layer,omitempty"`
	CellCode *wrappers.UInt32Value `protobuf:"bytes,10,opt,name=cellCode,proto3" json:"cellCode,omitempty"`
	RackID   *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=rackID,proto3" json:"rackID,omitempty"`
	//是否禁用
	IsValid *wrappers.BoolValue `protobuf:"bytes,12,opt,name=isValid,proto3" json:"isValid,omitempty"`
	//存放的物料对于的编号
	MaterialID *wrappers.Int64Value `protobuf:"bytes,13,opt,name=materialID,proto3" json:"materialID,omitempty"`
	//物料类型
	MaterialType *wrappers.StringValue `protobuf:"bytes,14,opt,name=materialType,proto3" json:"materialType,omitempty"`
	// cell类型id
	CellType *wrappers.UInt32Value `protobuf:"bytes,15,opt,name=cellType,proto3" json:"cellType,omitempty"`
	//是否被占用
	IsOccupied *wrappers.BoolValue `protobuf:"bytes,16,opt,name=isOccupied,proto3" json:"isOccupied,omitempty"`
	//储位状态
	Status     *wrappers.UInt32Value `protobuf:"bytes,17,opt,name=status,proto3" json:"status,omitempty"`
	Properties string                `protobuf:"bytes,18,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCell) Descriptor deprecated

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

Deprecated: Use UpdateCell.ProtoReflect.Descriptor instead.

func (*UpdateCell) GetCellCode

func (x *UpdateCell) GetCellCode() *wrappers.UInt32Value

func (*UpdateCell) GetCellType

func (x *UpdateCell) GetCellType() *wrappers.UInt32Value

func (*UpdateCell) GetHeight

func (x *UpdateCell) GetHeight() *wrappers.UInt32Value

func (*UpdateCell) GetId

func (x *UpdateCell) GetId() *wrappers.UInt32Value

func (*UpdateCell) GetIsOccupied

func (x *UpdateCell) GetIsOccupied() *wrappers.BoolValue

func (*UpdateCell) GetIsValid

func (x *UpdateCell) GetIsValid() *wrappers.BoolValue

func (*UpdateCell) GetLayer

func (x *UpdateCell) GetLayer() *wrappers.UInt32Value

func (*UpdateCell) GetLength

func (x *UpdateCell) GetLength() *wrappers.UInt32Value

func (*UpdateCell) GetMaterialID

func (x *UpdateCell) GetMaterialID() *wrappers.Int64Value

func (*UpdateCell) GetMaterialType

func (x *UpdateCell) GetMaterialType() *wrappers.StringValue

func (*UpdateCell) GetName

func (x *UpdateCell) GetName() *wrappers.StringValue

func (*UpdateCell) GetProperties

func (x *UpdateCell) GetProperties() string

func (*UpdateCell) GetRackID

func (x *UpdateCell) GetRackID() *wrappers.UInt32Value

func (*UpdateCell) GetStatus

func (x *UpdateCell) GetStatus() *wrappers.UInt32Value

func (*UpdateCell) GetTag

func (x *UpdateCell) GetTag() *wrappers.StringValue

func (*UpdateCell) GetWidth

func (x *UpdateCell) GetWidth() *wrappers.UInt32Value

func (*UpdateCell) ProtoMessage

func (*UpdateCell) ProtoMessage()

func (*UpdateCell) ProtoReflect

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

func (*UpdateCell) Reset

func (x *UpdateCell) Reset()

func (*UpdateCell) String

func (x *UpdateCell) String() string

type UpdateCellReq

type UpdateCellReq struct {
	Id   uint32      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Cell *UpdateCell `protobuf:"bytes,2,opt,name=cell,proto3" json:"cell,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCellReq) Descriptor deprecated

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

Deprecated: Use UpdateCellReq.ProtoReflect.Descriptor instead.

func (*UpdateCellReq) GetCell

func (x *UpdateCellReq) GetCell() *UpdateCell

func (*UpdateCellReq) GetId

func (x *UpdateCellReq) GetId() uint32

func (*UpdateCellReq) ProtoMessage

func (*UpdateCellReq) ProtoMessage()

func (*UpdateCellReq) ProtoReflect

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

func (*UpdateCellReq) Reset

func (x *UpdateCellReq) Reset()

func (*UpdateCellReq) String

func (x *UpdateCellReq) String() string

type UpdateRack

type UpdateRack struct {
	Id             *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RackType       *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=rackType,proto3" json:"rackType,omitempty"`
	Length         *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=length,proto3" json:"length,omitempty"`
	Width          *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=width,proto3" json:"width,omitempty"`
	Height         *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=height,proto3" json:"height,omitempty"`
	Layers         *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=layers,proto3" json:"layers,omitempty"`
	PickingSurface *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=pickingSurface,proto3" json:"pickingSurface,omitempty"`
	Description    *wrappers.StringValue `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	IsValid        *wrappers.BoolValue   `protobuf:"bytes,10,opt,name=isValid,proto3" json:"isValid,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRack) Descriptor deprecated

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

Deprecated: Use UpdateRack.ProtoReflect.Descriptor instead.

func (*UpdateRack) GetDescription

func (x *UpdateRack) GetDescription() *wrappers.StringValue

func (*UpdateRack) GetHeight

func (x *UpdateRack) GetHeight() *wrappers.UInt32Value

func (*UpdateRack) GetId

func (x *UpdateRack) GetId() *wrappers.UInt32Value

func (*UpdateRack) GetIsValid

func (x *UpdateRack) GetIsValid() *wrappers.BoolValue

func (*UpdateRack) GetLayers

func (x *UpdateRack) GetLayers() *wrappers.UInt32Value

func (*UpdateRack) GetLength

func (x *UpdateRack) GetLength() *wrappers.UInt32Value

func (*UpdateRack) GetName

func (x *UpdateRack) GetName() *wrappers.StringValue

func (*UpdateRack) GetPickingSurface

func (x *UpdateRack) GetPickingSurface() *wrappers.UInt32Value

func (*UpdateRack) GetRackType

func (x *UpdateRack) GetRackType() *wrappers.UInt32Value

func (*UpdateRack) GetWidth

func (x *UpdateRack) GetWidth() *wrappers.UInt32Value

func (*UpdateRack) ProtoMessage

func (*UpdateRack) ProtoMessage()

func (*UpdateRack) ProtoReflect

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

func (*UpdateRack) Reset

func (x *UpdateRack) Reset()

func (*UpdateRack) String

func (x *UpdateRack) String() string

type UpdateRackReq

type UpdateRackReq struct {
	Id   uint32      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Rack *UpdateRack `protobuf:"bytes,2,opt,name=rack,proto3" json:"rack,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRackReq) Descriptor deprecated

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

Deprecated: Use UpdateRackReq.ProtoReflect.Descriptor instead.

func (*UpdateRackReq) GetId

func (x *UpdateRackReq) GetId() uint32

func (*UpdateRackReq) GetRack

func (x *UpdateRackReq) GetRack() *UpdateRack

func (*UpdateRackReq) ProtoMessage

func (*UpdateRackReq) ProtoMessage()

func (*UpdateRackReq) ProtoReflect

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

func (*UpdateRackReq) Reset

func (x *UpdateRackReq) Reset()

func (*UpdateRackReq) String

func (x *UpdateRackReq) String() string

Jump to

Keyboard shortcuts

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