EFB/Models/Route/WaypointModel.cs
2022-02-28 21:53:28 +00:00

23 lines
643 B
C#

namespace EFB.Models.Route
{
public class WaypointModel : IWaypoint
{
public string Name { get; set; }
public float Longitude { get; set; }
public float Latitude { get; set; }
public string Airway { get; set; }
public IWaypoint Next { get; set; } = null;
public IWaypoint Previous { get; set; } = null;
public bool Visited { get; set; }
public WaypointModel(string name, string airway, float longitude, float latitude)
{
Name = name;
Airway = airway;
Longitude = longitude;
Latitude = latitude;
}
}
}