public Schedule(Train train, Station station) { m_Train = train; m_Station = station; m_Days = new List <eDaysOfService>(); m_Direction = eScheduleDirection.Unknown; m_Handling = eHandling.Unknown; IsUnscheduled = true; }
public Schedule(Train train, LeibitTime arrival, LeibitTime departure, Track track, List <eDaysOfService> days, eScheduleDirection direction, eHandling handling, string remark) { m_Train = train; m_Arrival = arrival; m_Departure = departure; m_Track = track; m_Days = days; m_Direction = direction; m_Handling = handling; m_Remark = remark; if (m_Train != null) { m_Train.AddSchedule(this); } if (m_Track != null) { m_Track.Station.Schedules.Add(this); m_Station = m_Track.Station; } }
public Schedule(Train train, LeibitTime arrival, LeibitTime departure, Track track, List <eDaysOfService> days, eScheduleDirection direction, eHandling handling, string remark, string localOrders) : this(train, arrival, departure, track, days, direction, handling, remark) { m_LocalOrders = localOrders; }