public DomeCapabilities(DomeCapabilities other) { ThrowOnInvalidPropertyName = true; this._canFindHome = other._canFindHome; this._canPark = other._canPark; this._canSetAltitude = other._canSetAltitude; this._canSetAzimuth = other._canSetAzimuth; this._canSetPark = other._canSetPark; this._canSetShutter = other._canSetShutter; this._canSlave = other._canSlave; this._canSyncAzimuth = other._canSyncAzimuth; }
private void SetCapabilities(DomeCapabilities capabilities) { // Make sure that we update the Parameters on the U/I thread. Task.Factory.StartNew(() => Capabilities = capabilities, CancellationToken.None, TaskCreationOptions.None, Globals.UISyncContext); }