EFB/Models/Route/WaypointModel.cs

23 lines
643 B
C#
Raw Permalink Normal View History

2021-11-07 20:19:24 +00:00
namespace EFB.Models.Route
{
2022-02-28 21:53:28 +00:00
public class WaypointModel : IWaypoint
2021-11-07 20:19:24 +00:00
{
public string Name { get; set; }
public float Longitude { get; set; }
public float Latitude { get; set; }
2022-02-28 21:53:28 +00:00
2021-11-07 20:19:24 +00:00
public string Airway { get; set; }
public IWaypoint Next { get; set; } = null;
public IWaypoint Previous { get; set; } = null;
public bool Visited { get; set; }
2022-02-28 21:53:28 +00:00
public WaypointModel(string name, string airway, float longitude, float latitude)
{
2022-01-09 15:36:52 +00:00
Name = name;
2022-01-09 17:03:52 +00:00
Airway = airway;
Longitude = longitude;
Latitude = latitude;
2022-01-09 15:36:52 +00:00
}
2022-02-28 21:53:28 +00:00
2021-11-07 20:19:24 +00:00
}
}