コード例 #1
0
 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;
     }
 }
コード例 #2
0
 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;
     }
 }
コード例 #3
0
 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;
     }
 }
コード例 #4
0
 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;
     }
 }
コード例 #5
0
 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;
     }
 }
コード例 #6
0
 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;
     }
 }
コード例 #7
0
 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[] { };
     }
 }
コード例 #8
0
 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;
     }
 }
コード例 #9
0
 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;
     }
 }
コード例 #10
0
 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;
     }
 }
コード例 #11
0
      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;
     }
 }
コード例 #12
0
     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;
     }
 }
コード例 #13
0
 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;
     }
 }
コード例 #14
0
 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;
     }
 }