unitService

package
v0.0.0-...-7261592 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TransitionUnitState_name = map[int32]string{
		0:  "UnitClose",
		1:  "UnitFinish",
		2:  "UnitHold",
		3:  "UnitOpen",
		4:  "UnitQuarantine",
		5:  "UnitRelease",
		6:  "UnitShip",
		7:  "UnitUndoClose",
		8:  "UnitUndoShip",
		9:  "UnitUndoFinish",
		10: "UnitScrap",
		11: "UnitUndoScrap",
		12: "UnitCancle",
	}
	TransitionUnitState_value = map[string]int32{
		"UnitClose":      0,
		"UnitFinish":     1,
		"UnitHold":       2,
		"UnitOpen":       3,
		"UnitQuarantine": 4,
		"UnitRelease":    5,
		"UnitShip":       6,
		"UnitUndoClose":  7,
		"UnitUndoShip":   8,
		"UnitUndoFinish": 9,
		"UnitScrap":      10,
		"UnitUndoScrap":  11,
		"UnitCancle":     12,
	}
)

Enum value maps for TransitionUnitState.

View Source
var File_unit_service_proto protoreflect.FileDescriptor

Functions

func RegisterUnitServiceServer

func RegisterUnitServiceServer(s *grpc.Server, srv UnitServiceServer)

Types

type AddUnitToQueueRequest

type AddUnitToQueueRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	RouteQueueName  string                 `protobuf:"bytes,2,opt,name=route_queue_name,json=routeQueueName,proto3" json:"route_queue_name,omitempty"`
	Comment         string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUnitToQueueRequest) Descriptor deprecated

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

Deprecated: Use AddUnitToQueueRequest.ProtoReflect.Descriptor instead.

func (*AddUnitToQueueRequest) GetComment

func (x *AddUnitToQueueRequest) GetComment() string

func (*AddUnitToQueueRequest) GetRouteQueueName

func (x *AddUnitToQueueRequest) GetRouteQueueName() string

func (*AddUnitToQueueRequest) GetTransactionTime

func (x *AddUnitToQueueRequest) GetTransactionTime() *timestamppb.Timestamp

func (*AddUnitToQueueRequest) GetUnitId

func (x *AddUnitToQueueRequest) GetUnitId() uint64

func (*AddUnitToQueueRequest) ProtoMessage

func (*AddUnitToQueueRequest) ProtoMessage()

func (*AddUnitToQueueRequest) ProtoReflect

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

func (*AddUnitToQueueRequest) Reset

func (x *AddUnitToQueueRequest) Reset()

func (*AddUnitToQueueRequest) String

func (x *AddUnitToQueueRequest) String() string

type ChangeLotRequest

type ChangeLotRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	NewLotId        uint64                 `protobuf:"varint,2,opt,name=new_lot_id,json=newLotId,proto3" json:"new_lot_id,omitempty"`
	Comment         string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeLotRequest) Descriptor deprecated

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

Deprecated: Use ChangeLotRequest.ProtoReflect.Descriptor instead.

func (*ChangeLotRequest) GetComment

func (x *ChangeLotRequest) GetComment() string

func (*ChangeLotRequest) GetNewLotId

func (x *ChangeLotRequest) GetNewLotId() uint64

func (*ChangeLotRequest) GetTransactionTime

func (x *ChangeLotRequest) GetTransactionTime() *timestamppb.Timestamp

func (*ChangeLotRequest) GetUnitId

func (x *ChangeLotRequest) GetUnitId() uint64

func (*ChangeLotRequest) ProtoMessage

func (*ChangeLotRequest) ProtoMessage()

func (*ChangeLotRequest) ProtoReflect

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

func (*ChangeLotRequest) Reset

func (x *ChangeLotRequest) Reset()

func (*ChangeLotRequest) String

func (x *ChangeLotRequest) String() string

type ChangeProductionLineRequest

type ChangeProductionLineRequest struct {
	UnitId              uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	NewProductionLineId uint64                 `protobuf:"varint,2,opt,name=new_production_line_id,json=newProductionLineId,proto3" json:"new_production_line_id,omitempty"`
	Comment             string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeProductionLineRequest) Descriptor deprecated

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

Deprecated: Use ChangeProductionLineRequest.ProtoReflect.Descriptor instead.

func (*ChangeProductionLineRequest) GetComment

func (x *ChangeProductionLineRequest) GetComment() string

func (*ChangeProductionLineRequest) GetNewProductionLineId

func (x *ChangeProductionLineRequest) GetNewProductionLineId() uint64

func (*ChangeProductionLineRequest) GetTransactionTime

func (x *ChangeProductionLineRequest) GetTransactionTime() *timestamppb.Timestamp

func (*ChangeProductionLineRequest) GetUnitId

func (x *ChangeProductionLineRequest) GetUnitId() uint64

func (*ChangeProductionLineRequest) ProtoMessage

func (*ChangeProductionLineRequest) ProtoMessage()

func (*ChangeProductionLineRequest) ProtoReflect

func (*ChangeProductionLineRequest) Reset

func (x *ChangeProductionLineRequest) Reset()

func (*ChangeProductionLineRequest) String

func (x *ChangeProductionLineRequest) String() string

type ChangeSerialNumberRequest

type ChangeSerialNumberRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	NewSerialNumber string                 `protobuf:"bytes,2,opt,name=new_serial_number,json=newSerialNumber,proto3" json:"new_serial_number,omitempty"`
	Comment         string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeSerialNumberRequest) Descriptor deprecated

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

Deprecated: Use ChangeSerialNumberRequest.ProtoReflect.Descriptor instead.

func (*ChangeSerialNumberRequest) GetComment

func (x *ChangeSerialNumberRequest) GetComment() string

func (*ChangeSerialNumberRequest) GetNewSerialNumber

func (x *ChangeSerialNumberRequest) GetNewSerialNumber() string

func (*ChangeSerialNumberRequest) GetTransactionTime

func (x *ChangeSerialNumberRequest) GetTransactionTime() *timestamppb.Timestamp

func (*ChangeSerialNumberRequest) GetUnitId

func (x *ChangeSerialNumberRequest) GetUnitId() uint64

func (*ChangeSerialNumberRequest) ProtoMessage

func (*ChangeSerialNumberRequest) ProtoMessage()

func (*ChangeSerialNumberRequest) ProtoReflect

func (*ChangeSerialNumberRequest) Reset

func (x *ChangeSerialNumberRequest) Reset()

func (*ChangeSerialNumberRequest) String

func (x *ChangeSerialNumberRequest) String() string

type CreateStandAloneUnitRequest

type CreateStandAloneUnitRequest struct {
	SerialNumber    string                 `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	PartNumber      string                 `protobuf:"bytes,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	PartRevision    string                 `protobuf:"bytes,3,opt,name=part_revision,json=partRevision,proto3" json:"part_revision,omitempty"`
	BomName         string                 `protobuf:"bytes,4,opt,name=bom_name,json=bomName,proto3" json:"bom_name,omitempty"`
	BomRevision     string                 `protobuf:"bytes,5,opt,name=bom_revision,json=bomRevision,proto3" json:"bom_revision,omitempty"`
	RouteId         uint64                 `protobuf:"varint,6,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	Priority        int32                  `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`
	Comment         string                 `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	Quantity        uint32                 `protobuf:"varint,10,opt,name=Quantity,proto3" json:"Quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStandAloneUnitRequest) Descriptor deprecated

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

Deprecated: Use CreateStandAloneUnitRequest.ProtoReflect.Descriptor instead.

func (*CreateStandAloneUnitRequest) GetBomName

func (x *CreateStandAloneUnitRequest) GetBomName() string

func (*CreateStandAloneUnitRequest) GetBomRevision

func (x *CreateStandAloneUnitRequest) GetBomRevision() string

func (*CreateStandAloneUnitRequest) GetComment

func (x *CreateStandAloneUnitRequest) GetComment() string

func (*CreateStandAloneUnitRequest) GetPartNumber

func (x *CreateStandAloneUnitRequest) GetPartNumber() string

func (*CreateStandAloneUnitRequest) GetPartRevision

func (x *CreateStandAloneUnitRequest) GetPartRevision() string

func (*CreateStandAloneUnitRequest) GetPriority

func (x *CreateStandAloneUnitRequest) GetPriority() int32

func (*CreateStandAloneUnitRequest) GetQuantity

func (x *CreateStandAloneUnitRequest) GetQuantity() uint32

func (*CreateStandAloneUnitRequest) GetRouteId

func (x *CreateStandAloneUnitRequest) GetRouteId() uint64

func (*CreateStandAloneUnitRequest) GetSerialNumber

func (x *CreateStandAloneUnitRequest) GetSerialNumber() string

func (*CreateStandAloneUnitRequest) GetTransactionTime

func (x *CreateStandAloneUnitRequest) GetTransactionTime() *timestamppb.Timestamp

func (*CreateStandAloneUnitRequest) ProtoMessage

func (*CreateStandAloneUnitRequest) ProtoMessage()

func (*CreateStandAloneUnitRequest) ProtoReflect

func (*CreateStandAloneUnitRequest) Reset

func (x *CreateStandAloneUnitRequest) Reset()

func (*CreateStandAloneUnitRequest) String

func (x *CreateStandAloneUnitRequest) String() string

type RestartUnitRequest

type RestartUnitRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	Comment         string                 `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartUnitRequest) Descriptor deprecated

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

Deprecated: Use RestartUnitRequest.ProtoReflect.Descriptor instead.

func (*RestartUnitRequest) GetComment

func (x *RestartUnitRequest) GetComment() string

func (*RestartUnitRequest) GetTransactionTime

func (x *RestartUnitRequest) GetTransactionTime() *timestamppb.Timestamp

func (*RestartUnitRequest) GetUnitId

func (x *RestartUnitRequest) GetUnitId() uint64

func (*RestartUnitRequest) ProtoMessage

func (*RestartUnitRequest) ProtoMessage()

func (*RestartUnitRequest) ProtoReflect

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

func (*RestartUnitRequest) Reset

func (x *RestartUnitRequest) Reset()

func (*RestartUnitRequest) String

func (x *RestartUnitRequest) String() string

type TransitionUnitRequest

type TransitionUnitRequest struct {
	UnitId                   uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	Reason                   string                 `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	Comment                  string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	TransitionState          TransitionUnitState    `protobuf:"varint,5,opt,name=transitionState,proto3,enum=protobuf.TransitionUnitState" json:"transitionState,omitempty"`
	OverrideRouteEnforcement bool                   `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TransitionUnitRequest) Descriptor deprecated

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

Deprecated: Use TransitionUnitRequest.ProtoReflect.Descriptor instead.

func (*TransitionUnitRequest) GetComment

func (x *TransitionUnitRequest) GetComment() string

func (*TransitionUnitRequest) GetOverrideRouteEnforcement

func (x *TransitionUnitRequest) GetOverrideRouteEnforcement() bool

func (*TransitionUnitRequest) GetReason

func (x *TransitionUnitRequest) GetReason() string

func (*TransitionUnitRequest) GetTransactionTime

func (x *TransitionUnitRequest) GetTransactionTime() *timestamppb.Timestamp

func (*TransitionUnitRequest) GetTransitionState

func (x *TransitionUnitRequest) GetTransitionState() TransitionUnitState

func (*TransitionUnitRequest) GetUnitId

func (x *TransitionUnitRequest) GetUnitId() uint64

func (*TransitionUnitRequest) ProtoMessage

func (*TransitionUnitRequest) ProtoMessage()

func (*TransitionUnitRequest) ProtoReflect

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

func (*TransitionUnitRequest) Reset

func (x *TransitionUnitRequest) Reset()

func (*TransitionUnitRequest) String

func (x *TransitionUnitRequest) String() string

type TransitionUnitState

type TransitionUnitState int32
const (
	TransitionUnitState_UnitClose      TransitionUnitState = 0
	TransitionUnitState_UnitFinish     TransitionUnitState = 1
	TransitionUnitState_UnitHold       TransitionUnitState = 2
	TransitionUnitState_UnitOpen       TransitionUnitState = 3
	TransitionUnitState_UnitQuarantine TransitionUnitState = 4
	TransitionUnitState_UnitRelease    TransitionUnitState = 5
	TransitionUnitState_UnitShip       TransitionUnitState = 6
	TransitionUnitState_UnitUndoClose  TransitionUnitState = 7
	TransitionUnitState_UnitUndoShip   TransitionUnitState = 8
	TransitionUnitState_UnitUndoFinish TransitionUnitState = 9
	TransitionUnitState_UnitScrap      TransitionUnitState = 10
	TransitionUnitState_UnitUndoScrap  TransitionUnitState = 11
	TransitionUnitState_UnitCancle     TransitionUnitState = 12
)

func (TransitionUnitState) Descriptor

func (TransitionUnitState) Enum

func (TransitionUnitState) EnumDescriptor deprecated

func (TransitionUnitState) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransitionUnitState.Descriptor instead.

func (TransitionUnitState) Number

func (TransitionUnitState) String

func (x TransitionUnitState) String() string

func (TransitionUnitState) Type

type UnimplementedUnitServiceServer

type UnimplementedUnitServiceServer struct {
}

UnimplementedUnitServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUnitServiceServer) AddToQueue

func (UnimplementedUnitServiceServer) Cancel

func (UnimplementedUnitServiceServer) ChangeBom

func (UnimplementedUnitServiceServer) ChangeBomFromPart

func (UnimplementedUnitServiceServer) ChangeLot

func (UnimplementedUnitServiceServer) ChangePart

func (UnimplementedUnitServiceServer) ChangePartOnly

func (UnimplementedUnitServiceServer) ChangePriority

func (UnimplementedUnitServiceServer) ChangeProductionLine

func (UnimplementedUnitServiceServer) ChangeRoute

func (UnimplementedUnitServiceServer) ChangeSerialNumber

func (UnimplementedUnitServiceServer) Close

func (UnimplementedUnitServiceServer) CompleteAtRouteStep

func (UnimplementedUnitServiceServer) CreateStandAloneUnit

func (UnimplementedUnitServiceServer) Finish

func (UnimplementedUnitServiceServer) Hold

func (UnimplementedUnitServiceServer) Pause

func (UnimplementedUnitServiceServer) Quarantine

func (UnimplementedUnitServiceServer) Release

func (UnimplementedUnitServiceServer) Restart

func (UnimplementedUnitServiceServer) SaveUnit

func (UnimplementedUnitServiceServer) Scrap

func (UnimplementedUnitServiceServer) Ship

func (UnimplementedUnitServiceServer) StartAtRouteStep

func (UnimplementedUnitServiceServer) UndoClose

func (UnimplementedUnitServiceServer) UndoFinish

func (UnimplementedUnitServiceServer) UndoScrap

func (UnimplementedUnitServiceServer) UndoShip

type UnitChangeBomFromPartRequest

type UnitChangeBomFromPartRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	PartNumber      string                 `protobuf:"bytes,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	PartRevision    string                 `protobuf:"bytes,3,opt,name=part_revision,json=partRevision,proto3" json:"part_revision,omitempty"`
	Bom             *dto.DBom              `protobuf:"bytes,4,opt,name=bom,proto3" json:"bom,omitempty"`
	Comment         string                 `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UnitChangeBomFromPartRequest) Descriptor deprecated

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

Deprecated: Use UnitChangeBomFromPartRequest.ProtoReflect.Descriptor instead.

func (*UnitChangeBomFromPartRequest) GetBom

func (x *UnitChangeBomFromPartRequest) GetBom() *dto.DBom

func (*UnitChangeBomFromPartRequest) GetComment

func (x *UnitChangeBomFromPartRequest) GetComment() string

func (*UnitChangeBomFromPartRequest) GetPartNumber

func (x *UnitChangeBomFromPartRequest) GetPartNumber() string

func (*UnitChangeBomFromPartRequest) GetPartRevision

func (x *UnitChangeBomFromPartRequest) GetPartRevision() string

func (*UnitChangeBomFromPartRequest) GetTransactionTime

func (x *UnitChangeBomFromPartRequest) GetTransactionTime() *timestamppb.Timestamp

func (*UnitChangeBomFromPartRequest) GetUnitId

func (x *UnitChangeBomFromPartRequest) GetUnitId() uint64

func (*UnitChangeBomFromPartRequest) ProtoMessage

func (*UnitChangeBomFromPartRequest) ProtoMessage()

func (*UnitChangeBomFromPartRequest) ProtoReflect

func (*UnitChangeBomFromPartRequest) Reset

func (x *UnitChangeBomFromPartRequest) Reset()

func (*UnitChangeBomFromPartRequest) String

type UnitChangeBomRequest

type UnitChangeBomRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	BomName         string                 `protobuf:"bytes,2,opt,name=bom_name,json=bomName,proto3" json:"bom_name,omitempty"`
	BomRevision     string                 `protobuf:"bytes,3,opt,name=bom_revision,json=bomRevision,proto3" json:"bom_revision,omitempty"`
	Comment         string                 `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UnitChangeBomRequest) Descriptor deprecated

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

Deprecated: Use UnitChangeBomRequest.ProtoReflect.Descriptor instead.

func (*UnitChangeBomRequest) GetBomName

func (x *UnitChangeBomRequest) GetBomName() string

func (*UnitChangeBomRequest) GetBomRevision

func (x *UnitChangeBomRequest) GetBomRevision() string

func (*UnitChangeBomRequest) GetComment

func (x *UnitChangeBomRequest) GetComment() string

func (*UnitChangeBomRequest) GetTransactionTime

func (x *UnitChangeBomRequest) GetTransactionTime() *timestamppb.Timestamp

func (*UnitChangeBomRequest) GetUnitId

func (x *UnitChangeBomRequest) GetUnitId() uint64

func (*UnitChangeBomRequest) ProtoMessage

func (*UnitChangeBomRequest) ProtoMessage()

func (*UnitChangeBomRequest) ProtoReflect

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

func (*UnitChangeBomRequest) Reset

func (x *UnitChangeBomRequest) Reset()

func (*UnitChangeBomRequest) String

func (x *UnitChangeBomRequest) String() string

type UnitChangePartRequest

type UnitChangePartRequest struct {
	UnitId          uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	PartNumber      string                 `protobuf:"bytes,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	PartRevision    string                 `protobuf:"bytes,3,opt,name=part_revision,json=partRevision,proto3" json:"part_revision,omitempty"`
	Comment         string                 `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UnitChangePartRequest) Descriptor deprecated

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

Deprecated: Use UnitChangePartRequest.ProtoReflect.Descriptor instead.

func (*UnitChangePartRequest) GetComment

func (x *UnitChangePartRequest) GetComment() string

func (*UnitChangePartRequest) GetPartNumber

func (x *UnitChangePartRequest) GetPartNumber() string

func (*UnitChangePartRequest) GetPartRevision

func (x *UnitChangePartRequest) GetPartRevision() string

func (*UnitChangePartRequest) GetTransactionTime

func (x *UnitChangePartRequest) GetTransactionTime() *timestamppb.Timestamp

func (*UnitChangePartRequest) GetUnitId

func (x *UnitChangePartRequest) GetUnitId() uint64

func (*UnitChangePartRequest) ProtoMessage

func (*UnitChangePartRequest) ProtoMessage()

func (*UnitChangePartRequest) ProtoReflect

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

func (*UnitChangePartRequest) Reset

func (x *UnitChangePartRequest) Reset()

func (*UnitChangePartRequest) String

func (x *UnitChangePartRequest) String() string

type UnitChangeRouteRequest

type UnitChangeRouteRequest struct {
	UnitId           uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	NewRouteId       uint64                 `protobuf:"varint,2,opt,name=new_route_id,json=newRouteId,proto3" json:"new_route_id,omitempty"`
	ForceChangeRoute bool                   `protobuf:"varint,3,opt,name=force_change_route,json=forceChangeRoute,proto3" json:"force_change_route,omitempty"`
	Comment          string                 `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UnitChangeRouteRequest) Descriptor deprecated

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

Deprecated: Use UnitChangeRouteRequest.ProtoReflect.Descriptor instead.

func (*UnitChangeRouteRequest) GetComment

func (x *UnitChangeRouteRequest) GetComment() string

func (*UnitChangeRouteRequest) GetForceChangeRoute

func (x *UnitChangeRouteRequest) GetForceChangeRoute() bool

func (*UnitChangeRouteRequest) GetNewRouteId

func (x *UnitChangeRouteRequest) GetNewRouteId() uint64

func (*UnitChangeRouteRequest) GetTransactionTime

func (x *UnitChangeRouteRequest) GetTransactionTime() *timestamppb.Timestamp

func (*UnitChangeRouteRequest) GetUnitId

func (x *UnitChangeRouteRequest) GetUnitId() uint64

func (*UnitChangeRouteRequest) ProtoMessage

func (*UnitChangeRouteRequest) ProtoMessage()

func (*UnitChangeRouteRequest) ProtoReflect

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

func (*UnitChangeRouteRequest) Reset

func (x *UnitChangeRouteRequest) Reset()

func (*UnitChangeRouteRequest) String

func (x *UnitChangeRouteRequest) String() string

type UnitCompleteAtRouteStepRequest

type UnitCompleteAtRouteStepRequest struct {
	UnitId                   uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	RouteStepNumber          string                 `protobuf:"bytes,2,opt,name=route_step_number,json=routeStepNumber,proto3" json:"route_step_number,omitempty"`
	Comment                  string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	OverrideRouteEnforcement bool                   `` /* 136-byte string literal not displayed */
	CompleteReason           string                 `protobuf:"bytes,6,opt,name=complete_reason,json=completeReason,proto3" json:"complete_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*UnitCompleteAtRouteStepRequest) Descriptor deprecated

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

Deprecated: Use UnitCompleteAtRouteStepRequest.ProtoReflect.Descriptor instead.

func (*UnitCompleteAtRouteStepRequest) GetComment

func (x *UnitCompleteAtRouteStepRequest) GetComment() string

func (*UnitCompleteAtRouteStepRequest) GetCompleteReason

func (x *UnitCompleteAtRouteStepRequest) GetCompleteReason() string

func (*UnitCompleteAtRouteStepRequest) GetOverrideRouteEnforcement

func (x *UnitCompleteAtRouteStepRequest) GetOverrideRouteEnforcement() bool

func (*UnitCompleteAtRouteStepRequest) GetRouteStepNumber

func (x *UnitCompleteAtRouteStepRequest) GetRouteStepNumber() string

func (*UnitCompleteAtRouteStepRequest) GetTransactionTime

func (x *UnitCompleteAtRouteStepRequest) GetTransactionTime() *timestamppb.Timestamp

func (*UnitCompleteAtRouteStepRequest) GetUnitId

func (x *UnitCompleteAtRouteStepRequest) GetUnitId() uint64

func (*UnitCompleteAtRouteStepRequest) ProtoMessage

func (*UnitCompleteAtRouteStepRequest) ProtoMessage()

func (*UnitCompleteAtRouteStepRequest) ProtoReflect

func (*UnitCompleteAtRouteStepRequest) Reset

func (x *UnitCompleteAtRouteStepRequest) Reset()

func (*UnitCompleteAtRouteStepRequest) String

type UnitServiceClient

type UnitServiceClient interface {
	AddToQueue(ctx context.Context, in *AddUnitToQueueRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	SaveUnit(ctx context.Context, in *dto.DUnit, opts ...grpc.CallOption) (*dto.DUnit, error)
	Cancel(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Close(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Finish(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Hold(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Pause(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Quarantine(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Release(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Ship(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Scrap(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	UndoClose(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	UndoFinish(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	UndoScrap(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	UndoShip(ctx context.Context, in *TransitionUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangeBom(ctx context.Context, in *UnitChangeBomRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangeBomFromPart(ctx context.Context, in *UnitChangeBomFromPartRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangeLot(ctx context.Context, in *ChangeLotRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangePart(ctx context.Context, in *UnitChangePartRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangePartOnly(ctx context.Context, in *UnitChangePartRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangePriority(ctx context.Context, in *dto.ChangePriorityRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangeProductionLine(ctx context.Context, in *ChangeProductionLineRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangeRoute(ctx context.Context, in *UnitChangeRouteRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	ChangeSerialNumber(ctx context.Context, in *ChangeSerialNumberRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	CompleteAtRouteStep(ctx context.Context, in *UnitCompleteAtRouteStepRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	StartAtRouteStep(ctx context.Context, in *UnitStartAtRouteStepRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	Restart(ctx context.Context, in *RestartUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	CreateStandAloneUnit(ctx context.Context, in *CreateStandAloneUnitRequest, opts ...grpc.CallOption) (*dto.DUnit, error)
	CreateStandAloneUnits(ctx context.Context, in *CreateStandAloneUnitRequest, opts ...grpc.CallOption) (UnitService_CreateStandAloneUnitsClient, error)
}

UnitServiceClient is the client API for UnitService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UnitServiceServer

type UnitServiceServer interface {
	AddToQueue(context.Context, *AddUnitToQueueRequest) (*dto.DUnit, error)
	SaveUnit(context.Context, *dto.DUnit) (*dto.DUnit, error)
	Cancel(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Close(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Finish(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Hold(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Pause(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Quarantine(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Release(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Ship(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	Scrap(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	UndoClose(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	UndoFinish(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	UndoScrap(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	UndoShip(context.Context, *TransitionUnitRequest) (*dto.DUnit, error)
	ChangeBom(context.Context, *UnitChangeBomRequest) (*dto.DUnit, error)
	ChangeBomFromPart(context.Context, *UnitChangeBomFromPartRequest) (*dto.DUnit, error)
	ChangeLot(context.Context, *ChangeLotRequest) (*dto.DUnit, error)
	ChangePart(context.Context, *UnitChangePartRequest) (*dto.DUnit, error)
	ChangePartOnly(context.Context, *UnitChangePartRequest) (*dto.DUnit, error)
	ChangePriority(context.Context, *dto.ChangePriorityRequest) (*dto.DUnit, error)
	ChangeProductionLine(context.Context, *ChangeProductionLineRequest) (*dto.DUnit, error)
	ChangeRoute(context.Context, *UnitChangeRouteRequest) (*dto.DUnit, error)
	ChangeSerialNumber(context.Context, *ChangeSerialNumberRequest) (*dto.DUnit, error)
	CompleteAtRouteStep(context.Context, *UnitCompleteAtRouteStepRequest) (*dto.DUnit, error)
	StartAtRouteStep(context.Context, *UnitStartAtRouteStepRequest) (*dto.DUnit, error)
	Restart(context.Context, *RestartUnitRequest) (*dto.DUnit, error)
	CreateStandAloneUnit(context.Context, *CreateStandAloneUnitRequest) (*dto.DUnit, error)
	CreateStandAloneUnits(*CreateStandAloneUnitRequest, UnitService_CreateStandAloneUnitsServer) error
	// contains filtered or unexported methods
}

UnitServiceServer is the server API for UnitService service. All implementations must embed UnimplementedUnitServiceServer for forward compatibility

type UnitService_CreateStandAloneUnitsClient

type UnitService_CreateStandAloneUnitsClient interface {
	Recv() (*dto.DUnit, error)
	grpc.ClientStream
}

type UnitService_CreateStandAloneUnitsServer

type UnitService_CreateStandAloneUnitsServer interface {
	Send(*dto.DUnit) error
	grpc.ServerStream
}

type UnitStartAtRouteStepRequest

type UnitStartAtRouteStepRequest struct {
	UnitId                   uint64                 `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
	RouteStepNumber          string                 `protobuf:"bytes,2,opt,name=route_step_number,json=routeStepNumber,proto3" json:"route_step_number,omitempty"`
	Comment                  string                 `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	TransactionTime          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"`
	OverrideRouteEnforcement bool                   `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UnitStartAtRouteStepRequest) Descriptor deprecated

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

Deprecated: Use UnitStartAtRouteStepRequest.ProtoReflect.Descriptor instead.

func (*UnitStartAtRouteStepRequest) GetComment

func (x *UnitStartAtRouteStepRequest) GetComment() string

func (*UnitStartAtRouteStepRequest) GetOverrideRouteEnforcement

func (x *UnitStartAtRouteStepRequest) GetOverrideRouteEnforcement() bool

func (*UnitStartAtRouteStepRequest) GetRouteStepNumber

func (x *UnitStartAtRouteStepRequest) GetRouteStepNumber() string

func (*UnitStartAtRouteStepRequest) GetTransactionTime

func (x *UnitStartAtRouteStepRequest) GetTransactionTime() *timestamppb.Timestamp

func (*UnitStartAtRouteStepRequest) GetUnitId

func (x *UnitStartAtRouteStepRequest) GetUnitId() uint64

func (*UnitStartAtRouteStepRequest) ProtoMessage

func (*UnitStartAtRouteStepRequest) ProtoMessage()

func (*UnitStartAtRouteStepRequest) ProtoReflect

func (*UnitStartAtRouteStepRequest) Reset

func (x *UnitStartAtRouteStepRequest) Reset()

func (*UnitStartAtRouteStepRequest) String

func (x *UnitStartAtRouteStepRequest) String() string

type UnsafeUnitServiceServer

type UnsafeUnitServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUnitServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UnitServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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