/// <summary> /// 获取每个模拟器待发任务数 /// </summary> /// <param name="status"></param> /// <param name="mobileindex"></param> /// <returns></returns> public static int CountByStatus(string status, int mobileindex, int iswhole) { TasksDAL dal = new TasksDAL(); int resnum = dal.CountByStatus(status, mobileindex, iswhole); return(resnum); }
/// <summary> /// 获取执行的任务数 /// </summary> /// <returns></returns> public static int CountByStatus(string status = "waiting") { TasksDAL dal = new TasksDAL(); int resnum = dal.CountByStatus(status); return(resnum); }