27 lines
746 B
C#
27 lines
746 B
C#
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; }
|
|
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;
|
|
}
|
|
|
|
}
|
|
} |