-
- All Implemented Interfaces:
public interface TruckInfoProviderThis class defines truck information provider interface
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetAxleProfile(AxleProfile axleProfile)Set the axle profile for the vehicle. abstract AxleProfilegetAxleProfile()Get the axle profile currently set. abstract UnitsetHazardousMaterialTypes(List<HazardousMaterialType> hazardousMaterialTypes)Set hazardous material types for routing restrictions. abstract List<HazardousMaterialType>getHazardousMaterialTypes()Get the list of hazardous material types set for routing restrictions. abstract UnitsetTunnelRestrictionCode(TunnelRestrictionCode tunnelRestrictionCode)Set the tunnel restriction code for routing restrictions. abstract TunnelRestrictionCodegetTunnelRestrictionCode()Get the tunnel restriction code set for routing restrictions. abstract UnitsetTrailerCount(Integer count)Set the number of trailers attached to the vehicle. abstract IntegergetTrailerCount()Get the number of trailers attached to the vehicle. abstract UnitsetTractorType(TractorType tractorType)Set the tractor type for the vehicle. abstract TractorTypegetTractorType()Get the tractor type for the vehicle. -
-
Method Detail
-
setAxleProfile
abstract Unit setAxleProfile(AxleProfile axleProfile)
Set the axle profile for the vehicle.
Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again.
- Parameters:
axleProfile- The axle profile to set.
-
getAxleProfile
abstract AxleProfile getAxleProfile()
Get the axle profile currently set.
-
setHazardousMaterialTypes
abstract Unit setHazardousMaterialTypes(List<HazardousMaterialType> hazardousMaterialTypes)
Set hazardous material types for routing restrictions.
Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again.
- Parameters:
hazardousMaterialTypes- List of hazardous material types defining routing restrictions.
-
getHazardousMaterialTypes
abstract List<HazardousMaterialType> getHazardousMaterialTypes()
Get the list of hazardous material types set for routing restrictions.
-
setTunnelRestrictionCode
abstract Unit setTunnelRestrictionCode(TunnelRestrictionCode tunnelRestrictionCode)
Set the tunnel restriction code for routing restrictions.
Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again
- Parameters:
tunnelRestrictionCode- The tunnel restriction code defining routing restrictions.
-
getTunnelRestrictionCode
abstract TunnelRestrictionCode getTunnelRestrictionCode()
Get the tunnel restriction code set for routing restrictions.
-
setTrailerCount
abstract Unit setTrailerCount(Integer count)
Set the number of trailers attached to the vehicle.
Once navigation has started, changing the TruckInfoProvider will not affect the navigation behavior. To apply changes, please stop the navigation and then start it again
- Parameters:
count- The number of trailers to set.
-
getTrailerCount
abstract Integer getTrailerCount()
Get the number of trailers attached to the vehicle.
-
setTractorType
abstract Unit setTractorType(TractorType tractorType)
Set the tractor type for the vehicle.
- Parameters:
tractorType- : The tractor type to set.
-
getTractorType
abstract TractorType getTractorType()
Get the tractor type for the vehicle.
-
-
-
-