示例#1
0
        private void timScheduledTask_Elapsed(object sender, ElapsedEventArgs e)
        {
            TaskWork taskwork = new TaskWork();

            taskwork.CreteDataTryHis();
            taskwork.CreteData();
        }
示例#2
0
        public JsonResult WorkSchedule()
        {
            TaskWork taskwork = new TaskWork();

            taskwork.CreteData();

            //ViewBag.Message = "Work Schedule!!";
            string strMsg = "Work Schedule!!";

            //return View();
            return(Json(new { Response = strMsg }, JsonRequestBehavior.AllowGet));
        }
示例#3
0
        private void CreateDataByApi()
        {
            TaskWork taskWork = new TaskWork();

            taskWork.CreteData();
        }