Exemplo n.º 1
0
 /// <summary>
 /// All available brakes options, in the file order.
 /// </summary>
 public static string[] AllBrakes(this AirbusPerfTable t) =>
 t.Entries.Select(x => x.Autobrake).Distinct().ToArray();
Exemplo n.º 2
0
 /// <summary>
 /// All available flaps options, in the file order.
 /// </summary>
 public static string[] AllFlaps(this AirbusPerfTable t) =>
 t.Entries.Select(x => x.Flaps).Distinct().ToArray();
Exemplo n.º 3
0
 public bool Equals(AirbusPerfTable a, double delta)
 {
     return(Entries != null && a.Entries != null &&
            Entries.Count == a.Entries.Count &&
            Entries.All(x => a.Entries.Any(y => x.Equals(y, delta))));
 }