C# Class LeanEngine.OAE.OAEBase

Inheritance: IOAE
Exibir arquivo Open project: Novthirteen/yfkey-scms

Protected Properties

Property Type Description
DemandChains List
InvBalances List
Plans List

Public Methods

Method Description
OAEBase ( List Plans, List InvBalances, List DemandChains ) : System
ProcessReqQty ( ItemFlow itemFlow ) : void
ProcessTime ( LeanEngine.Entity.Flow flow ) : void

Protected Methods

Method Description
GetAvailableInvQty ( string loc, string item, System.DateTime time ) : decimal
GetDemand_OrderTracer ( ItemFlow itemFlow ) : OrderTracer
GetInspectInv_OrderTracer ( string loc, string item ) : OrderTracer
GetInvBalance ( string loc, string item, Enumerators invType ) : decimal
GetIssOrderQty ( string loc, string item, System.DateTime time ) : decimal
GetIssPlanQty ( string loc, string item, System.DateTime time ) : decimal
GetOnhandInv ( string loc, string item ) : decimal
GetOnhandInv_OrderTracer ( string loc, string item ) : OrderTracer
GetOrderIss ( string loc, string item, System.DateTime startTime, System.DateTime endTime ) : List
GetOrderIss ( string loc, string item, System.DateTime startTime, System.DateTime endTime, Enumerators tracerType ) : List
GetOrderRct ( string loc, string item, System.DateTime startTime, System.DateTime endTime ) : List
GetRctOrderQty ( string loc, string item, System.DateTime time ) : decimal
GetRctPlanQty ( string loc, string item, System.DateTime time ) : decimal
GetReqQty ( ItemFlow itemFlow ) : decimal
GetReqQty ( List list ) : decimal
SetDefaultWindowTime ( LeanEngine.Entity.Flow flow ) : void

Private Methods

Method Description
CreateWindowTimes ( FlowStrategy flowStrategy ) : string[][]
GetNextOrderTime ( System.DateTime windowTime, double leadTime ) : DateTime?
GetNextWindowTime ( System.DateTime windowTime, string windowTimes, int weekInterval ) : DateTime?
GetOrderStartTime ( System.DateTime windowTime, double leadTime ) : System.DateTime

Method Details

GetAvailableInvQty() protected method

protected GetAvailableInvQty ( string loc, string item, System.DateTime time ) : decimal
loc string
item string
time System.DateTime
return decimal

GetDemand_OrderTracer() protected method

protected GetDemand_OrderTracer ( ItemFlow itemFlow ) : OrderTracer
itemFlow LeanEngine.Entity.ItemFlow
return LeanEngine.Entity.OrderTracer

GetInspectInv_OrderTracer() protected method

protected GetInspectInv_OrderTracer ( string loc, string item ) : OrderTracer
loc string
item string
return LeanEngine.Entity.OrderTracer

GetInvBalance() protected method

protected GetInvBalance ( string loc, string item, Enumerators invType ) : decimal
loc string
item string
invType Enumerators
return decimal

GetIssOrderQty() protected method

protected GetIssOrderQty ( string loc, string item, System.DateTime time ) : decimal
loc string
item string
time System.DateTime
return decimal

GetIssPlanQty() protected method

protected GetIssPlanQty ( string loc, string item, System.DateTime time ) : decimal
loc string
item string
time System.DateTime
return decimal

GetOnhandInv() protected method

protected GetOnhandInv ( string loc, string item ) : decimal
loc string
item string
return decimal

GetOnhandInv_OrderTracer() protected method

protected GetOnhandInv_OrderTracer ( string loc, string item ) : OrderTracer
loc string
item string
return LeanEngine.Entity.OrderTracer

GetOrderIss() protected method

protected GetOrderIss ( string loc, string item, System.DateTime startTime, System.DateTime endTime ) : List
loc string
item string
startTime System.DateTime
endTime System.DateTime
return List

GetOrderIss() protected method

protected GetOrderIss ( string loc, string item, System.DateTime startTime, System.DateTime endTime, Enumerators tracerType ) : List
loc string
item string
startTime System.DateTime
endTime System.DateTime
tracerType Enumerators
return List

GetOrderRct() protected method

protected GetOrderRct ( string loc, string item, System.DateTime startTime, System.DateTime endTime ) : List
loc string
item string
startTime System.DateTime
endTime System.DateTime
return List

GetRctOrderQty() protected method

protected GetRctOrderQty ( string loc, string item, System.DateTime time ) : decimal
loc string
item string
time System.DateTime
return decimal

GetRctPlanQty() protected method

protected GetRctPlanQty ( string loc, string item, System.DateTime time ) : decimal
loc string
item string
time System.DateTime
return decimal

GetReqQty() protected abstract method

protected abstract GetReqQty ( ItemFlow itemFlow ) : decimal
itemFlow LeanEngine.Entity.ItemFlow
return decimal

GetReqQty() protected method

protected GetReqQty ( List list ) : decimal
list List
return decimal

OAEBase() public method

public OAEBase ( List Plans, List InvBalances, List DemandChains ) : System
Plans List
InvBalances List
DemandChains List
return System

ProcessReqQty() public method

public ProcessReqQty ( ItemFlow itemFlow ) : void
itemFlow LeanEngine.Entity.ItemFlow
return void

ProcessTime() public method

public ProcessTime ( LeanEngine.Entity.Flow flow ) : void
flow LeanEngine.Entity.Flow
return void

SetDefaultWindowTime() protected method

protected SetDefaultWindowTime ( LeanEngine.Entity.Flow flow ) : void
flow LeanEngine.Entity.Flow
return void

Property Details

DemandChains protected_oe property

protected List DemandChains
return List

InvBalances protected_oe property

protected List InvBalances
return List

Plans protected_oe property

protected List Plans
return List