public ActionResult GetScheduleStatus() { ActionResult ActionResult = new ActionResult { Data = SchedulerFactory.GetScheduleStatus() }; return(ActionResult); }
internal static List <IUIData> GetData(int PortalID, UserInfo userinfo) { Dictionary <string, IUIData> Setting = new Dictionary <string, IUIData> { { "ScheduleStatus", new UIData { Name = "ScheduleStatus", Options = SchedulerFactory.GetScheduleStatus() } } }; return(Setting.Values.ToList()); }
internal static List <IUIData> GetData(int PortalID, UserInfo userinfo) { Dictionary <string, IUIData> Setting = new Dictionary <string, IUIData> { { "FriendlyName", new UIData { Name = "FriendlyName", Value = "" } }, { "ObjectDependencies", new UIData { Name = "ObjectDependencies", Value = "" } }, { "ScheduleStatus", new UIData { Name = "ScheduleStatus", Options = SchedulerFactory.GetScheduleStatus() } }, { "GetScheduleItems", new UIData { Name = "GetScheduleItems", Options = SchedulerManager.GetScheduleItems() } }, { "FrequencyPeriod", new UIData { Name = "FrequencyPeriod", Options = SchedulerManager.TimePeriod(), OptionsText = "Text", OptionsValue = "Value", Value = "s" } }, { "RunTimeLapsePeriod", new UIData { Name = "RunTimeLapsePeriod", Options = SchedulerManager.TimePeriod(), OptionsText = "Text", OptionsValue = "Value", Value = "s" } }, { "CatchUpTasks", new UIData { Name = "CatchUpTasks", Options = SchedulerManager.CatchUpTask(), OptionsText = "Text", OptionsValue = "Value", Value = "false" } }, { "RunOnEvent", new UIData { Name = "RunOnEvent", Options = SchedulerManager.RunOnEvent(), OptionsText = "Text", OptionsValue = "Value", Value = "0" } }, { "RetainScheduleHistory", new UIData { Name = "RetainScheduleHistory", Options = SchedulerManager.RetainScheduleHistory(), OptionsText = "Text", OptionsValue = "Value", Value = "0" } }, { "EnabledScheduling", new UIData { Name = "EnabledScheduling", Value = "false" } }, { "ScheduleStartDate", new UIData { Name = "ScheduleStartDate", Value = "" } }, { "RetryTimeLapse", new UIData { Name = "RetryTimeLapse", Value = "" } }, { "Server", new UIData { Name = "Server", Value = "" } }, { "Frequency", new UIData { Name = "Frequency", Value = "" } }, { "ClassNameAssembly", new UIData { Name = "ClassNameAssembly", Value = "" } } }; return(Setting.Values.ToList()); }