Class TrainEvent
- Namespace
- DotBahn.Timetables.Models
- Assembly
- DotBahn.Timetables.dll
Represents an arrival or departure event at a station
public class TrainEvent
- Inheritance
-
TrainEvent
- Inherited Members
Constructors
TrainEvent()
public TrainEvent()
Properties
DistantEndpoint
Planned distant endpoint.
public required ChangedRef<string> DistantEndpoint { get; init; }
Property Value
Messages
Messages associated with this event
public IReadOnlyList<TimetableMessage> Messages { get; init; }
Property Value
Path
Planned path as a sequence of station names.
public ChangedRef<IEnumerable<string>> Path { get; init; }
Property Value
Platform
The platform this event occurs on
public required ChangedRef<string> Platform { get; init; }
Property Value
Status
The event status
public required ChangedValue<EventStatus> Status { get; init; }
Property Value
Time
The time of this event
public required ChangedValue<DateTime> Time { get; init; }
Property Value
Wings
Wing train IDs. A list of trip IDs for coupled trains (train portions)
public IReadOnlyList<string> Wings { get; init; }