Beispiel #1
0
 /// <summary>
 /// Method used to get the oldest message DateTime
 /// </summary>
 /// <param name="commandList">list of commands</param>
 /// <param name="logResponse">The oldest message</param>
 /// <returns>Error code if any</returns>
 public static ResultCodeEnum GetOldestLogDateTime(List <PIS.Ground.Core.Data.CommandType> commandList, out string logResponse)
 {
     logResponse = string.Empty;
     if (HistoryLoggerConfiguration.Used)
     {
         return(HistoryLogger.GetOldestLogDateTime(commandList, out logResponse));
     }
     else
     {
         return(ResultCodeEnum.RequestAccepted);
     }
 }