2025-08-20 09:55:30 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace DDD
|
|
|
|
{
|
|
|
|
public static class RestaurantManagementSolvers
|
|
|
|
{
|
|
|
|
public static Dictionary<RestaurantManagementType, Type> TypeToManagementSolver = new()
|
|
|
|
{
|
|
|
|
{ RestaurantManagementType.OpenRestaurantMenu, typeof(RestaurantManagementSolver_Menu) },
|
2025-08-26 08:27:50 +00:00
|
|
|
{ RestaurantManagementType.StartRestaurant, typeof(RestaurantManagementSolver_Start) },
|
|
|
|
{ RestaurantManagementType.OpenCookUi, typeof(RestaurantManagementSolver_Cook) },
|
2025-08-20 09:55:30 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
public class RestaurantManagementSolver : RestaurantSubsystemSolver<RestaurantManagementType>
|
|
|
|
{
|
|
|
|
protected override Dictionary<RestaurantManagementType, Type> GetSubsystemSolverTypeMappings()
|
|
|
|
{
|
|
|
|
return RestaurantManagementSolvers.TypeToManagementSolver;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|