예제 #1
0
        /// <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);
        }
예제 #2
0
파일: TasksBLL.cs 프로젝트: qtxtz/WhatsApp
        /// <summary>
        /// 获取执行的任务数
        /// </summary>
        /// <returns></returns>
        public static int CountByStatus(string status = "waiting")
        {
            TasksDAL dal    = new TasksDAL();
            int      resnum = dal.CountByStatus(status);

            return(resnum);
        }