new cercalia.service.LogisticsRouting(options)
Routing Logistics Service constructor
Name | Type | Description |
---|---|---|
options |
cercaliax.service.LogisticsRoutingOptions |
Methods
-
calculateRoute(callbackFn)
-
Calculates the route specifying a callback function to be executed when obtains the response
Name Type Description callbackFn
function -
Resets the values to null
-
getClass(){string}
-
Returns the object type.
-
getTRStart(){number}
-
Get the restriction time start.
Returns:
Restriction time start.
-
getVAxleWeight(){number}
-
Get the vehicle axel weight.
Returns:
Vehicle axel weight.
-
getVHeight(){number}
-
Get the vehicle height.
Returns:
Vehicle height.
-
getVLength(){number}
-
Get the vehicle length.
Returns:
Vehicle length.
-
getVMaxVel(){number}
-
Get the vehicle maximum speed.
Returns:
Vehicle maximum speed.
-
getVWeight(){number}
-
Get the vehicle weight.
Returns:
Vehicle weight.
-
getVWidth(){number}
-
Get the vehicle width.
Returns:
Vehicle width.
-
setTRStart(trstart)
-
Set the restriction time start.
Name Type Description trstart
number Restriction time start.
-
setVAxleWeight(vaxleweight)
-
Set the vehicle axel weight.
Name Type Description vaxleweight
number Vehicle axel weight.
-
setVHeight(vheight)
-
Set the vehicle height.
Name Type Description vheight
number Vehicle height.
-
setVLength(vlength)
-
Set the vehicle length.
Name Type Description vlength
number Vehicle length.
-
setVMaxVel(vmaxvel)
-
Set the vehicle maximum speed.
Name Type Description vmaxvel
number Vehicle maximum speed.
-
setVWeight(vweight)
-
Set the vehicle weight.
Name Type Description vweight
number Vehicle weight.
-
setVWidth(vwidth)
-
Set the vehicle width.
Name Type Description vwidth
number Vehicle width.