Reading Buses APIV2.1.0
A C#, .net Standard Library for the Reading Buses Open Data API (http://rtl2.ods-live.co.uk/cms/apiservice), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.VehiclePositions.ArchivedPositions Class Reference

Stores information about previous/ archived GPS data on vehicles. More...

Inheritance diagram for ReadingBusesAPI.VehiclePositions.ArchivedPositions:
ReadingBusesAPI.VehiclePositions.LivePosition

Public Member Functions

Point GetPoint ()
Gets the geographical position of the bus. More...

Package Functions

ArchivedPositions ()
The default constructor, which sets the 'LastRetrieval' to current time. More...

Properties

Company OperatorCode [get, set]
Holds the operators enum value. More...
string Vehicle [get, set]
Holds the reference/identifier for the vehicle More...
DateTimeOffset Observed [get, set]
Holds the time it was last seen/ new data was retrieved. More...
string Latitude [get, set]
Latitude position of the bus More...
string Longitude [get, set]
longitude position of the bus More...

Detailed Description

Stores information about previous/ archived GPS data on vehicles.

Constructor & Destructor Documentation

ArchivedPositions()

ReadingBusesAPI.VehiclePositions.ArchivedPositions.ArchivedPositions ( )
package

The default constructor, which sets the 'LastRetrieval' to current time.

Member Function Documentation

GetPoint()

Point ReadingBusesAPI.VehiclePositions.ArchivedPositions.GetPoint ( )

Gets the geographical position of the bus.

Returns
A Point Object for the position of the bus.

Property Documentation

Latitude

string ReadingBusesAPI.VehiclePositions.ArchivedPositions.Latitude
get set

Latitude position of the bus

Longitude

string ReadingBusesAPI.VehiclePositions.ArchivedPositions.Longitude
get set

longitude position of the bus

Observed

DateTimeOffset ReadingBusesAPI.VehiclePositions.ArchivedPositions.Observed
get set

Holds the time it was last seen/ new data was retrieved.

OperatorCode

Company ReadingBusesAPI.VehiclePositions.ArchivedPositions.OperatorCode
get set

Holds the operators enum value.

Vehicle

string ReadingBusesAPI.VehiclePositions.ArchivedPositions.Vehicle
get set

Holds the reference/identifier for the vehicle


The documentation for this class was generated from the following file: