Documentation
¶
Index ¶
- Variables
- type AmrState
- func (*AmrState) Descriptor() ([]byte, []int)deprecated
- func (x *AmrState) GetCurrentTime() int64
- func (x *AmrState) GetElapsedTime() int64
- func (x *AmrState) GetFinishWms() []int64
- func (x *AmrState) GetHumanID() int64
- func (x *AmrState) GetId() int64
- func (x *AmrState) GetMoveDistance() float32
- func (x *AmrState) GetPos() *Position
- func (x *AmrState) GetStartTime() int64
- func (x *AmrState) GetState() string
- func (x *AmrState) GetTarget() string
- func (x *AmrState) GetTargetPos() *Position
- func (x *AmrState) GetWmsBatNum() int64
- func (*AmrState) ProtoMessage()
- func (x *AmrState) ProtoReflect() protoreflect.Message
- func (x *AmrState) Reset()
- func (x *AmrState) String() string
- type Giveinfo
- func (*Giveinfo) Descriptor() ([]byte, []int)deprecated
- func (x *Giveinfo) GetAmrID() int64
- func (x *Giveinfo) GetHumanID() int64
- func (x *Giveinfo) GetWmsID() int64
- func (*Giveinfo) ProtoMessage()
- func (x *Giveinfo) ProtoReflect() protoreflect.Message
- func (x *Giveinfo) Reset()
- func (x *Giveinfo) String() string
- type HsimCartState
- func (*HsimCartState) Descriptor() ([]byte, []int)deprecated
- func (x *HsimCartState) GetHumanID() int64
- func (x *HsimCartState) GetId() int64
- func (x *HsimCartState) GetItems() []string
- func (x *HsimCartState) GetLastUpdateUnix() int64
- func (x *HsimCartState) GetPos() *Position
- func (x *HsimCartState) GetPutUnix() int64
- func (x *HsimCartState) GetState() string
- func (*HsimCartState) ProtoMessage()
- func (x *HsimCartState) ProtoReflect() protoreflect.Message
- func (x *HsimCartState) Reset()
- func (x *HsimCartState) String() string
- type HsimMessage
- func (*HsimMessage) Descriptor() ([]byte, []int)deprecated
- func (x *HsimMessage) GetAmrID() int64
- func (x *HsimMessage) GetHumanID() int64
- func (x *HsimMessage) GetPutPos() *Position
- func (x *HsimMessage) GetPutTime() int64
- func (x *HsimMessage) GetTopic() string
- func (x *HsimMessage) GetWmsID() int64
- func (x *HsimMessage) GetWmsStart() int64
- func (*HsimMessage) ProtoMessage()
- func (x *HsimMessage) ProtoReflect() protoreflect.Message
- func (x *HsimMessage) Reset()
- func (x *HsimMessage) String() string
- type HsimState
- func (*HsimState) Descriptor() ([]byte, []int)deprecated
- func (x *HsimState) GetCurrentTime() int64
- func (x *HsimState) GetElapsedTime() int64
- func (x *HsimState) GetFinishWms() []int64
- func (x *HsimState) GetIdList() []int64
- func (x *HsimState) GetSimType() string
- func (x *HsimState) GetWmsGetTime() int64
- func (x *HsimState) GetWorkingWms() []int64
- func (*HsimState) ProtoMessage()
- func (x *HsimState) ProtoReflect() protoreflect.Message
- func (x *HsimState) Reset()
- func (x *HsimState) String() string
- type HumanState
- func (*HumanState) Descriptor() ([]byte, []int)deprecated
- func (x *HumanState) GetCurrentTime() int64
- func (x *HumanState) GetElapsedTime() int64
- func (x *HumanState) GetId() int64
- func (x *HumanState) GetPickedItem() []string
- func (x *HumanState) GetPickedNum() int64
- func (x *HumanState) GetPos() *Position
- func (x *HumanState) GetRestItem() []string
- func (x *HumanState) GetRestWms() []int64
- func (x *HumanState) GetStartTime() int64
- func (x *HumanState) GetState() string
- func (x *HumanState) GetTargetPos() *Position
- func (x *HumanState) GetWmsBatNum() int64
- func (x *HumanState) GetWmsItemNum() int64
- func (*HumanState) ProtoMessage()
- func (x *HumanState) ProtoReflect() protoreflect.Message
- func (x *HumanState) Reset()
- func (x *HumanState) String() string
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetIndex() int64
- func (x *Item) GetIsPicked() bool
- func (x *Item) GetItemID() int64
- func (x *Item) GetLocation() *Position
- func (x *Item) GetPickTime() int64
- func (x *Item) GetShelfID() string
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type PickInfo
- func (*PickInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PickInfo) GetHumanID() int64
- func (x *PickInfo) GetShelfID() string
- func (x *PickInfo) GetWmsID() int64
- func (*PickInfo) ProtoMessage()
- func (x *PickInfo) ProtoReflect() protoreflect.Message
- func (x *PickInfo) Reset()
- func (x *PickInfo) String() string
- type Position
- type SimType
- type WesCartState
- func (*WesCartState) Descriptor() ([]byte, []int)deprecated
- func (x *WesCartState) GetAmrID() int64
- func (x *WesCartState) GetCurrentTime() int64
- func (x *WesCartState) GetElapsedTime() int64
- func (x *WesCartState) GetHumanID() int64
- func (x *WesCartState) GetId() int64
- func (x *WesCartState) GetLatestMsgTime() int64
- func (x *WesCartState) GetMoveDistance() float32
- func (x *WesCartState) GetPos() *Position
- func (x *WesCartState) GetStatus() string
- func (*WesCartState) ProtoMessage()
- func (x *WesCartState) ProtoReflect() protoreflect.Message
- func (x *WesCartState) Reset()
- func (x *WesCartState) String() string
- type WesHumanState
- func (*WesHumanState) Descriptor() ([]byte, []int)deprecated
- func (x *WesHumanState) GetAllWms() []*WmsOrder
- func (x *WesHumanState) GetAmrMessage() string
- func (x *WesHumanState) GetAssignAmr() int64
- func (x *WesHumanState) GetCartId() int64
- func (x *WesHumanState) GetElapsedTime() int64
- func (x *WesHumanState) GetFinishWms() []int64
- func (x *WesHumanState) GetId() int64
- func (x *WesHumanState) GetLastItem() string
- func (x *WesHumanState) GetLatestMsgTime() int64
- func (x *WesHumanState) GetLatestPos() *Position
- func (x *WesHumanState) GetMessage() string
- func (x *WesHumanState) GetMoveDistance() float32
- func (x *WesHumanState) GetNextItem() string
- func (x *WesHumanState) GetNoPickedItem() []string
- func (x *WesHumanState) GetPickedItem() []string
- func (x *WesHumanState) GetPickingItemIndex() int64
- func (x *WesHumanState) GetProgress() float32
- func (x *WesHumanState) GetRestWms() []int64
- func (x *WesHumanState) GetTargetPos() *Position
- func (x *WesHumanState) GetWmsItemNum() int64
- func (x *WesHumanState) GetWorkingWms() int64
- func (*WesHumanState) ProtoMessage()
- func (x *WesHumanState) ProtoReflect() protoreflect.Message
- func (x *WesHumanState) Reset()
- func (x *WesHumanState) String() string
- type WesMessage
- func (*WesMessage) Descriptor() ([]byte, []int)deprecated
- func (x *WesMessage) GetAmrID() int64
- func (x *WesMessage) GetHumanID() int64
- func (x *WesMessage) GetMessage() []byte
- func (x *WesMessage) GetPos() *Position
- func (x *WesMessage) GetTopic() string
- func (x *WesMessage) GetWmsID() int64
- func (x *WesMessage) GetWmsStart() int64
- func (*WesMessage) ProtoMessage()
- func (x *WesMessage) ProtoReflect() protoreflect.Message
- func (x *WesMessage) Reset()
- func (x *WesMessage) String() string
- type WesState
- func (*WesState) Descriptor() ([]byte, []int)deprecated
- func (x *WesState) GetCurrentTime() int64
- func (x *WesState) GetElapsedTime() int64
- func (x *WesState) GetFinishWms() []int64
- func (x *WesState) GetRestWms() []int64
- func (x *WesState) GetSimType() string
- func (x *WesState) GetSpeed() float32
- func (x *WesState) GetWmsGetTime() int64
- func (x *WesState) GetWorkingWms() []int64
- func (*WesState) ProtoMessage()
- func (x *WesState) ProtoReflect() protoreflect.Message
- func (x *WesState) Reset()
- func (x *WesState) String() string
- type WmsOrder
- func (*WmsOrder) Descriptor() ([]byte, []int)deprecated
- func (x *WmsOrder) GetAmrAssignTIme() int64
- func (x *WmsOrder) GetGetTime() int64
- func (x *WmsOrder) GetGiveItem() bool
- func (x *WmsOrder) GetHumanAssignTime() int64
- func (x *WmsOrder) GetHumanID() int64
- func (x *WmsOrder) GetItem() []*Item
- func (x *WmsOrder) GetWmsID() int64
- func (*WmsOrder) ProtoMessage()
- func (x *WmsOrder) ProtoReflect() protoreflect.Message
- func (x *WmsOrder) Reset()
- func (x *WmsOrder) String() string
Constants ¶
This section is empty.
Variables ¶
var File_wes_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AmrState ¶
type AmrState struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //amrID
WmsBatNum int64 `protobuf:"varint,2,opt,name=wmsBatNum,proto3" json:"wmsBatNum,omitempty"` //current wms batID
StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` //unix
CurrentTime int64 `protobuf:"varint,4,opt,name=currentTime,proto3" json:"currentTime,omitempty"` //unix
ElapsedTime int64 `protobuf:"varint,5,opt,name=elapsedTime,proto3" json:"elapsedTime,omitempty"` //[sec]
State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` //status
TargetPos *Position `protobuf:"bytes,7,opt,name=targetPos,proto3" json:"targetPos,omitempty"`
Pos *Position `protobuf:"bytes,8,opt,name=pos,proto3" json:"pos,omitempty"` //current pos
Target string `protobuf:"bytes,9,opt,name=target,proto3" json:"target,omitempty"` //target pos name
MoveDistance float32 `protobuf:"fixed32,10,opt,name=moveDistance,proto3" json:"moveDistance,omitempty"` //moving distance
FinishWms []int64 `protobuf:"varint,11,rep,packed,name=finishWms,proto3" json:"finishWms,omitempty"` //finish wmsID list
HumanID int64 `protobuf:"varint,12,opt,name=humanID,proto3" json:"humanID,omitempty"` //assign humanID
// contains filtered or unexported fields
}
from wes
func (*AmrState) Descriptor
deprecated
func (*AmrState) GetCurrentTime ¶
func (*AmrState) GetElapsedTime ¶
func (*AmrState) GetFinishWms ¶ added in v0.1.5
func (*AmrState) GetHumanID ¶ added in v0.1.5
func (*AmrState) GetMoveDistance ¶ added in v0.1.1
func (*AmrState) GetStartTime ¶
func (*AmrState) GetTargetPos ¶
func (*AmrState) GetWmsBatNum ¶
func (*AmrState) ProtoMessage ¶
func (*AmrState) ProtoMessage()
func (*AmrState) ProtoReflect ¶
func (x *AmrState) ProtoReflect() protoreflect.Message
type Giveinfo ¶ added in v0.1.11
type Giveinfo struct {
HumanID int64 `protobuf:"varint,1,opt,name=humanID,proto3" json:"humanID,omitempty"`
AmrID int64 `protobuf:"varint,2,opt,name=amrID,proto3" json:"amrID,omitempty"`
WmsID int64 `protobuf:"varint,3,opt,name=wmsID,proto3" json:"wmsID,omitempty"`
// contains filtered or unexported fields
}
func (*Giveinfo) Descriptor
deprecated
added in
v0.1.11
func (*Giveinfo) GetHumanID ¶ added in v0.1.11
func (*Giveinfo) ProtoMessage ¶ added in v0.1.11
func (*Giveinfo) ProtoMessage()
func (*Giveinfo) ProtoReflect ¶ added in v0.1.11
func (x *Giveinfo) ProtoReflect() protoreflect.Message
type HsimCartState ¶
type HsimCartState struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //ID
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` //state of cart
Pos *Position `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` //current position
HumanID int64 `protobuf:"varint,4,opt,name=humanID,proto3" json:"humanID,omitempty"` //bring or put humanID
Items []string `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"` //items in cart
LastUpdateUnix int64 `protobuf:"varint,6,opt,name=lastUpdateUnix,proto3" json:"lastUpdateUnix,omitempty"` //latest update time
PutUnix int64 `protobuf:"varint,7,opt,name=putUnix,proto3" json:"putUnix,omitempty"` //human put time(unix)
// contains filtered or unexported fields
}
func (*HsimCartState) Descriptor
deprecated
func (*HsimCartState) Descriptor() ([]byte, []int)
Deprecated: Use HsimCartState.ProtoReflect.Descriptor instead.
func (*HsimCartState) GetHumanID ¶
func (x *HsimCartState) GetHumanID() int64
func (*HsimCartState) GetId ¶
func (x *HsimCartState) GetId() int64
func (*HsimCartState) GetItems ¶
func (x *HsimCartState) GetItems() []string
func (*HsimCartState) GetLastUpdateUnix ¶
func (x *HsimCartState) GetLastUpdateUnix() int64
func (*HsimCartState) GetPos ¶
func (x *HsimCartState) GetPos() *Position
func (*HsimCartState) GetPutUnix ¶
func (x *HsimCartState) GetPutUnix() int64
func (*HsimCartState) GetState ¶
func (x *HsimCartState) GetState() string
func (*HsimCartState) ProtoMessage ¶
func (*HsimCartState) ProtoMessage()
func (*HsimCartState) ProtoReflect ¶
func (x *HsimCartState) ProtoReflect() protoreflect.Message
func (*HsimCartState) Reset ¶
func (x *HsimCartState) Reset()
func (*HsimCartState) String ¶
func (x *HsimCartState) String() string
type HsimMessage ¶
type HsimMessage struct {
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
WmsID int64 `protobuf:"varint,2,opt,name=wmsID,proto3" json:"wmsID,omitempty"`
HumanID int64 `protobuf:"varint,3,opt,name=humanID,proto3" json:"humanID,omitempty"`
AmrID int64 `protobuf:"varint,4,opt,name=amrID,proto3" json:"amrID,omitempty"`
WmsStart int64 `protobuf:"varint,5,opt,name=wmsStart,proto3" json:"wmsStart,omitempty"` //unix
PutPos *Position `protobuf:"bytes,6,opt,name=putPos,proto3" json:"putPos,omitempty"` //position of cart
PutTime int64 `protobuf:"varint,7,opt,name=putTime,proto3" json:"putTime,omitempty"` //unixtime at cart put
// contains filtered or unexported fields
}
from hsim
func (*HsimMessage) Descriptor
deprecated
func (*HsimMessage) Descriptor() ([]byte, []int)
Deprecated: Use HsimMessage.ProtoReflect.Descriptor instead.
func (*HsimMessage) GetAmrID ¶
func (x *HsimMessage) GetAmrID() int64
func (*HsimMessage) GetHumanID ¶
func (x *HsimMessage) GetHumanID() int64
func (*HsimMessage) GetPutPos ¶
func (x *HsimMessage) GetPutPos() *Position
func (*HsimMessage) GetPutTime ¶
func (x *HsimMessage) GetPutTime() int64
func (*HsimMessage) GetTopic ¶
func (x *HsimMessage) GetTopic() string
func (*HsimMessage) GetWmsID ¶
func (x *HsimMessage) GetWmsID() int64
func (*HsimMessage) GetWmsStart ¶
func (x *HsimMessage) GetWmsStart() int64
func (*HsimMessage) ProtoMessage ¶
func (*HsimMessage) ProtoMessage()
func (*HsimMessage) ProtoReflect ¶
func (x *HsimMessage) ProtoReflect() protoreflect.Message
func (*HsimMessage) Reset ¶
func (x *HsimMessage) Reset()
func (*HsimMessage) String ¶
func (x *HsimMessage) String() string
type HsimState ¶
type HsimState struct {
SimType string `protobuf:"bytes,1,opt,name=simType,proto3" json:"simType,omitempty"` //simlation type
WorkingWms []int64 `protobuf:"varint,2,rep,packed,name=workingWms,proto3" json:"workingWms,omitempty"`
FinishWms []int64 `protobuf:"varint,3,rep,packed,name=finishWms,proto3" json:"finishWms,omitempty"`
WmsGetTime int64 `protobuf:"varint,4,opt,name=wmsGetTime,proto3" json:"wmsGetTime,omitempty"`
CurrentTime int64 `protobuf:"varint,5,opt,name=currentTime,proto3" json:"currentTime,omitempty"`
ElapsedTime int64 `protobuf:"varint,6,opt,name=elapsedTime,proto3" json:"elapsedTime,omitempty"` //[sec]
IdList []int64 `protobuf:"varint,7,rep,packed,name=idList,proto3" json:"idList,omitempty"` //human id list
// contains filtered or unexported fields
}
hsim status, from hsim
func (*HsimState) Descriptor
deprecated
func (*HsimState) GetCurrentTime ¶
func (*HsimState) GetElapsedTime ¶
func (*HsimState) GetFinishWms ¶
func (*HsimState) GetSimType ¶
func (*HsimState) GetWmsGetTime ¶
func (*HsimState) GetWorkingWms ¶
func (*HsimState) ProtoMessage ¶
func (*HsimState) ProtoMessage()
func (*HsimState) ProtoReflect ¶
func (x *HsimState) ProtoReflect() protoreflect.Message
type HumanState ¶
type HumanState struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //human id
WmsBatNum int64 `protobuf:"varint,2,opt,name=wmsBatNum,proto3" json:"wmsBatNum,omitempty"` //current wms batID
StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` //unix
CurrentTime int64 `protobuf:"varint,4,opt,name=currentTime,proto3" json:"currentTime,omitempty"` //unix
ElapsedTime int64 `protobuf:"varint,5,opt,name=elapsedTime,proto3" json:"elapsedTime,omitempty"` //[sec]
State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` //status
RestWms []int64 `protobuf:"varint,7,rep,packed,name=restWms,proto3" json:"restWms,omitempty"`
TargetPos *Position `protobuf:"bytes,8,opt,name=targetPos,proto3" json:"targetPos,omitempty"`
PickedNum int64 `protobuf:"varint,9,opt,name=pickedNum,proto3" json:"pickedNum,omitempty"` //ピッキングされた商品の数
WmsItemNum int64 `protobuf:"varint,10,opt,name=wmsItemNum,proto3" json:"wmsItemNum,omitempty"` //1batの商品の数
Pos *Position `protobuf:"bytes,11,opt,name=pos,proto3" json:"pos,omitempty"` //current pos
RestItem []string `protobuf:"bytes,12,rep,name=restItem,proto3" json:"restItem,omitempty"` //回収されていない商品の棚ID一覧
PickedItem []string `protobuf:"bytes,13,rep,name=pickedItem,proto3" json:"pickedItem,omitempty"` //回収された商品の棚ID一覧
// contains filtered or unexported fields
}
from hsim
func (*HumanState) Descriptor
deprecated
func (*HumanState) Descriptor() ([]byte, []int)
Deprecated: Use HumanState.ProtoReflect.Descriptor instead.
func (*HumanState) GetCurrentTime ¶
func (x *HumanState) GetCurrentTime() int64
func (*HumanState) GetElapsedTime ¶
func (x *HumanState) GetElapsedTime() int64
func (*HumanState) GetId ¶
func (x *HumanState) GetId() int64
func (*HumanState) GetPickedItem ¶
func (x *HumanState) GetPickedItem() []string
func (*HumanState) GetPickedNum ¶
func (x *HumanState) GetPickedNum() int64
func (*HumanState) GetPos ¶
func (x *HumanState) GetPos() *Position
func (*HumanState) GetRestItem ¶
func (x *HumanState) GetRestItem() []string
func (*HumanState) GetRestWms ¶
func (x *HumanState) GetRestWms() []int64
func (*HumanState) GetStartTime ¶
func (x *HumanState) GetStartTime() int64
func (*HumanState) GetState ¶
func (x *HumanState) GetState() string
func (*HumanState) GetTargetPos ¶
func (x *HumanState) GetTargetPos() *Position
func (*HumanState) GetWmsBatNum ¶
func (x *HumanState) GetWmsBatNum() int64
func (*HumanState) GetWmsItemNum ¶
func (x *HumanState) GetWmsItemNum() int64
func (*HumanState) ProtoMessage ¶
func (*HumanState) ProtoMessage()
func (*HumanState) ProtoReflect ¶
func (x *HumanState) ProtoReflect() protoreflect.Message
func (*HumanState) Reset ¶
func (x *HumanState) Reset()
func (*HumanState) String ¶
func (x *HumanState) String() string
type Item ¶
type Item struct {
ItemID int64 `protobuf:"varint,1,opt,name=itemID,proto3" json:"itemID,omitempty"`
ShelfID string `protobuf:"bytes,2,opt,name=shelfID,proto3" json:"shelfID,omitempty"`
IsPicked bool `protobuf:"varint,3,opt,name=isPicked,proto3" json:"isPicked,omitempty"`
PickTime int64 `protobuf:"varint,4,opt,name=pickTime,proto3" json:"pickTime,omitempty"` //unix
Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
Location *Position `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
wmsの一つの商品
func (*Item) Descriptor
deprecated
func (*Item) GetIsPicked ¶ added in v0.1.9
func (*Item) GetLocation ¶ added in v0.1.9
func (*Item) GetPickTime ¶ added in v0.1.9
func (*Item) GetShelfID ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type PickInfo ¶ added in v0.1.8
type PickInfo struct {
HumanID int64 `protobuf:"varint,1,opt,name=humanID,proto3" json:"humanID,omitempty"`
ShelfID string `protobuf:"bytes,2,opt,name=shelfID,proto3" json:"shelfID,omitempty"`
WmsID int64 `protobuf:"varint,3,opt,name=wmsID,proto3" json:"wmsID,omitempty"`
// contains filtered or unexported fields
}
func (*PickInfo) Descriptor
deprecated
added in
v0.1.8
func (*PickInfo) GetHumanID ¶ added in v0.1.8
func (*PickInfo) GetShelfID ¶ added in v0.1.8
func (*PickInfo) ProtoMessage ¶ added in v0.1.8
func (*PickInfo) ProtoMessage()
func (*PickInfo) ProtoReflect ¶ added in v0.1.8
func (x *PickInfo) ProtoReflect() protoreflect.Message
type Position ¶
type Position struct {
X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
二次元座標
func (*Position) Descriptor
deprecated
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type SimType ¶
type SimType struct {
SimType string `protobuf:"bytes,1,opt,name=simType,proto3" json:"simType,omitempty"` //synchronous or asynchronous or onlyHuman
// contains filtered or unexported fields
}
simlation type
func (*SimType) Descriptor
deprecated
func (*SimType) GetSimType ¶
func (*SimType) ProtoMessage ¶
func (*SimType) ProtoMessage()
func (*SimType) ProtoReflect ¶
func (x *SimType) ProtoReflect() protoreflect.Message
type WesCartState ¶
type WesCartState struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Pos *Position `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"` //put position
LatestMsgTime int64 `protobuf:"varint,3,opt,name=latestMsgTime,proto3" json:"latestMsgTime,omitempty"` //latest receive msg time
HumanID int64 `protobuf:"varint,4,opt,name=humanID,proto3" json:"humanID,omitempty"` //using humanID
ElapsedTime int64 `protobuf:"varint,5,opt,name=elapsedTime,proto3" json:"elapsedTime,omitempty"` //[sec]
CurrentTime int64 `protobuf:"varint,6,opt,name=currentTime,proto3" json:"currentTime,omitempty"` //unix
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` //state
AmrID int64 `protobuf:"varint,8,opt,name=amrID,proto3" json:"amrID,omitempty"` //assigned amrID
MoveDistance float32 `protobuf:"fixed32,9,opt,name=moveDistance,proto3" json:"moveDistance,omitempty"` //moving distance
// contains filtered or unexported fields
}
one cart's state
func (*WesCartState) Descriptor
deprecated
func (*WesCartState) Descriptor() ([]byte, []int)
Deprecated: Use WesCartState.ProtoReflect.Descriptor instead.
func (*WesCartState) GetAmrID ¶
func (x *WesCartState) GetAmrID() int64
func (*WesCartState) GetCurrentTime ¶
func (x *WesCartState) GetCurrentTime() int64
func (*WesCartState) GetElapsedTime ¶
func (x *WesCartState) GetElapsedTime() int64
func (*WesCartState) GetHumanID ¶
func (x *WesCartState) GetHumanID() int64
func (*WesCartState) GetId ¶
func (x *WesCartState) GetId() int64
func (*WesCartState) GetLatestMsgTime ¶
func (x *WesCartState) GetLatestMsgTime() int64
func (*WesCartState) GetMoveDistance ¶ added in v0.1.2
func (x *WesCartState) GetMoveDistance() float32
func (*WesCartState) GetPos ¶
func (x *WesCartState) GetPos() *Position
func (*WesCartState) GetStatus ¶
func (x *WesCartState) GetStatus() string
func (*WesCartState) ProtoMessage ¶
func (*WesCartState) ProtoMessage()
func (*WesCartState) ProtoReflect ¶
func (x *WesCartState) ProtoReflect() protoreflect.Message
func (*WesCartState) Reset ¶
func (x *WesCartState) Reset()
func (*WesCartState) String ¶
func (x *WesCartState) String() string
type WesHumanState ¶
type WesHumanState struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
PickedItem []string `protobuf:"bytes,2,rep,name=pickedItem,proto3" json:"pickedItem,omitempty"` //picked item's shelfID list
NoPickedItem []string `protobuf:"bytes,3,rep,name=noPickedItem,proto3" json:"noPickedItem,omitempty"` // not picked item's shelfID list
LatestMsgTime int64 `protobuf:"varint,4,opt,name=latestMsgTime,proto3" json:"latestMsgTime,omitempty"` //latest receive message's time (unix)
LatestPos *Position `protobuf:"bytes,5,opt,name=latestPos,proto3" json:"latestPos,omitempty"` //latest receive message's position
Progress float32 `protobuf:"fixed32,6,opt,name=progress,proto3" json:"progress,omitempty"` //wms_orderの進行度
PickingItemIndex int64 `protobuf:"varint,7,opt,name=pickingItemIndex,proto3" json:"pickingItemIndex,omitempty"` //picking item's index of wms_order's itemList
WorkingWms int64 `protobuf:"varint,8,opt,name=workingWms,proto3" json:"workingWms,omitempty"` //working wmsID (wes guess from message)
WmsItemNum int64 `protobuf:"varint,9,opt,name=wmsItemNum,proto3" json:"wmsItemNum,omitempty"` //working wms's all item num
CartId int64 `protobuf:"varint,10,opt,name=cartId,proto3" json:"cartId,omitempty"` //having cart (estimate)
RestWms []int64 `protobuf:"varint,11,rep,packed,name=restWms,proto3" json:"restWms,omitempty"` //rest wms ids(estimate)
ElapsedTime int64 `protobuf:"varint,12,opt,name=elapsedTime,proto3" json:"elapsedTime,omitempty"` //elapsedTime
LastItem string `protobuf:"bytes,13,opt,name=lastItem,proto3" json:"lastItem,omitempty"` //next picking item name
NextItem string `protobuf:"bytes,14,opt,name=nextItem,proto3" json:"nextItem,omitempty"` //next picking item
MoveDistance float32 `protobuf:"fixed32,15,opt,name=moveDistance,proto3" json:"moveDistance,omitempty"` //moving distance
Message string `protobuf:"bytes,16,opt,name=message,proto3" json:"message,omitempty"` //from wes message to human
FinishWms []int64 `protobuf:"varint,17,rep,packed,name=finishWms,proto3" json:"finishWms,omitempty"` //finishWmsList
AssignAmr int64 `protobuf:"varint,18,opt,name=assignAmr,proto3" json:"assignAmr,omitempty"` //割り振られたamrのID
TargetPos *Position `protobuf:"bytes,19,opt,name=targetPos,proto3" json:"targetPos,omitempty"` //目的地の座標
AllWms []*WmsOrder `protobuf:"bytes,20,rep,name=allWms,proto3" json:"allWms,omitempty"`
AmrMessage string `protobuf:"bytes,21,opt,name=amrMessage,proto3" json:"amrMessage,omitempty"` //割り当てられたamrの情報
// contains filtered or unexported fields
}
wesHumanState from wes , wes's monitering human state
func (*WesHumanState) Descriptor
deprecated
func (*WesHumanState) Descriptor() ([]byte, []int)
Deprecated: Use WesHumanState.ProtoReflect.Descriptor instead.
func (*WesHumanState) GetAllWms ¶ added in v0.1.10
func (x *WesHumanState) GetAllWms() []*WmsOrder
func (*WesHumanState) GetAmrMessage ¶ added in v0.1.12
func (x *WesHumanState) GetAmrMessage() string
func (*WesHumanState) GetAssignAmr ¶ added in v0.1.6
func (x *WesHumanState) GetAssignAmr() int64
func (*WesHumanState) GetCartId ¶
func (x *WesHumanState) GetCartId() int64
func (*WesHumanState) GetElapsedTime ¶
func (x *WesHumanState) GetElapsedTime() int64
func (*WesHumanState) GetFinishWms ¶ added in v0.1.4
func (x *WesHumanState) GetFinishWms() []int64
func (*WesHumanState) GetId ¶
func (x *WesHumanState) GetId() int64
func (*WesHumanState) GetLastItem ¶
func (x *WesHumanState) GetLastItem() string
func (*WesHumanState) GetLatestMsgTime ¶
func (x *WesHumanState) GetLatestMsgTime() int64
func (*WesHumanState) GetLatestPos ¶
func (x *WesHumanState) GetLatestPos() *Position
func (*WesHumanState) GetMessage ¶ added in v0.1.3
func (x *WesHumanState) GetMessage() string
func (*WesHumanState) GetMoveDistance ¶ added in v0.1.3
func (x *WesHumanState) GetMoveDistance() float32
func (*WesHumanState) GetNextItem ¶
func (x *WesHumanState) GetNextItem() string
func (*WesHumanState) GetNoPickedItem ¶
func (x *WesHumanState) GetNoPickedItem() []string
func (*WesHumanState) GetPickedItem ¶
func (x *WesHumanState) GetPickedItem() []string
func (*WesHumanState) GetPickingItemIndex ¶
func (x *WesHumanState) GetPickingItemIndex() int64
func (*WesHumanState) GetProgress ¶
func (x *WesHumanState) GetProgress() float32
func (*WesHumanState) GetRestWms ¶
func (x *WesHumanState) GetRestWms() []int64
func (*WesHumanState) GetTargetPos ¶ added in v0.1.7
func (x *WesHumanState) GetTargetPos() *Position
func (*WesHumanState) GetWmsItemNum ¶
func (x *WesHumanState) GetWmsItemNum() int64
func (*WesHumanState) GetWorkingWms ¶
func (x *WesHumanState) GetWorkingWms() int64
func (*WesHumanState) ProtoMessage ¶
func (*WesHumanState) ProtoMessage()
func (*WesHumanState) ProtoReflect ¶
func (x *WesHumanState) ProtoReflect() protoreflect.Message
func (*WesHumanState) Reset ¶
func (x *WesHumanState) Reset()
func (*WesHumanState) String ¶
func (x *WesHumanState) String() string
type WesMessage ¶
type WesMessage struct {
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` //topic
WmsID int64 `protobuf:"varint,2,opt,name=wmsID,proto3" json:"wmsID,omitempty"`
HumanID int64 `protobuf:"varint,3,opt,name=humanID,proto3" json:"humanID,omitempty"`
AmrID int64 `protobuf:"varint,4,opt,name=amrID,proto3" json:"amrID,omitempty"`
WmsStart int64 `protobuf:"varint,5,opt,name=wmsStart,proto3" json:"wmsStart,omitempty"` //unixtime
Pos *Position `protobuf:"bytes,6,opt,name=pos,proto3" json:"pos,omitempty"` //待っている場所
Message []byte `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"` //message
// contains filtered or unexported fields
}
from wes-provider
func (*WesMessage) Descriptor
deprecated
func (*WesMessage) Descriptor() ([]byte, []int)
Deprecated: Use WesMessage.ProtoReflect.Descriptor instead.
func (*WesMessage) GetAmrID ¶
func (x *WesMessage) GetAmrID() int64
func (*WesMessage) GetHumanID ¶
func (x *WesMessage) GetHumanID() int64
func (*WesMessage) GetMessage ¶ added in v0.1.5
func (x *WesMessage) GetMessage() []byte
func (*WesMessage) GetPos ¶
func (x *WesMessage) GetPos() *Position
func (*WesMessage) GetTopic ¶
func (x *WesMessage) GetTopic() string
func (*WesMessage) GetWmsID ¶
func (x *WesMessage) GetWmsID() int64
func (*WesMessage) GetWmsStart ¶
func (x *WesMessage) GetWmsStart() int64
func (*WesMessage) ProtoMessage ¶
func (*WesMessage) ProtoMessage()
func (*WesMessage) ProtoReflect ¶
func (x *WesMessage) ProtoReflect() protoreflect.Message
func (*WesMessage) Reset ¶
func (x *WesMessage) Reset()
func (*WesMessage) String ¶
func (x *WesMessage) String() string
type WesState ¶
type WesState struct {
SimType string `protobuf:"bytes,1,opt,name=simType,proto3" json:"simType,omitempty"` //simlation type
WorkingWms []int64 `protobuf:"varint,2,rep,packed,name=workingWms,proto3" json:"workingWms,omitempty"` //wmsID list worked by humans
RestWms []int64 `protobuf:"varint,3,rep,packed,name=restWms,proto3" json:"restWms,omitempty"` //wmsID list not worked
FinishWms []int64 `protobuf:"varint,4,rep,packed,name=finishWms,proto3" json:"finishWms,omitempty"` //wmsID list shiped
WmsGetTime int64 `protobuf:"varint,5,opt,name=wmsGetTime,proto3" json:"wmsGetTime,omitempty"` //unix
CurrentTime int64 `protobuf:"varint,6,opt,name=currentTime,proto3" json:"currentTime,omitempty"` //unix
ElapsedTime int64 `protobuf:"varint,7,opt,name=elapsedTime,proto3" json:"elapsedTime,omitempty"` //[sec]
Speed float32 `protobuf:"fixed32,8,opt,name=speed,proto3" json:"speed,omitempty"` //simlation speed
// contains filtered or unexported fields
}
from wes
func (*WesState) Descriptor
deprecated
func (*WesState) GetCurrentTime ¶
func (*WesState) GetElapsedTime ¶
func (*WesState) GetFinishWms ¶
func (*WesState) GetRestWms ¶
func (*WesState) GetSimType ¶
func (*WesState) GetWmsGetTime ¶
func (*WesState) GetWorkingWms ¶
func (*WesState) ProtoMessage ¶
func (*WesState) ProtoMessage()
func (*WesState) ProtoReflect ¶
func (x *WesState) ProtoReflect() protoreflect.Message
type WmsOrder ¶
type WmsOrder struct {
WmsID int64 `protobuf:"varint,1,opt,name=wmsID,proto3" json:"wmsID,omitempty"`
HumanID int64 `protobuf:"varint,2,opt,name=humanID,proto3" json:"humanID,omitempty"`
Item []*Item `protobuf:"bytes,3,rep,name=item,proto3" json:"item,omitempty"`
GetTime int64 `protobuf:"varint,4,opt,name=getTime,proto3" json:"getTime,omitempty"`
GiveItem bool `protobuf:"varint,5,opt,name=giveItem,proto3" json:"giveItem,omitempty"`
HumanAssignTime int64 `protobuf:"varint,6,opt,name=humanAssignTime,proto3" json:"humanAssignTime,omitempty"`
AmrAssignTIme int64 `protobuf:"varint,7,opt,name=amrAssignTIme,proto3" json:"amrAssignTIme,omitempty"`
// contains filtered or unexported fields
}
func (*WmsOrder) Descriptor
deprecated
func (*WmsOrder) GetAmrAssignTIme ¶ added in v0.1.15
func (*WmsOrder) GetGetTime ¶ added in v0.1.9
func (*WmsOrder) GetGiveItem ¶ added in v0.1.9
func (*WmsOrder) GetHumanAssignTime ¶ added in v0.1.15
func (*WmsOrder) GetHumanID ¶
func (*WmsOrder) ProtoMessage ¶
func (*WmsOrder) ProtoMessage()
func (*WmsOrder) ProtoReflect ¶
func (x *WmsOrder) ProtoReflect() protoreflect.Message