摘要: public ActionResult Index() { Run(); return View(); } public async static Task Run() { // 1.创建scheduler的引用 ISchedulerFactory schedFact = new StdSchedu 阅读全文
posted @ 2021-07-19 17:24 masha2017 阅读(191) 评论(0) 推荐(0) 编辑
摘要: private static Timer aTimer; public void Index() { aTimer = new Timer(1000); aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent); aTimer.AutoReset 阅读全文
posted @ 2021-07-19 17:01 masha2017 阅读(116) 评论(0) 推荐(0) 编辑
摘要: System.Diagnostics.Debug.WriteLine(format, args); 参考:https://www.cnblogs.com/smartsmile/p/11750833.html 阅读全文
posted @ 2021-07-19 16:58 masha2017 阅读(781) 评论(0) 推荐(0) 编辑