/// <param name="origin">API response that was processed to make this statement</param> /// <param name="trainStationId">Identifies the train and its station</param> /// <param name="platform">Platform where the train arrives (can be null if not known or there aren't multiple platforms in the direction)</param> public TrainStationPlatformStatement(APIResponse origin, TrainStationStatement trainStationId, string?platform) : base(origin) { Id = trainStationId; Platform = platform; }
/// <param name="origin">API response that was processed to make this statement</param> /// <param name="trainStationId">Identifies the train and its station</param> /// <param name="isHit">Indicates whether the station was hit</param> public TrainStationHitStatement(APIResponse origin, TrainStationStatement trainStationId, bool isHit) : base(origin) { TrainStationId = trainStationId; IsHit = isHit; }
/// <param name="origin">API response that was processed to make this statement</param> /// <param name="trainStationId">Identifies the train and its station</param> /// <param name="distance">Distance from the start (in kms), null when the station is not domestic (or otherwise not known)</param> public TrainStationDistanceStatement(APIResponse origin, TrainStationStatement trainStationId, int?distance) : base(origin) { Id = trainStationId; Distance = distance; }