C# 클래스 CorvallisBusCoreNetCore.WebClients.TransitClient

Merges data obtained from Connexionz and Google Transit and makes it ready for delivery to clients.
상속: ITransitClient
파일 보기 프로젝트 열기: RikkiGibson/Corvallis-Bus-Server

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CreatePlatformTagsAsync() 공개 메소드

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
리턴 int>>.Task

CreateRoutesAsync() 공개 메소드

public CreateRoutesAsync ( ) : Task>
리턴 Task>

CreateScheduleAsync() 공개 메소드

Creates a bus schedule based on Google Transit data.
public CreateScheduleAsync ( ) : Task
리턴 Task

CreateStaticDataAsync() 공개 메소드

public CreateStaticDataAsync ( ) : Task
리턴 Task

CreateStopsAsync() 공개 메소드

public CreateStopsAsync ( ) : Task>
리턴 Task>

GetEtaAsync() 공개 메소드

public GetEtaAsync ( int platformTag ) : Task
platformTag int
리턴 Task