C# Class LondonBike.TripLog

Afficher le fichier Open project: nicwise/londonbikeapp Class Usage Examples

Méthodes publiques

Свойство Type Description
DistanceInMeters int
EndLat double
EndLon double
EndStation string
StartLat double
StartLon double
StartStation string
Ticks long
TimeInSeconds int
currentTripLog TripLog

Méthodes publiques

Méthode Description
GetCurrentLocation ( TripLog currentLog, bool isStart, NSAction onFound ) : void
GetDouble ( string d ) : double
GetInt ( string d ) : int
GetLong ( string d ) : long
MakeDummyData ( ) : void
PersistToDisk ( ) : void
RemoveElementAt ( int row ) : void
ReverseGeocode ( TripLog trip ) : void
SaveCurrentTripLog ( ) : void
SetLocation ( double lat, double lon, bool isStart ) : void
StartNewTripItem ( ) : void
StopTripItem ( int totalTime ) : void
TripLog ( ) : System
TripLog ( string items ) : System

Private Methods

Méthode Description
ReverseGeocode ( double lat, double lon ) : string

Method Details

GetCurrentLocation() public static méthode

public static GetCurrentLocation ( TripLog currentLog, bool isStart, NSAction onFound ) : void
currentLog TripLog
isStart bool
onFound NSAction
Résultat void

GetDouble() public méthode

public GetDouble ( string d ) : double
d string
Résultat double

GetInt() public méthode

public GetInt ( string d ) : int
d string
Résultat int

GetLong() public méthode

public GetLong ( string d ) : long
d string
Résultat long

MakeDummyData() public static méthode

public static MakeDummyData ( ) : void
Résultat void

PersistToDisk() public static méthode

public static PersistToDisk ( ) : void
Résultat void

RemoveElementAt() public static méthode

public static RemoveElementAt ( int row ) : void
row int
Résultat void

ReverseGeocode() public static méthode

public static ReverseGeocode ( TripLog trip ) : void
trip TripLog
Résultat void

SaveCurrentTripLog() public static méthode

public static SaveCurrentTripLog ( ) : void
Résultat void

SetLocation() public méthode

public SetLocation ( double lat, double lon, bool isStart ) : void
lat double
lon double
isStart bool
Résultat void

StartNewTripItem() public static méthode

public static StartNewTripItem ( ) : void
Résultat void

StopTripItem() public static méthode

public static StopTripItem ( int totalTime ) : void
totalTime int
Résultat void

TripLog() public méthode

public TripLog ( ) : System
Résultat System

TripLog() public méthode

public TripLog ( string items ) : System
items string
Résultat System

Property Details

DistanceInMeters public_oe property

public int DistanceInMeters
Résultat int

EndLat public_oe property

public double EndLat
Résultat double

EndLon public_oe property

public double EndLon
Résultat double

EndStation public_oe property

public string EndStation
Résultat string

StartLat public_oe property

public double StartLat
Résultat double

StartLon public_oe property

public double StartLon
Résultat double

StartStation public_oe property

public string StartStation
Résultat string

Ticks public_oe property

public long Ticks
Résultat long

TimeInSeconds public_oe property

public int TimeInSeconds
Résultat int

currentTripLog public_oe static_oe property

public static TripLog,LondonBike currentTripLog
Résultat TripLog