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