예제 #1
0
 public override bool Run()
 {
     System.Diagnostics.Debug.WriteLine("FinchScanOperation Start Data collection");
     InstCtrlWrapper.GetInstance().PerformScan_SinglePoint(this);
     //InstCtrlWrapper.GetInstance().PerformScan_DoublePoint(this);
     //InstCtrlWrapper.GetInstance().PerformScan_DoublePointArray(this);
     return(true);
 }
예제 #2
0
 /// <summary>
 /// Create Singleton instance of logger
 /// </summary>
 /// <returns></returns>
 public static InstCtrlWrapper GetInstance()
 {
     if (instCtrlWrapper == null)
     {
         lock (synchCall)
         {
             if (instCtrlWrapper == null)
             {
                 instCtrlWrapper = new InstCtrlWrapper();
             }
         }
     }
     return(instCtrlWrapper);
 }