Example #1
0
        public static void SkipAlarm(Vakat vakat)
        {
            string tmp = Memory.skippedAlarms;

            tmp  = tmp.Replace("[" + Vakat.Key(vakat) + "]", "");
            tmp += "[" + Vakat.Key(vakat) + "]";
            Memory.skippedAlarms = tmp;
            Year.year.months[vakat.time.Month - 1].days[vakat.time.Day - 1].vakti[vakat.rbr].alarmSkipped = true;
        }
Example #2
0
 public static bool IsSkipped(Vakat vakat)
 {
     return(Memory.skippedAlarms.Contains("[" + Vakat.Key(vakat) + "]"));
 }
Example #3
0
 public static void StayAlarm(Vakat vakat)
 {
     Memory.skippedAlarms = Memory.skippedAlarms.Replace("[" + Vakat.Key(vakat) + "]", "");
     Year.year.months[vakat.time.Month - 1].days[vakat.time.Day - 1].vakti[vakat.rbr].alarmSkipped = false;
 }
Example #4
0
 public static void StayToast(Vakat vakat)
 {
     Memory.skippedToasts = Memory.skippedToasts.Replace("[" + Vakat.Key(vakat) + "]", "");
     Year.year.months[vakat.time.Month - 1].days[vakat.time.Day - 1].vakti[vakat.rbr].toastSkipped = false;
 }