예제 #1
0
 public void Update(UpdatedDeparture updatedArrival)
 {
     EstimatedDateTime         = updatedArrival.EstimatedDateTime;
     TargetDateTime            = updatedArrival.TargetDateTime;
     ObservedDateTime          = updatedArrival.ObservedDateTime;
     State                     = updatedArrival.State;
     MonitoredVehicleJourneyId = updatedArrival.MonitoredVehicleJourneyId;
 }
예제 #2
0
 public override void ReadXmlElement(XElement el)
 {
     switch (el.Name.LocalName)
     {
     case "Departure":
         var departure = new UpdatedDeparture();
         departure.ReadXml(el);
         Departures.Add(departure);
         break;
     }
 }