/// <summary> /// Rotate the stepper by specific steps /// </summary> /// <param name="steps">The number of steps to rotate.</param> private void _RotateStepper(int steps) { if (_Stepper != null) { // Inform the rotation message _ConsolePrintMessage("Stepper rotates for " + steps.ToString() + " steps.", MessageLevel.Info); // Rotate the stepper _Stepper.Rotate(steps); } else { // Inform the no stepper opens message _ConsolePrintMessage("No stepper is connected.", MessageLevel.Error); } }