Class: LogisticsRouting

cercalia.service.LogisticsRouting

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

Returns the object type.

Get the restriction time start.

Returns:
Restriction time start.

getVAxleWeight(){number}

Get the vehicle axel weight.

Returns:
Vehicle axel weight.

Get the vehicle height.

Returns:
Vehicle height.

Get the vehicle length.

Returns:
Vehicle length.

Get the vehicle maximum speed.

Returns:
Vehicle maximum speed.

Get the vehicle weight.

Returns:
Vehicle weight.

Get the vehicle width.

Returns:
Vehicle width.

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.

Set the vehicle height.

Name Type Description
vheight number

Vehicle height.

Set the vehicle length.

Name Type Description
vlength number

Vehicle length.

Set the vehicle maximum speed.

Name Type Description
vmaxvel number

Vehicle maximum speed.

Set the vehicle weight.

Name Type Description
vweight number

Vehicle weight.

Set the vehicle width.

Name Type Description
vwidth number

Vehicle width.