/// <summary> /// Sets the dial on the given rotor /// </summary> public void SetRotorDial(int rotorNumber, char rotorSetting) { switch (rotorNumber) { case 1: _rotor1.SetDial(rotorSetting); break; case 2: _rotor2.SetDial(rotorSetting); break; case 3: _rotor3.SetDial(rotorSetting); break; default: break; } }