C# Класс API.WebClients.TransitClient

Merges data obtained from Connexionz and Google Transit and makes it ready for delivery to clients.
Наследование: ITransitClient
Показать файл Открыть проект

Открытые методы

Метод Описание
CreatePlatformTags ( ) : int>.Dictionary

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

CreateRoutes ( ) : List
CreateSchedule ( ) : ServerBusSchedule

Creates a bus schedule based on Google Transit data.

CreateStaticData ( ) : BusStaticData
CreateStops ( ) : List
GetEta ( int platformTag ) : Task

Приватные методы

Метод Описание
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
ShouldAppendDirection ( ConnexionzPlatform platform, List platforms ) : bool

Описание методов

CreatePlatformTags() публичный Метод

Maps a platform number (5-digit number shown on real bus stop signs) to a platform tag (3-digit internal Connexionz identifier).
public CreatePlatformTags ( ) : int>.Dictionary
Результат int>.Dictionary

CreateRoutes() публичный Метод

public CreateRoutes ( ) : List
Результат List

CreateSchedule() публичный Метод

Creates a bus schedule based on Google Transit data.
public CreateSchedule ( ) : ServerBusSchedule
Результат ServerBusSchedule

CreateStaticData() публичный Метод

public CreateStaticData ( ) : BusStaticData
Результат API.Models.BusStaticData

CreateStops() публичный Метод

public CreateStops ( ) : List
Результат List

GetEta() публичный Метод

public GetEta ( int platformTag ) : Task
platformTag int
Результат Task