Exemplo n.º 1
0
        public JsonResult PauseAll()
        {
            var status = new OperateStatus();

            try
            {
                StdSchedulerManager.PauseAll();
                status.ResultSign = ResultSign.Successful;
                status.Message    = "暂停所有作业成功";
            }
            catch (Exception ex)
            {
                status.Message = ex.Message;
            }
            return(Json(status));
        }