コード例 #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();
コード例 #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();
コード例 #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))));
 }