lotService

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 (
	TransitionLotState_name = map[int32]string{
		0:  "LotClose",
		1:  "LotFinish",
		2:  "LotHold",
		3:  "LotOpen",
		4:  "LotQuarantine",
		5:  "LotRelease",
		6:  "LotShip",
		7:  "LotUndoClose",
		8:  "LotUndoShip",
		9:  "LotUndoFinish",
		10: "LotScrap",
		11: "LotUndoScrap",
		12: "LotCancle",
		13: "LotSerialize",
		14: "LotUndoSerialize",
	}
	TransitionLotState_value = map[string]int32{
		"LotClose":         0,
		"LotFinish":        1,
		"LotHold":          2,
		"LotOpen":          3,
		"LotQuarantine":    4,
		"LotRelease":       5,
		"LotShip":          6,
		"LotUndoClose":     7,
		"LotUndoShip":      8,
		"LotUndoFinish":    9,
		"LotScrap":         10,
		"LotUndoScrap":     11,
		"LotCancle":        12,
		"LotSerialize":     13,
		"LotUndoSerialize": 14,
	}
)

Enum value maps for TransitionLotState.

View Source
var File_lot_service_proto protoreflect.FileDescriptor

Functions

func RegisterLotServiceServer

func RegisterLotServiceServer(s *grpc.Server, srv LotServiceServer)

Types

type AddLotToQueueRequest

type AddLotToQueueRequest struct {
	LotId           uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*AddLotToQueueRequest) Descriptor deprecated

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

Deprecated: Use AddLotToQueueRequest.ProtoReflect.Descriptor instead.

func (*AddLotToQueueRequest) GetComment

func (x *AddLotToQueueRequest) GetComment() string

func (*AddLotToQueueRequest) GetLotId

func (x *AddLotToQueueRequest) GetLotId() uint64

func (*AddLotToQueueRequest) GetRouteQueueName

func (x *AddLotToQueueRequest) GetRouteQueueName() string

func (*AddLotToQueueRequest) GetTransactionTime

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

func (*AddLotToQueueRequest) ProtoMessage

func (*AddLotToQueueRequest) ProtoMessage()

func (*AddLotToQueueRequest) ProtoReflect

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

func (*AddLotToQueueRequest) Reset

func (x *AddLotToQueueRequest) Reset()

func (*AddLotToQueueRequest) String

func (x *AddLotToQueueRequest) String() string

type AddOneUnitRequest

type AddOneUnitRequest struct {
	LotId            uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_id,omitempty"`
	UnitSerialNumber string                 `protobuf:"bytes,2,opt,name=unit_serial_number,json=unitSerialNumber,proto3" json:"unit_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 (*AddOneUnitRequest) Descriptor deprecated

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

Deprecated: Use AddOneUnitRequest.ProtoReflect.Descriptor instead.

func (*AddOneUnitRequest) GetComment

func (x *AddOneUnitRequest) GetComment() string

func (*AddOneUnitRequest) GetLotId

func (x *AddOneUnitRequest) GetLotId() uint64

func (*AddOneUnitRequest) GetTransactionTime

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

func (*AddOneUnitRequest) GetUnitSerialNumber

func (x *AddOneUnitRequest) GetUnitSerialNumber() string

func (*AddOneUnitRequest) ProtoMessage

func (*AddOneUnitRequest) ProtoMessage()

func (*AddOneUnitRequest) ProtoReflect

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

func (*AddOneUnitRequest) Reset

func (x *AddOneUnitRequest) Reset()

func (*AddOneUnitRequest) String

func (x *AddOneUnitRequest) String() string

type LotChangeBomFromPartRequest

type LotChangeBomFromPartRequest struct {
	LotId           uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotChangeBomFromPartRequest) Descriptor deprecated

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

Deprecated: Use LotChangeBomFromPartRequest.ProtoReflect.Descriptor instead.

func (*LotChangeBomFromPartRequest) GetBom

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

func (*LotChangeBomFromPartRequest) GetComment

func (x *LotChangeBomFromPartRequest) GetComment() string

func (*LotChangeBomFromPartRequest) GetLotId

func (x *LotChangeBomFromPartRequest) GetLotId() uint64

func (*LotChangeBomFromPartRequest) GetPartNumber

func (x *LotChangeBomFromPartRequest) GetPartNumber() string

func (*LotChangeBomFromPartRequest) GetPartRevision

func (x *LotChangeBomFromPartRequest) GetPartRevision() string

func (*LotChangeBomFromPartRequest) GetTransactionTime

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

func (*LotChangeBomFromPartRequest) ProtoMessage

func (*LotChangeBomFromPartRequest) ProtoMessage()

func (*LotChangeBomFromPartRequest) ProtoReflect

func (*LotChangeBomFromPartRequest) Reset

func (x *LotChangeBomFromPartRequest) Reset()

func (*LotChangeBomFromPartRequest) String

func (x *LotChangeBomFromPartRequest) String() string

type LotChangeBomRequest

type LotChangeBomRequest struct {
	LotId           uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotChangeBomRequest) Descriptor deprecated

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

Deprecated: Use LotChangeBomRequest.ProtoReflect.Descriptor instead.

func (*LotChangeBomRequest) GetBomName

func (x *LotChangeBomRequest) GetBomName() string

func (*LotChangeBomRequest) GetBomRevision

func (x *LotChangeBomRequest) GetBomRevision() string

func (*LotChangeBomRequest) GetComment

func (x *LotChangeBomRequest) GetComment() string

func (*LotChangeBomRequest) GetLotId

func (x *LotChangeBomRequest) GetLotId() uint64

func (*LotChangeBomRequest) GetTransactionTime

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

func (*LotChangeBomRequest) ProtoMessage

func (*LotChangeBomRequest) ProtoMessage()

func (*LotChangeBomRequest) ProtoReflect

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

func (*LotChangeBomRequest) Reset

func (x *LotChangeBomRequest) Reset()

func (*LotChangeBomRequest) String

func (x *LotChangeBomRequest) String() string

type LotChangePartRequest

type LotChangePartRequest struct {
	LotId           uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotChangePartRequest) Descriptor deprecated

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

Deprecated: Use LotChangePartRequest.ProtoReflect.Descriptor instead.

func (*LotChangePartRequest) GetComment

func (x *LotChangePartRequest) GetComment() string

func (*LotChangePartRequest) GetLotId

func (x *LotChangePartRequest) GetLotId() uint64

func (*LotChangePartRequest) GetPartNumber

func (x *LotChangePartRequest) GetPartNumber() string

func (*LotChangePartRequest) GetPartRevision

func (x *LotChangePartRequest) GetPartRevision() string

func (*LotChangePartRequest) GetTransactionTime

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

func (*LotChangePartRequest) ProtoMessage

func (*LotChangePartRequest) ProtoMessage()

func (*LotChangePartRequest) ProtoReflect

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

func (*LotChangePartRequest) Reset

func (x *LotChangePartRequest) Reset()

func (*LotChangePartRequest) String

func (x *LotChangePartRequest) String() string

type LotChangeProductionLineRequest

type LotChangeProductionLineRequest struct {
	LotId               uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotChangeProductionLineRequest) Descriptor deprecated

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

Deprecated: Use LotChangeProductionLineRequest.ProtoReflect.Descriptor instead.

func (*LotChangeProductionLineRequest) GetComment

func (x *LotChangeProductionLineRequest) GetComment() string

func (*LotChangeProductionLineRequest) GetLotId

func (x *LotChangeProductionLineRequest) GetLotId() uint64

func (*LotChangeProductionLineRequest) GetNewProductionLineId

func (x *LotChangeProductionLineRequest) GetNewProductionLineId() uint64

func (*LotChangeProductionLineRequest) GetTransactionTime

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

func (*LotChangeProductionLineRequest) ProtoMessage

func (*LotChangeProductionLineRequest) ProtoMessage()

func (*LotChangeProductionLineRequest) ProtoReflect

func (*LotChangeProductionLineRequest) Reset

func (x *LotChangeProductionLineRequest) Reset()

func (*LotChangeProductionLineRequest) String

type LotChangeQuantityRequest

type LotChangeQuantityRequest struct {
	LotId           uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_id,omitempty"`
	Quantity        float64                `protobuf:"fixed64,2,opt,name=quantity,proto3" json:"quantity,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 (*LotChangeQuantityRequest) Descriptor deprecated

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

Deprecated: Use LotChangeQuantityRequest.ProtoReflect.Descriptor instead.

func (*LotChangeQuantityRequest) GetComment

func (x *LotChangeQuantityRequest) GetComment() string

func (*LotChangeQuantityRequest) GetLotId

func (x *LotChangeQuantityRequest) GetLotId() uint64

func (*LotChangeQuantityRequest) GetQuantity

func (x *LotChangeQuantityRequest) GetQuantity() float64

func (*LotChangeQuantityRequest) GetTransactionTime

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

func (*LotChangeQuantityRequest) ProtoMessage

func (*LotChangeQuantityRequest) ProtoMessage()

func (*LotChangeQuantityRequest) ProtoReflect

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

func (*LotChangeQuantityRequest) Reset

func (x *LotChangeQuantityRequest) Reset()

func (*LotChangeQuantityRequest) String

func (x *LotChangeQuantityRequest) String() string

type LotChangeRouteRequest

type LotChangeRouteRequest struct {
	LotId            uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotChangeRouteRequest) Descriptor deprecated

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

Deprecated: Use LotChangeRouteRequest.ProtoReflect.Descriptor instead.

func (*LotChangeRouteRequest) GetComment

func (x *LotChangeRouteRequest) GetComment() string

func (*LotChangeRouteRequest) GetForceChangeRoute

func (x *LotChangeRouteRequest) GetForceChangeRoute() bool

func (*LotChangeRouteRequest) GetLotId

func (x *LotChangeRouteRequest) GetLotId() uint64

func (*LotChangeRouteRequest) GetNewRouteId

func (x *LotChangeRouteRequest) GetNewRouteId() uint64

func (*LotChangeRouteRequest) GetTransactionTime

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

func (*LotChangeRouteRequest) ProtoMessage

func (*LotChangeRouteRequest) ProtoMessage()

func (*LotChangeRouteRequest) ProtoReflect

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

func (*LotChangeRouteRequest) Reset

func (x *LotChangeRouteRequest) Reset()

func (*LotChangeRouteRequest) String

func (x *LotChangeRouteRequest) String() string

type LotCompleteAtRouteStepRequest

type LotCompleteAtRouteStepRequest struct {
	LotId                    uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotCompleteAtRouteStepRequest) Descriptor deprecated

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

Deprecated: Use LotCompleteAtRouteStepRequest.ProtoReflect.Descriptor instead.

func (*LotCompleteAtRouteStepRequest) GetComment

func (x *LotCompleteAtRouteStepRequest) GetComment() string

func (*LotCompleteAtRouteStepRequest) GetCompleteReason

func (x *LotCompleteAtRouteStepRequest) GetCompleteReason() string

func (*LotCompleteAtRouteStepRequest) GetLotId

func (x *LotCompleteAtRouteStepRequest) GetLotId() uint64

func (*LotCompleteAtRouteStepRequest) GetOverrideRouteEnforcement

func (x *LotCompleteAtRouteStepRequest) GetOverrideRouteEnforcement() bool

func (*LotCompleteAtRouteStepRequest) GetRouteStepNumber

func (x *LotCompleteAtRouteStepRequest) GetRouteStepNumber() string

func (*LotCompleteAtRouteStepRequest) GetTransactionTime

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

func (*LotCompleteAtRouteStepRequest) ProtoMessage

func (*LotCompleteAtRouteStepRequest) ProtoMessage()

func (*LotCompleteAtRouteStepRequest) ProtoReflect

func (*LotCompleteAtRouteStepRequest) Reset

func (x *LotCompleteAtRouteStepRequest) Reset()

func (*LotCompleteAtRouteStepRequest) String

type LotServiceClient

type LotServiceClient interface {
	Cancel(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Close(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Finish(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Hold(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Pause(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Quarantine(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Release(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Ship(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Scrap(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	UndoClose(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	UndoFinish(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	UndoScrap(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	UndoShip(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	Serialize(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	UndoSerialize(ctx context.Context, in *TransitionLotRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	AddOneUnit(ctx context.Context, in *AddOneUnitRequest, opts ...grpc.CallOption) (*dto.DLotReturnData, error)
	AddToQueue(ctx context.Context, in *AddLotToQueueRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangeBom(ctx context.Context, in *LotChangeBomRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangeBomFromPart(ctx context.Context, in *LotChangeBomFromPartRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangePart(ctx context.Context, in *LotChangePartRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangePartOnly(ctx context.Context, in *LotChangePartRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangePriority(ctx context.Context, in *dto.ChangePriorityRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangeProductionLine(ctx context.Context, in *LotChangeProductionLineRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangeRoute(ctx context.Context, in *LotChangeRouteRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	ChangeQuantity(ctx context.Context, in *LotChangeQuantityRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	SplitLot(ctx context.Context, in *SplitLotRequest, opts ...grpc.CallOption) (*SplitLotResponse, error)
	CompleteAtRouteStep(ctx context.Context, in *LotCompleteAtRouteStepRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	StartAtRouteStep(ctx context.Context, in *LotStartAtRouteStepRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	MergeUnit(ctx context.Context, in *MergeUnitRequest, opts ...grpc.CallOption) (*dto.DLot, error)
	MergeLot(ctx context.Context, in *MergeLotRequest, opts ...grpc.CallOption) (LotService_MergeLotClient, error)
}

LotServiceClient is the client API for LotService 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.

func NewLotServiceClient

func NewLotServiceClient(cc grpc.ClientConnInterface) LotServiceClient

type LotServiceServer

type LotServiceServer interface {
	Cancel(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Close(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Finish(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Hold(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Pause(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Quarantine(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Release(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Ship(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Scrap(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	UndoClose(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	UndoFinish(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	UndoScrap(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	UndoShip(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	Serialize(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	UndoSerialize(context.Context, *TransitionLotRequest) (*dto.DLot, error)
	AddOneUnit(context.Context, *AddOneUnitRequest) (*dto.DLotReturnData, error)
	AddToQueue(context.Context, *AddLotToQueueRequest) (*dto.DLot, error)
	ChangeBom(context.Context, *LotChangeBomRequest) (*dto.DLot, error)
	ChangeBomFromPart(context.Context, *LotChangeBomFromPartRequest) (*dto.DLot, error)
	ChangePart(context.Context, *LotChangePartRequest) (*dto.DLot, error)
	ChangePartOnly(context.Context, *LotChangePartRequest) (*dto.DLot, error)
	ChangePriority(context.Context, *dto.ChangePriorityRequest) (*dto.DLot, error)
	ChangeProductionLine(context.Context, *LotChangeProductionLineRequest) (*dto.DLot, error)
	ChangeRoute(context.Context, *LotChangeRouteRequest) (*dto.DLot, error)
	ChangeQuantity(context.Context, *LotChangeQuantityRequest) (*dto.DLot, error)
	SplitLot(context.Context, *SplitLotRequest) (*SplitLotResponse, error)
	CompleteAtRouteStep(context.Context, *LotCompleteAtRouteStepRequest) (*dto.DLot, error)
	StartAtRouteStep(context.Context, *LotStartAtRouteStepRequest) (*dto.DLot, error)
	MergeUnit(context.Context, *MergeUnitRequest) (*dto.DLot, error)
	MergeLot(*MergeLotRequest, LotService_MergeLotServer) error
	// contains filtered or unexported methods
}

LotServiceServer is the server API for LotService service. All implementations must embed UnimplementedLotServiceServer for forward compatibility

type LotService_MergeLotClient

type LotService_MergeLotClient interface {
	Recv() (*dto.DLot, error)
	grpc.ClientStream
}

type LotService_MergeLotServer

type LotService_MergeLotServer interface {
	Send(*dto.DLot) error
	grpc.ServerStream
}

type LotStartAtRouteStepRequest

type LotStartAtRouteStepRequest struct {
	LotId                    uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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 (*LotStartAtRouteStepRequest) Descriptor deprecated

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

Deprecated: Use LotStartAtRouteStepRequest.ProtoReflect.Descriptor instead.

func (*LotStartAtRouteStepRequest) GetComment

func (x *LotStartAtRouteStepRequest) GetComment() string

func (*LotStartAtRouteStepRequest) GetLotId

func (x *LotStartAtRouteStepRequest) GetLotId() uint64

func (*LotStartAtRouteStepRequest) GetOverrideRouteEnforcement

func (x *LotStartAtRouteStepRequest) GetOverrideRouteEnforcement() bool

func (*LotStartAtRouteStepRequest) GetRouteStepNumber

func (x *LotStartAtRouteStepRequest) GetRouteStepNumber() string

func (*LotStartAtRouteStepRequest) GetTransactionTime

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

func (*LotStartAtRouteStepRequest) ProtoMessage

func (*LotStartAtRouteStepRequest) ProtoMessage()

func (*LotStartAtRouteStepRequest) ProtoReflect

func (*LotStartAtRouteStepRequest) Reset

func (x *LotStartAtRouteStepRequest) Reset()

func (*LotStartAtRouteStepRequest) String

func (x *LotStartAtRouteStepRequest) String() string

type MergeLotRequest

type MergeLotRequest struct {
	ParentLotId     uint64                 `protobuf:"varint,1,opt,name=parent_lot_id,json=parentLotId,proto3" json:"parent_lot_id,omitempty"`
	ChildLotId      uint64                 `protobuf:"varint,2,opt,name=child_lot_id,json=childLotId,proto3" json:"child_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 (*MergeLotRequest) Descriptor deprecated

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

Deprecated: Use MergeLotRequest.ProtoReflect.Descriptor instead.

func (*MergeLotRequest) GetChildLotId

func (x *MergeLotRequest) GetChildLotId() uint64

func (*MergeLotRequest) GetComment

func (x *MergeLotRequest) GetComment() string

func (*MergeLotRequest) GetParentLotId

func (x *MergeLotRequest) GetParentLotId() uint64

func (*MergeLotRequest) GetTransactionTime

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

func (*MergeLotRequest) ProtoMessage

func (*MergeLotRequest) ProtoMessage()

func (*MergeLotRequest) ProtoReflect

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

func (*MergeLotRequest) Reset

func (x *MergeLotRequest) Reset()

func (*MergeLotRequest) String

func (x *MergeLotRequest) String() string

type MergeUnitRequest

type MergeUnitRequest struct {
	LotId           uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_id,omitempty"`
	UnitId          uint64                 `protobuf:"varint,2,opt,name=unit_id,json=unitId,proto3" json:"unit_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 (*MergeUnitRequest) Descriptor deprecated

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

Deprecated: Use MergeUnitRequest.ProtoReflect.Descriptor instead.

func (*MergeUnitRequest) GetComment

func (x *MergeUnitRequest) GetComment() string

func (*MergeUnitRequest) GetLotId

func (x *MergeUnitRequest) GetLotId() uint64

func (*MergeUnitRequest) GetTransactionTime

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

func (*MergeUnitRequest) GetUnitId

func (x *MergeUnitRequest) GetUnitId() uint64

func (*MergeUnitRequest) ProtoMessage

func (*MergeUnitRequest) ProtoMessage()

func (*MergeUnitRequest) ProtoReflect

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

func (*MergeUnitRequest) Reset

func (x *MergeUnitRequest) Reset()

func (*MergeUnitRequest) String

func (x *MergeUnitRequest) String() string

type SplitLotRequest

type SplitLotRequest struct {
	ParentLotId          uint64                 `protobuf:"varint,1,opt,name=parent_lot_id,json=parentLotId,proto3" json:"parent_lot_id,omitempty"`
	ChildLotSerialNumber string                 `protobuf:"bytes,2,opt,name=child_lot_serial_number,json=childLotSerialNumber,proto3" json:"child_lot_serial_number,omitempty"`
	ChildLotQuantity     float64                `protobuf:"fixed64,3,opt,name=child_lot_quantity,json=childLotQuantity,proto3" json:"child_lot_quantity,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 (*SplitLotRequest) Descriptor deprecated

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

Deprecated: Use SplitLotRequest.ProtoReflect.Descriptor instead.

func (*SplitLotRequest) GetChildLotQuantity

func (x *SplitLotRequest) GetChildLotQuantity() float64

func (*SplitLotRequest) GetChildLotSerialNumber

func (x *SplitLotRequest) GetChildLotSerialNumber() string

func (*SplitLotRequest) GetComment

func (x *SplitLotRequest) GetComment() string

func (*SplitLotRequest) GetParentLotId

func (x *SplitLotRequest) GetParentLotId() uint64

func (*SplitLotRequest) GetTransactionTime

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

func (*SplitLotRequest) ProtoMessage

func (*SplitLotRequest) ProtoMessage()

func (*SplitLotRequest) ProtoReflect

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

func (*SplitLotRequest) Reset

func (x *SplitLotRequest) Reset()

func (*SplitLotRequest) String

func (x *SplitLotRequest) String() string

type SplitLotResponse

type SplitLotResponse struct {
	Lots []*dto.DLot `protobuf:"bytes,1,rep,name=lots,proto3" json:"lots,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitLotResponse) Descriptor deprecated

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

Deprecated: Use SplitLotResponse.ProtoReflect.Descriptor instead.

func (*SplitLotResponse) GetLots

func (x *SplitLotResponse) GetLots() []*dto.DLot

func (*SplitLotResponse) ProtoMessage

func (*SplitLotResponse) ProtoMessage()

func (*SplitLotResponse) ProtoReflect

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

func (*SplitLotResponse) Reset

func (x *SplitLotResponse) Reset()

func (*SplitLotResponse) String

func (x *SplitLotResponse) String() string

type TransitionLotRequest

type TransitionLotRequest struct {
	LotId                    uint64                 `protobuf:"varint,1,opt,name=lot_id,json=lotId,proto3" json:"lot_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"`
	Timestamp                *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	TransitionState          TransitionLotState     `protobuf:"varint,5,opt,name=transitionState,proto3,enum=protobuf.TransitionLotState" json:"transitionState,omitempty"`
	OverrideRouteEnforcement bool                   `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TransitionLotRequest) Descriptor deprecated

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

Deprecated: Use TransitionLotRequest.ProtoReflect.Descriptor instead.

func (*TransitionLotRequest) GetComment

func (x *TransitionLotRequest) GetComment() string

func (*TransitionLotRequest) GetLotId

func (x *TransitionLotRequest) GetLotId() uint64

func (*TransitionLotRequest) GetOverrideRouteEnforcement

func (x *TransitionLotRequest) GetOverrideRouteEnforcement() bool

func (*TransitionLotRequest) GetReason

func (x *TransitionLotRequest) GetReason() string

func (*TransitionLotRequest) GetTimestamp

func (x *TransitionLotRequest) GetTimestamp() *timestamppb.Timestamp

func (*TransitionLotRequest) GetTransitionState

func (x *TransitionLotRequest) GetTransitionState() TransitionLotState

func (*TransitionLotRequest) ProtoMessage

func (*TransitionLotRequest) ProtoMessage()

func (*TransitionLotRequest) ProtoReflect

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

func (*TransitionLotRequest) Reset

func (x *TransitionLotRequest) Reset()

func (*TransitionLotRequest) String

func (x *TransitionLotRequest) String() string

type TransitionLotState

type TransitionLotState int32
const (
	TransitionLotState_LotClose         TransitionLotState = 0
	TransitionLotState_LotFinish        TransitionLotState = 1
	TransitionLotState_LotHold          TransitionLotState = 2
	TransitionLotState_LotOpen          TransitionLotState = 3
	TransitionLotState_LotQuarantine    TransitionLotState = 4
	TransitionLotState_LotRelease       TransitionLotState = 5
	TransitionLotState_LotShip          TransitionLotState = 6
	TransitionLotState_LotUndoClose     TransitionLotState = 7
	TransitionLotState_LotUndoShip      TransitionLotState = 8
	TransitionLotState_LotUndoFinish    TransitionLotState = 9
	TransitionLotState_LotScrap         TransitionLotState = 10
	TransitionLotState_LotUndoScrap     TransitionLotState = 11
	TransitionLotState_LotCancle        TransitionLotState = 12
	TransitionLotState_LotSerialize     TransitionLotState = 13
	TransitionLotState_LotUndoSerialize TransitionLotState = 14
)

func (TransitionLotState) Descriptor

func (TransitionLotState) Enum

func (TransitionLotState) EnumDescriptor deprecated

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

Deprecated: Use TransitionLotState.Descriptor instead.

func (TransitionLotState) Number

func (TransitionLotState) String

func (x TransitionLotState) String() string

func (TransitionLotState) Type

type UnimplementedLotServiceServer

type UnimplementedLotServiceServer struct {
}

UnimplementedLotServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLotServiceServer) AddOneUnit

func (UnimplementedLotServiceServer) AddToQueue

func (UnimplementedLotServiceServer) Cancel

func (UnimplementedLotServiceServer) ChangeBom

func (UnimplementedLotServiceServer) ChangeBomFromPart

func (UnimplementedLotServiceServer) ChangePart

func (UnimplementedLotServiceServer) ChangePartOnly

func (UnimplementedLotServiceServer) ChangePriority

func (UnimplementedLotServiceServer) ChangeProductionLine

func (UnimplementedLotServiceServer) ChangeQuantity

func (UnimplementedLotServiceServer) ChangeRoute

func (UnimplementedLotServiceServer) Close

func (UnimplementedLotServiceServer) CompleteAtRouteStep

func (UnimplementedLotServiceServer) Finish

func (UnimplementedLotServiceServer) Hold

func (UnimplementedLotServiceServer) MergeLot

func (UnimplementedLotServiceServer) MergeUnit

func (UnimplementedLotServiceServer) Pause

func (UnimplementedLotServiceServer) Quarantine

func (UnimplementedLotServiceServer) Release

func (UnimplementedLotServiceServer) Scrap

func (UnimplementedLotServiceServer) Serialize

func (UnimplementedLotServiceServer) Ship

func (UnimplementedLotServiceServer) SplitLot

func (UnimplementedLotServiceServer) StartAtRouteStep

func (UnimplementedLotServiceServer) UndoClose

func (UnimplementedLotServiceServer) UndoFinish

func (UnimplementedLotServiceServer) UndoScrap

func (UnimplementedLotServiceServer) UndoSerialize

func (UnimplementedLotServiceServer) UndoShip

type UnsafeLotServiceServer

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

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

Jump to

Keyboard shortcuts

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