Свойство | Type | Description | |
---|---|---|---|
GetDistance | double |
Méthode | Description | |
---|---|---|
CalcPrice ( ) : decimal |
Calculates price by list of coordinates coordinatesHistory
|
|
CountOfMinutes ( System.DateTime start, System.DateTime end ) : double |
Calculate namber of minutes between two timepoints
|
|
CountOfMinutes ( System.DateTime start, System.DateTime end ) : float | ||
DizableWaitingTime ( ) : void | ||
EnableWaitingTime ( ) : void | ||
PriceCounter ( ) : System | ||
PriceCounter ( List |
||
PriceCounter ( float minPrice, float startPrice, float oneMinuteCost, float waitingCost ) : System | ||
StartCounter ( ) : void | ||
StopCounter ( ) : float |
Méthode | Description | |
---|---|---|
GetDistance ( double PreLatitude, double PreLongitude, double CurLatitude, double CurLongitude ) : double |
Calculate count of kilometers between two geogragic points
|
public CountOfMinutes ( System.DateTime start, System.DateTime end ) : double | ||
start | System.DateTime | |
end | System.DateTime | |
Résultat | double |
public CountOfMinutes ( System.DateTime start, System.DateTime end ) : float | ||
start | System.DateTime | |
end | System.DateTime | |
Résultat | float |
public PriceCounter ( List |
||
coordinatesHistory | List |
|
tarifes | List |
|
Résultat | System |
public PriceCounter ( float minPrice, float startPrice, float oneMinuteCost, float waitingCost ) : System | ||
minPrice | float | |
startPrice | float | |
oneMinuteCost | float | |
waitingCost | float | |
Résultat | System |