2021-11-07 20:19:24 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace EFB.Models.Route
|
|
|
|
{
|
|
|
|
public class WaypointModel:IWaypoint
|
|
|
|
{
|
|
|
|
public string Name { get; set; }
|
2022-02-18 20:38:45 +00:00
|
|
|
public float Longitude { get; set; }
|
|
|
|
public float Latitude { get; set; }
|
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-18 20:38:45 +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;
|
2022-02-18 20:38:45 +00:00
|
|
|
Longitude = longitude;
|
|
|
|
Latitude = latitude;
|
2022-01-09 15:36:52 +00:00
|
|
|
}
|
2021-11-07 20:19:24 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|