/// <summary> /// Initializes a new instance of the <see cref="Wind"/> class. /// </summary> /// <param name="coords">The coordinates of the request.</param> /// <param name="altitude">The altitude of the request.</param> /// <param name="unit">The unit for the altitude (Imperial/Metric Flight Level/Altitude).</param> /// <param name="epoch">The time to request data for.</param> private Wind(LatLon coords, int altitude, AltitudeUnit unit, DateTime epoch) { Coordinates = coords; Altitude = altitude; Unit = unit; Epoch = epoch; }
private Chart(int width, int height, int level, DateTime epoch, LatLon lowerLeftCoordinates, LatLon upperRightCoordinates) { Width = width; Height = height; Level = level; Epoch = epoch; LowerLeftCoordinates = lowerLeftCoordinates; UpperRightCoordinates = upperRightCoordinates; }
public static Chart For(LatLon lowerLeftCoordinates, LatLon upperRightCoordinates, int level, DateTime epoch, int width, int height) { return new Chart(width, height, level, epoch, lowerLeftCoordinates, upperRightCoordinates); }
/// <summary> /// Create a TAF request for a specific latitude/longitude. /// </summary> /// <param name="coords">A LatLon object specifying the coordinates.</param> /// <returns>New TAF request object.</returns> public static TAF ForCoordinates(LatLon coords) { return new TAF(coords); }
private TAF(LatLon coords) { Coordinates = coords; }
private Wind(LatLon coords) { Coordinates = coords; }
public bool Equals(LatLon other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.Latitude.Equals(Latitude) && other.Longitude.Equals(Longitude); }
/// <summary> /// Create a METAR request for a specific latitude/longitude. /// </summary> /// <param name="coords">A LatLon object specifying the coordinates.</param> /// <returns>New METAR request object.</returns> public static METAR ForCoordinates(LatLon coords) { return new METAR(coords); }
private METAR(LatLon coords) { Coordinates = coords; }