mirror of
https://github.com/MistWeatherMedia/i2ME.git
synced 2026-11-28 14:20:00 -08:00
add AirportDelays schema
This commit is contained in:
1 parent
9669d56e55
commit
e43397dd09
1 file changed
+47
@@ -0,0 +1,47 @@
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MistWX_i2Me.Schema.twc;
|
||||
|
||||
[XmlRoot(ElementName="Arrival")]
|
||||
public class Arrival
|
||||
{
|
||||
[XmlAttribute(AttributeName="cancellations")]
|
||||
public int? Cancellations { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="percentage_cancelled")]
|
||||
public int? PercentCancelled { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="total")]
|
||||
public int? Total { get; set; }
|
||||
}
|
||||
|
||||
[XmlRoot(ElementName="AirportDelays")]
|
||||
public class AirportDelays
|
||||
{
|
||||
[XmlAttribute(AttributeName="key")]
|
||||
public string? Key { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="icao_code")]
|
||||
public string? ICAOCode { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="iata_code")]
|
||||
public string? IATACode { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="faa_code")]
|
||||
public string? FAACode { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="airport_name")]
|
||||
public string? AirportName { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="local_airport_name")]
|
||||
public string? LocalAirportName { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="arrival")]
|
||||
public Arrival? Arrival { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="departure")]
|
||||
public Arrival? Departure { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName="process_time_gmt")]
|
||||
public int? ProcessTimeGmt { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user