Example #1
0
        public void RunColock()
        {
            var db    = new DbContext <Clock>("WYJ");
            var today = DateTime.Today;

            var clocklist = db.GetList();

            clocklist.ForEach(x =>
            {
                if (Clock.AlertAtNow(x))
                {
                    Clock.Alert();
                }
            });
        }