aboutsummaryrefslogtreecommitdiff
path: root/src/Costasdev.Busurbano.Backend/Configuration/AppConfiguration.cs
blob: a61fdb68b2cb32972b6c302e07889188c4ac245e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Costasdev.Busurbano.Backend.Configuration;

public class AppConfiguration
{
    public required string VitrasaScheduleBasePath { get; set; }
    public required string RenfeScheduleBasePath { get; set; }

    public string OtpGeocodingBaseUrl { get; set; } = "https://planificador-rutas-api.vigo.org/v1";
    public string OtpPlannerBaseUrl { get; set; } = "https://planificador-rutas.vigo.org/otp/routers/default";

    // Default Routing Parameters
    public double WalkSpeed { get; set; } = 1.4;
    public int MaxWalkDistance { get; set; } = 1000;
    public int MaxWalkTime { get; set; } = 20;
    public int NumItineraries { get; set; } = 4;
}