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.TimeTable.TimeTableRecord Class Reference

Represents the Raw timetable object data you get from the Timetabled Journeys and Tracking History APIs. More...

Inheritance diagram for ReadingBusesAPI.TimeTable.TimeTableRecord:
ReadingBusesAPI.TimeTable.ArchivedBusTimeTable ReadingBusesAPI.TimeTable.BusTimeTable

Classes

class ParseBusStopConverter
Converts a bus stop acto-code into a 'BusStop' Object and back again for the JSON converter. More...
class ParseDirectionConverter
Converts a string into a Direction Enum and back again for the JSON converter. More...
class ParseTimingPointConverter
Converts a string into a boolean and back again for the JSON converter. More...

Public Member Functions

BusService GetService ()
Gets the related 'BusService' object relating to the time table record. More...

Package Functions

TimeTableRecord ()
Default constructor, to block creating objects directly. More...

Properties

string ServiceNumber [get, set]
The service number of the bus. More...
Company Operator [get, set]
The operator of the bus services More...
BusStop Location [get, set]
The 'BusStop' object for the stop relating to the time table record.. More...
long Sequence [get, set]
What number bus stop is this in the buses route, ie 1, is the first stop to visit. More...
Direction Direction [get, set]
Is this bus heading inbound or outbound. More...
string JourneyCode [get, set]
bool IsTimingPoint [get, set]
DateTime SchArrivalTime [get, set]
The scheduled arrival time for the bus. More...
DateTime SchDepartureTime [get, set]
The scheduled departure time for the bus. More...

Detailed Description

Represents the Raw timetable object data you get from the Timetabled Journeys and Tracking History APIs.

Constructor & Destructor Documentation

TimeTableRecord()

ReadingBusesAPI.TimeTable.TimeTableRecord.TimeTableRecord ( )
package

Default constructor, to block creating objects directly.

Member Function Documentation

GetService()

BusService ReadingBusesAPI.TimeTable.TimeTableRecord.GetService ( )

Gets the related 'BusService' object relating to the time table record.

Returns
A 'BusService' object for this time table record.

Property Documentation

Direction

Direction ReadingBusesAPI.TimeTable.TimeTableRecord.Direction
get set

Is this bus heading inbound or outbound.

IsTimingPoint

bool ReadingBusesAPI.TimeTable.TimeTableRecord.IsTimingPoint
get set

Is this bus stop a timing point or not.

A timing point is a major bus stop, where the buses is expected to wait if its early and should actually arrive on the scheduled time. All non-timing points times are only estimated scheduled times. A timing point is much more accurate and strict timings.

JourneyCode

string ReadingBusesAPI.TimeTable.TimeTableRecord.JourneyCode
get set

A unique value that groups a selection of time table records across different bus stops to show one loop/ cycle of a bus services route.

Location

BusStop ReadingBusesAPI.TimeTable.TimeTableRecord.Location
get set

The 'BusStop' object for the stop relating to the time table record..

Operator

Company ReadingBusesAPI.TimeTable.TimeTableRecord.Operator
get set

The operator of the bus services

SchArrivalTime

DateTime ReadingBusesAPI.TimeTable.TimeTableRecord.SchArrivalTime
get set

The scheduled arrival time for the bus.

SchDepartureTime

DateTime ReadingBusesAPI.TimeTable.TimeTableRecord.SchDepartureTime
get set

The scheduled departure time for the bus.

Sequence

long ReadingBusesAPI.TimeTable.TimeTableRecord.Sequence
get set

What number bus stop is this in the buses route, ie 1, is the first stop to visit.

ServiceNumber

string ReadingBusesAPI.TimeTable.TimeTableRecord.ServiceNumber
get set package

The service number of the bus.


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