EFB/Models/Route/NavaidModel.cs

27 lines
793 B
C#
Raw Normal View History

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 NavaidModel:IWaypoint
{
public string Name { get; set; }
public float Longitude { get; set; }
public float Latitude { get; set; }
2021-11-07 20:19:24 +00:00
public int Frequency { get; set; }
public string Airway { get; set; }
public IWaypoint Next { get; set; } = null;
public IWaypoint Previous { get; set; } = null;
public bool Visited { get; set; } = false;
public NavaidModel(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
}
2021-11-07 20:19:24 +00:00
}
}