DCS World status

This commit is contained in:
VladMordock
2021-02-17 16:53:47 +01:00
parent f1b4fdcf9c
commit 7fa623c373
7 changed files with 207 additions and 31 deletions

View File

@@ -53,10 +53,10 @@ internal class PerunHelper
}
// Set marker for user flags (markers)
LogMarker = (intMarker>0) ? "X" : " ";
LogMarker = (intMarker > 0) ? "X" : " ";
// Set frame type
strType=strType.PadLeft(3, ' ');
strType = strType.PadLeft(3, ' ');
if (!bSkipGui)
{
@@ -73,7 +73,7 @@ internal class PerunHelper
Globals.AppUpdateGUI = true;
}
// Add the entry to log file
LogController.instance.WriteLog(logLevel, DateTime.Now.ToString("yyyy-MM-dd ") + " " + DateTime.Now.ToString("HH:mm:ss") + " | Instance: "+ Globals.AppInstanceID + " | " + LogMarker + " | "+ LogDirection + " | "+ strType + " | " + strEntryToAdd);
LogController.instance.WriteLog(logLevel, DateTime.Now.ToString("yyyy-MM-dd ") + " " + DateTime.Now.ToString("HH:mm:ss") + " | Instance: " + Globals.AppInstanceID + " | " + LogMarker + " | " + LogDirection + " | " + strType + " | " + strEntryToAdd);
}
// Gets build version
@@ -121,4 +121,9 @@ internal class PerunHelper
return 1;
#endif
}
public static string ConvertSecoundsToString (Double NumberOfSecounds){
// TBD
return NumberOfSecounds.ToString();
}
}