C# 클래스 TrolleyTracker.Models.StopArrivalTime

파일 보기 프로젝트 열기: codeforgreenville/trolley-tracker-api-dot-net

공개 메소드들

메소드 설명
GetStopSummaryWithArrivalTimes ( int stopId ) : StopSummary
Initialize ( ) : void
UpdateTrolleyStopArrivalTime ( Trolley trolley ) : void

Check and record time seen at each stop

비공개 메소드들

메소드 설명
CheckForStopInRange ( Trolley trolley, Coordinate currentLocation ) : void

Check for stop proximity - try to minimize number of polled stops - First preference is the previous stop Then loop through all stops

UpdateStopList ( ) : void

Get local stop list structure. Stops don't change frequently, so this needs to be updated only once per hour or so

UpdateStopTime ( Trolley trolley ) : void

메소드 상세

GetStopSummaryWithArrivalTimes() 공개 정적인 메소드

public static GetStopSummaryWithArrivalTimes ( int stopId ) : StopSummary
stopId int
리턴 TrolleyTracker.ViewModels.StopSummary

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

UpdateTrolleyStopArrivalTime() 공개 정적인 메소드

Check and record time seen at each stop
public static UpdateTrolleyStopArrivalTime ( Trolley trolley ) : void
trolley Trolley
리턴 void