//public static TelescopeProperties Properties { get { return _properties; } }
 public TelescopeProperties(ITelescopeInteraction ti, TelescopeSettingsProfile Profile)
 {
     this._ti = ti;
     this.TrackingRate = DriveRates.driveSidereal;
     this.Target = new Target();
     this.IsRateTracked = false;
     this.PulseRateAlt = this.PulseRateAzm = Const.TRACKRATE_SIDEREAL/2d;
     this.profile = Profile;
 }
        private TelescopeWorker(TelescopeSettingsProfile Profile /*ITelescopeV3 driver*/)
        {
            //_driver = driver;
            this.profile = Profile;
            this.two = new TelescopeWorkerOperationsRateMode();
            this.setFilter();

            this.bgWorker.DoWork += this.BgWorkerOnDoWork;
            this.bgWorker.ProgressChanged += this.BgWorkerOnProgressChanged;
            this.bgWorker.RunWorkerCompleted += this.BgWorkerOnRunWorkerCompleted;
            this.bgWorker.WorkerSupportsCancellation = true;
            this.bgWorker.WorkerReportsProgress = true;

            this.bgWorker.RunWorkerAsync();
        }
 public static TelescopeWorker GetWorker(TelescopeSettingsProfile Profile)
 {
     if (_worker == null)
     {
         _worker = new TelescopeWorker(Profile);
     }
     return _worker;
 }