public Timetable CreateTimetable(string pName, string pContent)
 {
     //Console.WriteLine("CreateTimetable '" + pName + "' with content " + pContent);
     Timetable newTimetable = new Timetable();
     newTimetable.CreateNewRelayEntry(_timetableTable, typeof(Timetable).Name);
     newTimetable.name = pName;
     newTimetable.fileContent = pContent; // this will generate the timetables
     _timetables[pName] = newTimetable;
     return newTimetable;
 }
Beispiel #2
0
 private void RefreshTimetable()
 {
     if(timetableName == "") {
         _timetable = null;
     }
     else {
         _timetable = _timetableRunner.GetTimetable(timetableName);
     }
 }