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); }
/// <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); }