Package 

Interface TruckInfoProvider

  • All Implemented Interfaces:

    
    public interface TruckInfoProvider
    
                        

    This class defines truck information provider interface

    • Constructor Detail

    • 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.
      • 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.
      • 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.
      • 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.
      • setTractorType

         abstract Unit setTractorType(TractorType tractorType)

        Set the tractor type for the vehicle.

        Parameters:
        tractorType - : The tractor type to set.