public FlightDataEntities.Charts.ChartPanel[] GetAllChartPanels(AircraftModel aircraftModel) { try { LogHelper.Info("AircraftService.GetAllChartPanels Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetAllChartPanels(aircraftModel); } catch (Exception e) { LogHelper.Error("AircraftService.GetAllChartPanels", e); return null; } }
public FlightParameters GetAllFlightParameters(AircraftModel model) { try { LogHelper.Info("AircraftService.GetAllFlightParameters Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetAllFlightParameters(model); } catch (Exception e) { LogHelper.Error("AircraftService.GetAllFlightParameters", e); return null; } }
public KeyValuePair<string, FlightDataEntities.FlightRawData[]>[] GetFlightData(Flight flight, string[] parameterIds, int startSecond, int endSecond) { try { LogHelper.Info("AircraftService.GetFlightData Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetFlightData(flight, parameterIds, startSecond, endSecond); } catch (Exception e) { LogHelper.Error("AircraftService.GetFlightData", e); return null; } }
public FlightDataEntities.LevelTopFlightRecord[] GetLevelTopFlightRecords( Flight flight, string[] parameterIds) { try { LogHelper.Info("AircraftService.GetLevelTopFlightRecords Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetLevelTopFlightRecords(flight, parameterIds); } catch (Exception e) { LogHelper.Error("AircraftService.GetLevelTopFlightRecords", e); return null; } }
public string GetAppConfigValue(string appKey) { try { LogHelper.Info("AircraftService.GetAppConfigValue Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetAppConfigValue(appKey); } catch (Exception e) { LogHelper.Error("AircraftService.GetAppConfigValue", e); return e.Message; } }
public int GetEarliestYear(AircraftModel model) { try { LogHelper.Info("AircraftService.GetEarliestYear Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetEarliestYear(model); } catch (Exception e) { LogHelper.Error("AircraftService.GetEarliestYear", e); return DateTime.Now.Year; } }
public FlightDataEntities.Decisions.DecisionRecord[] GetFlightConditionDecisionRecords(AircraftModel model, DateTime startYearMonth, DateTime endYearMonth, string[] aircraftNumbers) { try { LogHelper.Info("AircraftService.GetFlightConditionDecisionRecords Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetFlightConditionDecisionRecords(model, startYearMonth, endYearMonth, aircraftNumbers); } catch (Exception e) { LogHelper.Error("AircraftService.GetFlightConditionDecisionRecords", e); return new FlightDataEntities.Decisions.DecisionRecord[] { }; } }
public GlobeData[] GetGlobeDatas(string flightID, AircraftModel model, int startIndex, int endIndex) { try { LogHelper.Info("AircraftService.GetGlobeDatas Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetGlobeDatas(flightID, model, startIndex, endIndex); } catch (Exception e) { LogHelper.Error("AircraftService.GetGlobeDatas", e); return null; } }
public AircraftInstance[] GetAllAircrafts(AircraftModel model) { try { LogHelper.Info("AircraftService.GetAllAircrafts Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetAllAircrafts(model); } catch (Exception e) { LogHelper.Error("AircraftService.GetAllAircrafts", e); return null; } }
public FlightDataEntities.ExtremumPointInfo[] GetExtremumPointInfosByAircraftInstance(AircraftInstance aircraftInstance) { try { LogHelper.Info("AircraftService.GetExtremumPointInfosByAircraftInstance Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetExtremumPointInfos(aircraftInstance); } catch (Exception e) { LogHelper.Error("AircraftService.GetExtremumPointInfosByAircraftInstance", e); return null; } }
GetFlightRawDataRelationPoints(AircraftModel aircraftModel, string flightID, string XAxisParameterID, string YAxisParameterID) { try { LogHelper.Info("AircraftService.GetFlightRawDataRelationPoints Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetFlightRawDataRelationPoints(aircraftModel, flightID, XAxisParameterID, YAxisParameterID); } catch (Exception e) { LogHelper.Error("AircraftService.GetFlightRawDataRelationPoints", e); return null; } }
GetAllFlightConditionDecisions(AircraftModel aircraft) { try { LogHelper.Info("AircraftService.GetAllFlightConditionDecisions Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetAllFlightConditionDecisions(aircraft); } catch (Exception e) { LogHelper.Error("AircraftService.GetAllFlightConditionDecisions", e); return null; } }
public ExtremumReportDefinition GetExtremumReportDefinition(string aircraftModelName) { try { LogHelper.Info("AircraftService.GetExtremumReportDefinition Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetExtremumReportDefinition(aircraftModelName); } catch (Exception e) { LogHelper.Error("AircraftService.GetExtremumReportDefinition", e); return null; } }
public FlightDataEntities.Decisions.DecisionRecord[] GetDecisionRecords(Flight flight) { try { LogHelper.Info("AircraftService.GetDecisionRecords Requested.", null); AircraftServiceBll bll = new AircraftServiceBll(); return bll.GetDecisionRecords(flight); } catch (Exception e) { LogHelper.Error("AircraftService.GetDecisionRecords", e); return null; } }