private void UpdateParameters(FocuserParametersUpdatedMessage action)
 {
     SetParameters(action.Parameters);
 }
        private void FocuserParametersUpdated(FocuserParametersUpdatedMessage action)
        {
            // Make sure that we update the Parameters on the U/I thread.

            Task.Factory.StartNew(() => Parameters = action.Parameters, CancellationToken.None, TaskCreationOptions.None, Globals.UISyncContext);
        }