コード例 #1
0
        //public abstract int AddSchedule(ScheduleItem objScheduleItem);

        //public abstract void UpdateSchedule(ScheduleItem objScheduleItem);

        public abstract bool DeleteSchedule(ScheduleItem objScheduleItem);
コード例 #2
0
        //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));
        }
コード例 #3
0
 public abstract int SaveSchedule(ScheduleItem scheduleItem);
コード例 #4
0
 public override int SaveSchedule(ScheduleItem scheduleItem)
 {
     return(Discovery.Scheduling.SchedulingController.SaveSchedule(scheduleItem));
 }