StationFeedDepartureStatus

StationFeedDepartureStatus

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 SF = require('right-track-agency/src/StationFeed');
const StationFeedDepartureStatus = SF.StationFeedDepartureStatus;

Constructor

new StationFeedDepartureStatus(status, delay, estDeparture, track, remarksopt)

Source:

Station Feed Departure Status Constructor

Parameters:
Name Type Attributes Description
status string

Status label

delay int

Delay of departure (minutes)

estDeparture DateTime

DateTime of estimated departure

track string

Departure Track

remarks string <optional>

Additional Remarks

Members

delay :Number

Source:

The departing Trip's Delay (in minutes)

Type:
  • Number

estDeparture :DateTime

Source:

The Date/Time of the estimated departure of the Trip

Type:
  • DateTime

remarks :string

Source:

Additional remarks for the departing Trip

Type:
  • string

status :string

Source:

The departing Trip's Status

Type:
  • string

track :string

Source:

The departing Trip's track number

Type:
  • string