Свойство | Тип | Описание | |
---|---|---|---|
GetDistance | double |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | double |
public CountOfMinutes ( System.DateTime start, System.DateTime end ) : float | ||
start | System.DateTime | |
end | System.DateTime | |
Результат | float |
public PriceCounter ( List |
||
coordinatesHistory | List |
|
tarifes | List |
|
Результат | System |
public PriceCounter ( float minPrice, float startPrice, float oneMinuteCost, float waitingCost ) : System | ||
minPrice | float | |
startPrice | float | |
oneMinuteCost | float | |
waitingCost | float | |
Результат | System |