Class driver parameters taken into account during routes calculating.
All cost which was set in a driver parameters should be provided in currency which was specified while prescribing an itinerary (by default in PLN)
| EMAPI. | Class driver parameters taken into account during routes calculating. |
| Properties | |
| name | {String} Name or surname of the driver. |
| journeyStartTime | {Float} Time starting a route which is a fractional part of the day, e.g. |
| dayWorkTime | {Float} The driver’s daily working time which is a fractional part of the day, e.g. |
| continuousWorkTime | {Float} The maximum continuous driver’s driving time being a fractional part of the day, e.g. |
| breakTime | {Float} Break time after continuous driving time which is fractional part of the day, e.g. |
| costPerKilometer | {Float} The cost of 1 km of the route made by the driver (default 0.00). |
| costPerHour | {Float}The cost of one hour for the driver (default 0.00). |
| Functions | |
| EMAPI. | The constructor of a new instance of EMAPI.Router.DriverParams class |
| destroy | Destroys an object of EMAPI.Router.DriverParams class. |
Destroys an object of EMAPI.Router.DriverParams class.
destroy: function()