public void Undo()
        {
            switch (_previousSpeed)
            {
            case 3:
                _ceilingFan.High();
                break;

            case 2:
                _ceilingFan.Medium();
                break;

            case 1:
                _ceilingFan.Low();
                break;

            case 0:
                _ceilingFan.Off();
                break;

            default:
                break;
            }
        }
 public void Execute()
 {
     _previousSpeed = _ceilingFan.Speed;
     _ceilingFan.Low();
 }