Beispiel #1
0
 public static WinTrrigerPLC GetWinInst(out bool blNew)
 {
     blNew = false;
     if (g_WinTrrigerPLC == null)
     {
         blNew           = true;
         g_WinTrrigerPLC = new WinTrrigerPLC();
     }
     return(g_WinTrrigerPLC);
 }
Beispiel #2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         ComValue.C_I.blTrrigerPLC = false;
         g_WinTrrigerPLC           = null;
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError(NameClass, ex);
     }
 }