//public abstract int AddSchedule(ScheduleItem objScheduleItem); //public abstract void UpdateSchedule(ScheduleItem objScheduleItem); public abstract bool DeleteSchedule(ScheduleItem objScheduleItem);
//public override int AddSchedule(ScheduleItem objScheduleItem) //{ // Discovery.Scheduling.SchedulingController s = new Discovery.Scheduling.SchedulingController(); // return s.AddSchedule(objScheduleItem.TypeFullName, objScheduleItem.TimeLapse, objScheduleItem.TimeLapseMeasurement, objScheduleItem.RetryTimeLapse, objScheduleItem.RetryTimeLapseMeasurement, objScheduleItem.RetainHistoryNum, objScheduleItem.AttachToEvent, objScheduleItem.CatchUpEnabled, objScheduleItem.Enabled, objScheduleItem.ObjectDependencies); //} //public override void UpdateSchedule(ScheduleItem objScheduleItem) //{ // Discovery.Scheduling.SchedulingController s = new Discovery.Scheduling.SchedulingController(); // s.UpdateSchedule(objScheduleItem.Id, objScheduleItem.TypeFullName, objScheduleItem.TimeLapse, objScheduleItem.TimeLapseMeasurement, objScheduleItem.RetryTimeLapse, objScheduleItem.RetryTimeLapseMeasurement, objScheduleItem.RetainHistoryNum, objScheduleItem.AttachToEvent, objScheduleItem.CatchUpEnabled, objScheduleItem.Enabled, objScheduleItem.ObjectDependencies); //} public override bool DeleteSchedule(ScheduleItem objScheduleItem) { Discovery.Scheduling.SchedulingController s = new Discovery.Scheduling.SchedulingController(); return(s.DeleteSchedule(objScheduleItem)); }
public abstract int SaveSchedule(ScheduleItem scheduleItem);
public override int SaveSchedule(ScheduleItem scheduleItem) { return(Discovery.Scheduling.SchedulingController.SaveSchedule(scheduleItem)); }