예제 #1
0
 public static void EstimationAlarm(int ID, int prim, int estim)
 {
     foreach (var user in MPSUser.EnumAllUsers(true).Where(x => x.ESTIMALARM))
     {
         SendMessage(user.CHATID, $"Estimation alarm (from primary {prim} hours to {estim} hours): {Settings.CurrentSettings.GetTTAnchor(ID, "bell.png")}");
     }
 }
예제 #2
0
 public List <MPSUser> getMPSUsers(bool active)
 {
     return(MPSUser.EnumAllUsers(active));
 }