public override void ExamineFlight(ExaminerFlightRow cfr) { if (cfr == null) { throw new ArgumentNullException("cfr"); } decimal IMCTime = cfr.IMC + cfr.IMCSim; if (cfr.fIsCertifiedIFR) { miMinIFRTime.AddEvent(IMCTime); } if (!cfr.fIsRealAircraft) { return; } decimal part135XC = Part135Milestones.Part135CrossCountry(cfr); miMinTimeAsPilot.AddEvent(cfr.Total); miMinXCTime.AddEvent(part135XC); miMinNightTime.AddEvent(cfr.Night); miMinIFRAircraftTime.AddEvent(IMCTime); }
public override void ExamineFlight(ExaminerFlightRow cfr) { if (cfr == null) { throw new ArgumentNullException("cfr"); } if (!cfr.fIsRealAircraft) { return; } decimal part135XC = Part135Milestones.Part135CrossCountry(cfr); miMinTimeAsPilot.AddEvent(cfr.Total); miMinXCTime.AddEvent(part135XC); miMinXCNightTime.AddEvent(Math.Min(part135XC, cfr.Night)); }