From 0a17fcf0b24cbf40c366dd263dcd3c9bdbddb237 Mon Sep 17 00:00:00 2001 From: szporowolik Date: Sun, 20 Oct 2019 13:33:10 +0200 Subject: [PATCH] Code cleanup --- 02_Windows_App/Perun_v1/01_Classes/Globals.cs | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/02_Windows_App/Perun_v1/01_Classes/Globals.cs b/02_Windows_App/Perun_v1/01_Classes/Globals.cs index dd0c22b..ee7e723 100644 --- a/02_Windows_App/Perun_v1/01_Classes/Globals.cs +++ b/02_Windows_App/Perun_v1/01_Classes/Globals.cs @@ -3,21 +3,21 @@ using MySql.Data.MySqlClient; internal class Globals { - public static string strPerunVersion = "DEBUG"; // Helper for pulling version definition - public static string[] arrLogHistory = new string[10]; // Log history for GUI - public static bool bLogHistoryUpdate = true; // Mark if log control require update - public static string strPerunTitleText = ""; - public static int intInstanceId = 0; // Instance ID - public static bool bStatusIconsForce = true; // Force icons reload - public static bool bdcConnection = false; // Historic db connection status - public static bool bTCPServer = false; // Historic tcp connection status - public static bool bSRSStatus = false; // Historic srs connection status - public static bool bLotATCStatus = false; // Historic lotatc connection status - public static bool bClientConnected = false; // Is TCP connection alive - public static int intMysqlErros = 0; // Error counter - public static int intGameErros = 0; // Error counter - public static int intGameErrosHistory = 0; // Error counter - public static int intSRSErros = 0; // Error counter - public static int intLotATCErros = 0; // Error counter + public static string strPerunVersion = "DEBUG"; // Helper for pulling version definition + public static string[] arrLogHistory = new string[10]; // Log history for GUI + public static bool bLogHistoryUpdate = true; // Flag if log control requires update + public static string strPerunTitleText = ""; // Helper to update title + public static int intInstanceId = 0; // Kepp the instance ID + public static bool bStatusIconsForce = true; // Force main window icons reload + public static bool bdcConnection = false; // Historic db connection status + public static bool bTCPServer = false; // Historic tcp connection status + public static bool bSRSStatus = false; // Historic srs connection status + public static bool bLotATCStatus = false; // Historic lotatc connection status + public static bool bClientConnected = false; // Flag if is TCP connectionstill alive + public static int intMysqlErros = 0; // MySQL - Error counter + public static int intGameErros = 0; // TCP connection - Error counter + public static int intGameErrosHistory = 0; // TCP connection - historic value of Error counter + public static int intSRSErros = 0; // DCS SRS - error counter + public static int intLotATCErros = 0; // LotATC - error counter }