new StationFeedDepartureStatus( status, delay, estDeparture, track [, remarks ] )

Description

Station Feed Departure Status

Real-time Status Information about a departure from a Stop. Used by the StationFeedDeparture Class.

To access this Class directly:

const core = require('right-track-core');
			const SF = core.classes.StationFeed;
			const StationFeedDepartureStatus = SF.StationFeedDepartureStatus;
			
Parameters
Name Type Attributes Description
status string

Status label

delay int

Delay of departure (minutes)

estDeparture DateTime

DateTime of estimated departure

track string | StationFeedDepartureStatus~Track

Departure Track (or departure track properties: track, scheduled, changed)

remarks string <optional>

Additional Remarks

Members


status :string

Description

The departing Trip's Status


delay :Number

Description

The departing Trip's Delay (in minutes)


estDeparture :DateTime

Description

The Date/Time of the estimated departure of the Trip


track :StationFeedDepartureStatus~Track

Description

The departing Trip's track properties


remarks :string

Description

Additional remarks for the departing Trip

Type Definitions


Track

Description

Departure track properties

Properties
Name Type Attributes Description
track string

The departure track

scheduled boolean <optional>

Flag for a scheduled track (not yet decided)

changed changed <optional>

Flag for a changed track