Route request being made (Needs polling)

This commit is contained in:
luke-else
2021-11-22 13:07:56 +00:00
parent 16543d9c64
commit 0f96994773
7 changed files with 112 additions and 12 deletions

View File

@ -0,0 +1,18 @@
using Newtonsoft.Json;
namespace EFB.Models.JSON
{
public class RouteRequest
{
[JsonProperty]
public string departure { get; set; }
[JsonProperty]
public string destination { get; set; }
[JsonProperty]
public uint preferredminlevel { get; set; }
[JsonProperty]
public uint preferredmaxlevel { get; set; }
[JsonProperty]
public string optimise { get; } = "preferred";
}
}