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 callbackFnfunction -
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 trstartnumber Restriction time start.
-
setVAxleWeight(vaxleweight)
-
Set the vehicle axel weight.
Name Type Description vaxleweightnumber Vehicle axel weight.
-
setVHeight(vheight)
-
Set the vehicle height.
Name Type Description vheightnumber Vehicle height.
-
setVLength(vlength)
-
Set the vehicle length.
Name Type Description vlengthnumber Vehicle length.
-
setVMaxVel(vmaxvel)
-
Set the vehicle maximum speed.
Name Type Description vmaxvelnumber Vehicle maximum speed.
-
setVWeight(vweight)
-
Set the vehicle weight.
Name Type Description vweightnumber Vehicle weight.
-
setVWidth(vwidth)
-
Set the vehicle width.
Name Type Description vwidthnumber Vehicle width.