Reading Buses API V3.0.0
A C#, .net Standard Library for the Reading Buses Open Data API (https://reading-opendata.r2p.com/), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.VehiclePositions.VehiclePosition Class Reference

Stores information about historical GPS data on a vehicle. More...

Inheritance diagram for ReadingBusesAPI.VehiclePositions.VehiclePosition:
ReadingBusesAPI.VehiclePositions.LiveVehiclePosition

Public Member Functions

 VehiclePosition ()
 The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update. More...
 
Point GetPoint ()
 Gets the geographical position of the bus. More...
 

Properties

Company Company [get, set]
 Holds the operators enum value. More...
 
string Vehicle [get, set]
 Holds the reference/identifier for the vehicle More...
 
DateTime 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 historical GPS data on a vehicle.

Constructor & Destructor Documentation

◆ VehiclePosition()

ReadingBusesAPI.VehiclePositions.VehiclePosition.VehiclePosition ( )

The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update.

Member Function Documentation

◆ GetPoint()

Point ReadingBusesAPI.VehiclePositions.VehiclePosition.GetPoint ( )

Gets the geographical position of the bus.

Returns
A Point Object for the position of the bus.

Property Documentation

◆ Company

Company ReadingBusesAPI.VehiclePositions.VehiclePosition.Company
getset

Holds the operators enum value.

◆ Latitude

string ReadingBusesAPI.VehiclePositions.VehiclePosition.Latitude
getset

Latitude position of the bus

◆ Longitude

string ReadingBusesAPI.VehiclePositions.VehiclePosition.Longitude
getset

longitude position of the bus

◆ Observed

DateTime ReadingBusesAPI.VehiclePositions.VehiclePosition.Observed
getset

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

◆ Vehicle

string ReadingBusesAPI.VehiclePositions.VehiclePosition.Vehicle
getset

Holds the reference/identifier for the vehicle


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