示例#1
0
        public void DoIncrementHour()
        {
            Mode currentMode = _modeManager.GetMode();

            if (currentMode == Mode.SET_ALARM)
            {
                _timeManager.IncrementAlarmHour();
            }
            else if (currentMode != Mode.SET_ALARM)
            {
                _timeManager.IncrementCurrentHour();
            }
        }