Ejemplo n.º 1
0
 public bool CheckIfSchedulesLineUp(WorkDays day, TimeBlocks block)
 {
     if (CourseLecturer.SpecificSchedule.GetEntryForDayAndTimeBlock(day, block) == null)
     {
         if (AssociatedCohort.SpecificSchedule.GetEntryForDayAndTimeBlock(day, block) == null)
         {
             foreach (LectureRoom roomToCheck in CompatibleRooms)
             {
                 if (roomToCheck.SpecificSchedule.GetEntryForDayAndTimeBlock(day, block) == null)
                 {
                     ChosenLectureRoom = roomToCheck;
                     return(true);
                 }
             }
         }
     }
     return(false);
 }
Ejemplo n.º 2
0
        // TODO slighty changed this to check for == 0 instead of  == null
        public bool CheckIfSchedulesLineUp(WorkDays day, TimeBlocks block)
        {
            Console.WriteLine();
            Console.WriteLine("Checking Schedules for: ");
            Console.WriteLine(CourseLecturer.Name);
            Console.WriteLine(Name);

            if (CourseLecturer.SpecificSchedule.GetEntryForDayAndTimeBlock(day, block)._allScheduledCoursesCollection.Count == 0)
            {
                if (AssociatedCohort.SpecificSchedule.GetEntryForDayAndTimeBlock(day, block)._allScheduledCoursesCollection.Count == 0)
                {
                    Console.WriteLine("Cohort Schedule Free");
                    foreach (LectureRoom roomToCheck in CompatibleRooms)
                    {
                        if (roomToCheck.SpecificSchedule.GetEntryForDayAndTimeBlock(day, block)._allScheduledCoursesCollection.Count == 0)
                        {
                            ChosenLectureRoom = roomToCheck;
                            return(true);
                        }
                        else
                        {
                            Console.WriteLine("Kein Raum frei");
                            return(false);
                        }
                    }
                }
                else
                {
                    Console.WriteLine("Kohorte keine Zeit hat");
                    return(false);
                }
            }
            else
            {
                Console.WriteLine("Dozent keine Zeit hat");
                return(false);
            }
            return(false);
        }
Ejemplo n.º 3
0
        // TODO added all this
        static void CreateExampleDataWithoutJson()
        {
            LectureRoom exampleRoom;

            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "i0.13";
            exampleRoom._availableEquipment = InstituteEquipment.Smart_Board;
            exampleRoom._capacity           = 40;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "i0.14";
            exampleRoom._availableEquipment = InstituteEquipment.None;
            exampleRoom._capacity           = 70;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "i0.15";
            exampleRoom._availableEquipment = InstituteEquipment.None;
            exampleRoom._capacity           = 80;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "i0.16";
            exampleRoom._availableEquipment = InstituteEquipment.Smart_Board;
            exampleRoom._capacity           = 30;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "i0.17";
            exampleRoom._availableEquipment = InstituteEquipment.None;
            exampleRoom._capacity           = 40;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "L1.05a";
            exampleRoom._availableEquipment = InstituteEquipment.Smart_Board;
            exampleRoom._capacity           = 40;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "L2.05a";
            exampleRoom._availableEquipment = InstituteEquipment.Smart_Board;
            exampleRoom._capacity           = 30;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "L2.07";
            exampleRoom._availableEquipment = InstituteEquipment.None;
            exampleRoom._capacity           = 50;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "L2.09";
            exampleRoom._availableEquipment = InstituteEquipment.Smart_Board;
            exampleRoom._capacity           = 50;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "C0.14";
            exampleRoom._availableEquipment = InstituteEquipment.None;
            exampleRoom._capacity           = 100;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "C0.02";
            exampleRoom._availableEquipment = InstituteEquipment.None;
            exampleRoom._capacity           = 100;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);
            exampleRoom      = new LectureRoom();
            exampleRoom.Name = "N1.06";
            exampleRoom._availableEquipment = InstituteEquipment.Smart_Board;
            exampleRoom._capacity           = 100;
            DataCatalogueService.CurrentLectureRooms.Add(exampleRoom);


            StudentCohort exampleCohort;

            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "MiB";
            exampleCohort._semester         = Semester.Second;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("Mathematik und Simulation"));
            exampleCohort._requiredCourses.Add(new Course("Computergrafik"));
            exampleCohort._requiredCourses.Add(new Course("GIS"));
            exampleCohort._requiredCourses.Add(new Course("3D Modellierung"));
            exampleCohort._requiredCourses.Add(new Course("User Experience Design"));
            exampleCohort._requiredCourses.Add(new Course("Medienökonomie"));
            exampleCohort._requiredCourses.Add(new Course("Marketing"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);

            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "MIB";
            exampleCohort._semester         = Semester.Fourth;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("Grafische Datenverarbeitung"));
            exampleCohort._requiredCourses.Add(new Course("Softwaredesign Seminar"));
            exampleCohort._requiredCourses.Add(new Course("Softwaredesign Praktikum"));
            exampleCohort._requiredCourses.Add(new Course("Kommunikationssysteme"));
            exampleCohort._requiredCourses.Add(new Course("Projektmanagement"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);

            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "MIB";
            exampleCohort._semester         = Semester.Fifth;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("Datenverarbeitung"));
            exampleCohort._requiredCourses.Add(new Course("Verteilte Anwendungen"));
            exampleCohort._requiredCourses.Add(new Course("Digitale AV-Technik"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);


            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "MKB";
            exampleCohort._semester         = Semester.First;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("Audiotechnik"));
            exampleCohort._requiredCourses.Add(new Course("BWL"));
            exampleCohort._requiredCourses.Add(new Course("Planspiel"));
            exampleCohort._requiredCourses.Add(new Course("Medienanalyse"));
            exampleCohort._requiredCourses.Add(new Course("Medienkonzeption"));
            exampleCohort._requiredCourses.Add(new Course("Videotechnik"));
            exampleCohort._requiredCourses.Add(new Course("Medienpsychologie"));
            exampleCohort._requiredCourses.Add(new Course("Entwicklung interaktiver Anwendungen"));
            exampleCohort._requiredCourses.Add(new Course("Mediengestaltung"));
            exampleCohort._requiredCourses.Add(new Course("Medientechnik"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);

            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "MKB";
            exampleCohort._semester         = Semester.Fourth;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("E-Learning Vorlesung"));
            exampleCohort._requiredCourses.Add(new Course("E-Learning Praktikum"));
            exampleCohort._requiredCourses.Add(new Course("Konzeption"));
            exampleCohort._requiredCourses.Add(new Course("Ideenentwicklung"));
            exampleCohort._requiredCourses.Add(new Course("Creative Writing"));
            exampleCohort._requiredCourses.Add(new Course("Storytelling"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);

            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "MKB";
            exampleCohort._semester         = Semester.Fifth;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("Operatives Marketing"));
            exampleCohort._requiredCourses.Add(new Course("Kommunikationswirtschaft"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);

            exampleCohort                   = new StudentCohort();
            exampleCohort.Name              = "OMB";
            exampleCohort._semester         = Semester.Fourth;
            exampleCohort._numberOfStudents = 1;
            exampleCohort._requiredCourses.Add(new Course("Webtechnologien"));
            exampleCohort._requiredCourses.Add(new Course("Responsive Webdesign"));
            exampleCohort._requiredCourses.Add(new Course("Projektstudium"));
            exampleCohort._requiredCourses.Add(new Course("E-Business"));
            exampleCohort._requiredCourses.Add(new Course("Webtechnologien Praktikum"));
            exampleCohort._requiredCourses.Add(new Course("Medienwirtschaft"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);

            exampleCohort           = new StudentCohort();
            exampleCohort.Name      = "OMB";
            exampleCohort._semester = Semester.Fifth;
            exampleCohort._requiredCourses.Add(new Course("Interface Design Vorlesung"));
            exampleCohort._requiredCourses.Add(new Course("Interface Design Praktikum"));
            exampleCohort._requiredCourses.Add(new Course("Streaming-Anwendungen Praktikum"));
            exampleCohort._requiredCourses.Add(new Course("Streaming-Anwendungen Vorlesung"));
            exampleCohort._requiredCourses.Add(new Course("E-Business"));
            exampleCohort._requiredCourses.Add(new Course("Webtechnologien Praktikum"));
            DataCatalogueService.CurrentStudentCohorts.Add(exampleCohort);



            Lecturer exampleLecturer;

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Reusch";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Sixth_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Thursday, TimeBlocks.Second_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Friday, TimeBlocks.Fourth_Block));
            exampleLecturer._teachingCourses.Add(new Course("Audiotechnik", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("Videotechnik", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Schneider";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Wednesday, TimeBlocks.First_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Friday, TimeBlocks.First_Block));
            exampleLecturer._teachingCourses.Add(new Course("Mathematik und Simulation", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Herbststreit";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Friday, TimeBlocks.Third_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Monday, TimeBlocks.Second_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Thursday, TimeBlocks.Fourth_Block));
            exampleLecturer._teachingCourses.Add(new Course("BWL", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Planspiel", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Friess";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Wednesday, TimeBlocks.First_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Monday, TimeBlocks.Third_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Thursday, TimeBlocks.Fifth_Block));
            exampleLecturer._teachingCourses.Add(new Course("Medienanalyse", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Medienkonzeption", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Mediengestaltung", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Konzeption", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("Ideenentwicklung", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Timmalog";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Monday, TimeBlocks.Third_Block));
            exampleLecturer._teachingCourses.Add(new Course("Entwicklung interaktiver Anwendungen", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Waldowski";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Fifth_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Fourth_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Sixth_Block));
            exampleLecturer._teachingCourses.Add(new Course("Medientechnik", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Grafische Datenverarbeitung", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Dufner";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Sixth_Block));
            exampleLecturer._teachingCourses.Add(new Course("GIS", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Dittler";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Friday, TimeBlocks.Sixth_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Friday, TimeBlocks.Fifth_Block));
            exampleLecturer._teachingCourses.Add(new Course("Medienpsychologie", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("E-Learning Vorlesung", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("E-Learning Praktikum", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Ruf";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Second_Block));
            exampleLecturer._teachingCourses.Add(new Course("Creative Writing", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Storytelling", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Pietsch";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Wednesday, TimeBlocks.First_Block));
            exampleLecturer._teachingCourses.Add(new Course("Projektmanagement", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Operatives Marketing", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Projektstudium", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("E-Business", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Anders";
            exampleLecturer._teachingCourses.Add(new Course("Webtechnologien", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Webtechnologien Praktikum", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Zydorek";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Second_Block));
            exampleLecturer._teachingCourses.Add(new Course("Medienwirtschaft", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("Kommunikationswirtschaft", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Medienökonomie", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Marketing", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Engenhart";
            exampleLecturer._teachingCourses.Add(new Course("Interface Design Vorlesung", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Interface Design Praktikum", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Hottong";
            exampleLecturer._teachingCourses.Add(new Course("Streaming-Anwendungen Praktikum", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Streaming-Anwendungen Vorlesung", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("Digitale AV-Technik", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Krach";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Tuesday, TimeBlocks.Second_Block));
            exampleLecturer._teachingCourses.Add(new Course("Responsive Webdesign", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("User Experience Design", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Mueller";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Monday, TimeBlocks.Fifth_Block));
            exampleLecturer._teachingCourses.Add(new Course("Computergrafik", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("3D Modellierung", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer._teachingCourses.Add(new Course("Datenverarbeitung", CourseTypes.Mandatory, InstituteEquipment.None));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);

            exampleLecturer      = new Lecturer();
            exampleLecturer.Name = "Dell'Oro";
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Sprechstunde", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Monday, TimeBlocks.First_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Thursday, TimeBlocks.First_Block));
            exampleLecturer._unavailabilityTimes.Add(new ScheduleEntry(new Course("Abwesend", CourseTypes.Unspecified, InstituteEquipment.None), WorkDays.Friday, TimeBlocks.Sixth_Block));
            exampleLecturer._teachingCourses.Add(new Course("Softwaredesign Seminar", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("Softwaredesign Praktikum", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer._teachingCourses.Add(new Course("Verteilte Anwendungen", CourseTypes.Mandatory, InstituteEquipment.Smart_Board));
            exampleLecturer.SetUnavailibilityTimesInSchedule();
            DataCatalogueService.CurrentlyEmployedLecturers.Add(exampleLecturer);
        }