コード例 #1
0
ファイル: LogManager.cs プロジェクト: aioliaaiolos/PISGround
 /// <summary>
 /// Method used to get the latest message DateTime
 /// </summary>
 /// <param name="commandList">list of commands</param>
 /// <param name="logResponse">The latest message</param>
 /// <returns>Error code if any</returns>
 public static ResultCodeEnum GetLatestLogDateTime(List <PIS.Ground.Core.Data.CommandType> commandList, out string logResponse)
 {
     logResponse = string.Empty;
     if (HistoryLoggerConfiguration.Used)
     {
         return(HistoryLogger.GetLatestLogDateTime(commandList, out logResponse));
     }
     else
     {
         return(ResultCodeEnum.RequestAccepted);
     }
 }