Exemplo n.º 1
0
            public CFTimeSlot AddCFTimeSlot(
                System.Decimal SiteId,
                string Pool,
                string TimeSlot,
                System.Decimal SundayStartTime,
                System.Decimal SundayEndTime,
                System.Decimal MondayStartTime,
                System.Decimal MondayEndTime,
                System.Decimal TuesdayStartTime,
                System.Decimal TuesdayEndTime,
                System.Decimal WednesdayStartTime,
                System.Decimal WednesdayEndTime,
                System.Decimal ThursdayStartTime,
                System.Decimal ThursdayEndTime,
                System.Decimal FridayStartTime,
                System.Decimal FridayEndTime,
                System.Decimal SaturdayStartTime,
                System.Decimal SaturdayEndTime)
            {
                CFTimeSlot rowCFTimeSlot = ((CFTimeSlot)(this.NewRow()));

                rowCFTimeSlot.ItemArray = new object[] {
                    SiteId,
                    Pool,
                    TimeSlot,
                    SundayStartTime,
                    SundayEndTime,
                    MondayStartTime,
                    MondayEndTime,
                    TuesdayStartTime,
                    TuesdayEndTime,
                    WednesdayStartTime,
                    WednesdayEndTime,
                    ThursdayStartTime,
                    ThursdayEndTime,
                    FridayStartTime,
                    FridayEndTime,
                    SaturdayStartTime,
                    SaturdayEndTime
                };
                this.Rows.Add(rowCFTimeSlot);
                return(rowCFTimeSlot);
            }
Exemplo n.º 2
0
 public void RemoveCFTimeSlot(CFTimeSlot row)
 {
     this.Rows.Remove(row);
 }
Exemplo n.º 3
0
 public void AddCFTimeSlot(CFTimeSlot row)
 {
     this.Rows.Add(row);
 }
Exemplo n.º 4
0
 public CFTimeSlotChangeEvent(CFTimeSlot row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }