Example #1
0
 /// <summary>
 /// Create a new empty station and associate it with the given timetable.
 /// </summary>
 public Station(Timetable tt) : base("sta", tt)
 {
     Tracks = new ObservableChildrenCollection <Track>(this, "track", ParentTimetable);
 }
Example #2
0
 /// <inheritdoc />
 public Station(XMLEntity en, Timetable tt) : base(en, tt)
 {
     Positions.TestForErrors();
     Tracks = new ObservableChildrenCollection <Track>(this, "track", ParentTimetable);
 }