Пример #1
0
 public void CheckAlarmTriggered()
 {
     if (_currentTime.Equate(_alarmTime) && _modeManager.GetMode() == Mode.ALARM_ON)
     {
         _alarm.On();
     }
     else
     {
         _alarm.Off();
     }
 }