cookSolver 최신화
This commit is contained in:
parent
7b8f4cc245
commit
34790bbc1a
@ -3,18 +3,16 @@
|
|||||||
|
|
||||||
namespace DDD.Restaurant
|
namespace DDD.Restaurant
|
||||||
{
|
{
|
||||||
public static class RestaurantCookSolvers
|
public class RestaurantCookSolver : RestaurantSubsystemSolver<RestaurantCookType>
|
||||||
{
|
{
|
||||||
public static Dictionary<RestaurantCookType, Type> TypeToManagementSolver = new()
|
private Dictionary<RestaurantCookType, Type> _typeToCookingSolver = new()
|
||||||
{
|
{
|
||||||
{ RestaurantCookType.OpenCookUi, typeof(RestaurantCookSolver_OpenCookUi) },
|
{ RestaurantCookType.OpenCookUi, typeof(RestaurantCookSolver_OpenCookUi) },
|
||||||
};
|
};
|
||||||
}
|
|
||||||
public class RestaurantCookSolver : RestaurantSubsystemSolver<RestaurantCookType>
|
|
||||||
{
|
|
||||||
protected override Dictionary<RestaurantCookType, Type> GetSubsystemSolverTypeMappings()
|
protected override Dictionary<RestaurantCookType, Type> GetSubsystemSolverTypeMappings()
|
||||||
{
|
{
|
||||||
return RestaurantCookSolvers.TypeToManagementSolver;
|
return _typeToCookingSolver;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user