private bool IsCanRun()
        {
            //执行时间段
            if (DateTime.Now.Hour != ReminderConfig.RunTimeSpan())
            {
                Console.WriteLine("Not in the period of execution");
                return(false);
            }

            //是否存在正在执行的程序
            if (_historyManager.ExistsRunning())
            {
                Console.WriteLine("A reminder is being carried out and will continue later");
                return(false);
            }

            //当日是否执行过
            if (_historyManager.GetLastModelByRunDate(DateTime.Now))
            {
                Console.WriteLine("Today has been reminded, no more reminding.");
                return(false);
            }

            return(true);
        }