proto_wes

package module
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

proto_wes

Warehouse Service Protocol

Documentation

Index

Constants

This section is empty.

Variables

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) Descriptor() ([]byte, []int)

Deprecated: Use AmrState.ProtoReflect.Descriptor instead.

func (*AmrState) GetCurrentTime

func (x *AmrState) GetCurrentTime() int64

func (*AmrState) GetElapsedTime

func (x *AmrState) GetElapsedTime() int64

func (*AmrState) GetFinishWms added in v0.1.5

func (x *AmrState) GetFinishWms() []int64

func (*AmrState) GetHumanID added in v0.1.5

func (x *AmrState) GetHumanID() int64

func (*AmrState) GetId

func (x *AmrState) GetId() int64

func (*AmrState) GetMoveDistance added in v0.1.1

func (x *AmrState) GetMoveDistance() float32

func (*AmrState) GetPos

func (x *AmrState) GetPos() *Position

func (*AmrState) GetStartTime

func (x *AmrState) GetStartTime() int64

func (*AmrState) GetState

func (x *AmrState) GetState() string

func (*AmrState) GetTarget

func (x *AmrState) GetTarget() string

func (*AmrState) GetTargetPos

func (x *AmrState) GetTargetPos() *Position

func (*AmrState) GetWmsBatNum

func (x *AmrState) GetWmsBatNum() int64

func (*AmrState) ProtoMessage

func (*AmrState) ProtoMessage()

func (*AmrState) ProtoReflect

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

func (*AmrState) Reset

func (x *AmrState) Reset()

func (*AmrState) String

func (x *AmrState) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Giveinfo.ProtoReflect.Descriptor instead.

func (*Giveinfo) GetAmrID added in v0.1.11

func (x *Giveinfo) GetAmrID() int64

func (*Giveinfo) GetHumanID added in v0.1.11

func (x *Giveinfo) GetHumanID() int64

func (*Giveinfo) GetWmsID added in v0.1.13

func (x *Giveinfo) GetWmsID() int64

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

func (*Giveinfo) Reset added in v0.1.11

func (x *Giveinfo) Reset()

func (*Giveinfo) String added in v0.1.11

func (x *Giveinfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use HsimState.ProtoReflect.Descriptor instead.

func (*HsimState) GetCurrentTime

func (x *HsimState) GetCurrentTime() int64

func (*HsimState) GetElapsedTime

func (x *HsimState) GetElapsedTime() int64

func (*HsimState) GetFinishWms

func (x *HsimState) GetFinishWms() []int64

func (*HsimState) GetIdList

func (x *HsimState) GetIdList() []int64

func (*HsimState) GetSimType

func (x *HsimState) GetSimType() string

func (*HsimState) GetWmsGetTime

func (x *HsimState) GetWmsGetTime() int64

func (*HsimState) GetWorkingWms

func (x *HsimState) GetWorkingWms() []int64

func (*HsimState) ProtoMessage

func (*HsimState) ProtoMessage()

func (*HsimState) ProtoReflect

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

func (*HsimState) Reset

func (x *HsimState) Reset()

func (*HsimState) String

func (x *HsimState) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetIndex added in v0.1.9

func (x *Item) GetIndex() int64

func (*Item) GetIsPicked added in v0.1.9

func (x *Item) GetIsPicked() bool

func (*Item) GetItemID

func (x *Item) GetItemID() int64

func (*Item) GetLocation added in v0.1.9

func (x *Item) GetLocation() *Position

func (*Item) GetPickTime added in v0.1.9

func (x *Item) GetPickTime() int64

func (*Item) GetShelfID

func (x *Item) GetShelfID() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PickInfo.ProtoReflect.Descriptor instead.

func (*PickInfo) GetHumanID added in v0.1.8

func (x *PickInfo) GetHumanID() int64

func (*PickInfo) GetShelfID added in v0.1.8

func (x *PickInfo) GetShelfID() string

func (*PickInfo) GetWmsID added in v0.1.8

func (x *PickInfo) GetWmsID() int64

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

func (*PickInfo) Reset added in v0.1.8

func (x *PickInfo) Reset()

func (*PickInfo) String added in v0.1.8

func (x *PickInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetX

func (x *Position) GetX() float32

func (*Position) GetY

func (x *Position) GetY() float32

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SimType.ProtoReflect.Descriptor instead.

func (*SimType) GetSimType

func (x *SimType) GetSimType() string

func (*SimType) ProtoMessage

func (*SimType) ProtoMessage()

func (*SimType) ProtoReflect

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

func (*SimType) Reset

func (x *SimType) Reset()

func (*SimType) String

func (x *SimType) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use WesState.ProtoReflect.Descriptor instead.

func (*WesState) GetCurrentTime

func (x *WesState) GetCurrentTime() int64

func (*WesState) GetElapsedTime

func (x *WesState) GetElapsedTime() int64

func (*WesState) GetFinishWms

func (x *WesState) GetFinishWms() []int64

func (*WesState) GetRestWms

func (x *WesState) GetRestWms() []int64

func (*WesState) GetSimType

func (x *WesState) GetSimType() string

func (*WesState) GetSpeed

func (x *WesState) GetSpeed() float32

func (*WesState) GetWmsGetTime

func (x *WesState) GetWmsGetTime() int64

func (*WesState) GetWorkingWms

func (x *WesState) GetWorkingWms() []int64

func (*WesState) ProtoMessage

func (*WesState) ProtoMessage()

func (*WesState) ProtoReflect

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

func (*WesState) Reset

func (x *WesState) Reset()

func (*WesState) String

func (x *WesState) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use WmsOrder.ProtoReflect.Descriptor instead.

func (*WmsOrder) GetAmrAssignTIme added in v0.1.15

func (x *WmsOrder) GetAmrAssignTIme() int64

func (*WmsOrder) GetGetTime added in v0.1.9

func (x *WmsOrder) GetGetTime() int64

func (*WmsOrder) GetGiveItem added in v0.1.9

func (x *WmsOrder) GetGiveItem() bool

func (*WmsOrder) GetHumanAssignTime added in v0.1.15

func (x *WmsOrder) GetHumanAssignTime() int64

func (*WmsOrder) GetHumanID

func (x *WmsOrder) GetHumanID() int64

func (*WmsOrder) GetItem

func (x *WmsOrder) GetItem() []*Item

func (*WmsOrder) GetWmsID

func (x *WmsOrder) GetWmsID() int64

func (*WmsOrder) ProtoMessage

func (*WmsOrder) ProtoMessage()

func (*WmsOrder) ProtoReflect

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

func (*WmsOrder) Reset

func (x *WmsOrder) Reset()

func (*WmsOrder) String

func (x *WmsOrder) String() string

Jump to

Keyboard shortcuts

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