C# Class CorvallisBusCoreNetCore.WebClients.TransitClient

Merges data obtained from Connexionz and Google Transit and makes it ready for delivery to clients.
Inheritance: ITransitClient
Afficher le fichier Open project: RikkiGibson/Corvallis-Bus-Server

Méthodes publiques

Méthode Description
CreatePlatformTagsAsync ( ) : int>>.Task

Maps a platform number (5-digit number shown on real bus stop signs) to a platform tag (3-digit internal Connexionz identifier).

CreateRoutesAsync ( ) : Task>
CreateScheduleAsync ( ) : Task

Creates a bus schedule based on Google Transit data.

CreateStaticDataAsync ( ) : Task
CreateStopsAsync ( ) : Task>
GetEtaAsync ( int platformTag ) : Task

Private Methods

Méthode Description
InterpolateSchedule ( ConnexionzRoute connexionzRoute, List schedule ) : List>>.List

Fabricates a bunch of schedule information for a route on a particular day.

RoundToNearestMinute ( System.TimeSpan source ) : System.TimeSpan

Method Details

CreatePlatformTagsAsync() public méthode

Maps a platform number (5-digit number shown on real bus stop signs) to a platform tag (3-digit internal Connexionz identifier).
public CreatePlatformTagsAsync ( ) : int>>.Task
Résultat int>>.Task

CreateRoutesAsync() public méthode

public CreateRoutesAsync ( ) : Task>
Résultat Task>

CreateScheduleAsync() public méthode

Creates a bus schedule based on Google Transit data.
public CreateScheduleAsync ( ) : Task
Résultat Task

CreateStaticDataAsync() public méthode

public CreateStaticDataAsync ( ) : Task
Résultat Task

CreateStopsAsync() public méthode

public CreateStopsAsync ( ) : Task>
Résultat Task>

GetEtaAsync() public méthode

public GetEtaAsync ( int platformTag ) : Task
platformTag int
Résultat Task