Esempio n. 1
0
 public void RemoveAllAlarmsForModule(FailureModule fm)
 {
     print ("[DangIt] [AlarmManager] Removing alarms...");
     if (this.loops.Keys.Contains (fm))
     {
         fm.AlarmsDoneCallback ();
         loops.Remove (fm);
     }
 }
Esempio n. 2
0
 public void RemoveAllAlarmsForModule(FailureModule fm)
 {
     print("[DangIt] [AlarmManager] Removing alarms...");
     if (this.loops.Keys.Contains(fm))
     {
         fm.AlarmsDoneCallback();
         loops.Remove(fm);
     }
 }
Esempio n. 3
0
 public void RemoveAllAlarmsForModule(FailureModule fm)
 {
     audioSource.audio.volume = 0;
     Logger.Info("[DangIt] [AlarmManager] Removing alarms...");
     if (this.loops.Keys.Contains(fm))
     {
         fm.AlarmsDoneCallback();
         loops.Remove(fm);
     }
 }