Exemplo n.º 1
0
 public ScheduleWeeks(List <ScheduleRoom> rooms, SettingShedule setting, DateTime firstDaySem, DateTime lastDaySem)
 {
     Rooms       = rooms;
     Setting     = setting;
     FirstDaySem = firstDaySem;
     LastDaySem  = lastDaySem;
     InitializeDays();
     Employments = new Employments();
     Employments.Clear();
 }
Exemplo n.º 2
0
 public ScheduleGenerator(EducationLoadAdapter Adapter, List <ScheduleRoom> rooms,
                          SettingShedule Setting, DateTime firstDaySem, DateTime lastDaySem, Employments employments)
 {
     Rooms               = rooms;
     Shedule             = new ScheduleWeeks(Rooms, Setting, firstDaySem, lastDaySem);
     Employments         = employments;
     Shedule.Employments = Employments;
     LoadItemsAdapter    = Adapter;
     Shedule.Employments.ClearGeneratedLessons();
 }