private void StopThrustBtn_Click(object sender, EventArgs e)
        {
            object obj = ThrusterSelector.SelectedItem;

            if ((obj != null) && (obj is ThrusterWrapper wrapper))
            {
                Thruster thruster = wrapper.Thruster;
                thruster.Stop();
            }
        }
        private void ThrusterZeroPulse_ValueChanged(object sender, EventArgs e)
        {
            object obj = ThrusterSelector.SelectedItem;

            if ((obj != null) && (obj is ThrusterWrapper wrapper))
            {
                Thruster thruster = wrapper.Thruster;
                ushort   pulse    = decimal.ToUInt16(ThrusterZeroPulse.Value);
                thruster.ZeroPulse = pulse;
                thruster.Stop();
                settings.ThrusterRanges[wrapper.Name] = thruster.PulseRange;
            }
        }