14 lines
485 B
C#
14 lines
485 B
C#
using RobotNet10.RobotApp.Services.Simulation.Navigation;
|
|
using RobotNet10.RobotApp.Shared.Enums;
|
|
|
|
namespace RobotNet10.RobotApp.Services.Simulation;
|
|
|
|
public class SimulationNavigationManager
|
|
{
|
|
public static SimulationNavigation GetNavigation(NavigationType type, IServiceProvider ServiceProvider)
|
|
{
|
|
if (type == NavigationType.Forklift) return new ForkliftNavigation(ServiceProvider);
|
|
return new DifferentialNavigation(ServiceProvider);
|
|
}
|
|
}
|