This interface represents the specifications of a vehicle of type truck.
Extends
Members
-
An enum containing bitmask values for different types of hazardous materials. Used to specify hazardous materials carried by the truck.
Properties:
Name Description COMBUSTIBLECombustible material.
CORROSIVECorrosive material.
EXPLOSIVEExplosive material.
FLAMMABLEFlammable material.
GASGas.
HARMFUL_TO_WATERMaterials that are harmful to water.
ORGANICOrganic material.
OTHERAny other hazardous material.
POISONPoisonous material.
POISONOUS_INHALATIONMaterials that are poisonous upon inhalation.
RADIOACTIVERadioactive material.
-
An enum containing different types of trucks.
Properties:
Name Description STRAIGHTA truck on a single frame with a permanently attached cargo area.
TRACTORA towing vehicle that can pull one or more semi-trailers (AKA semi-truck.)
-
An enum containing different types of Tunnel Categories, each specifying a cargo tunnel restriction code.
For more information on tunnel categories, please refer to the ADR 2025 - Agreement concerning the International Carriage of Dangerous Goods by Road.
Properties:
Name Description BTunnel Category B.
CTunnel Category C.
DTunnel Category D.
ETunnel Category E.
-
H.service.omv.Provider.ITruckSpecs.VehicleType H.service.omv.Provider.IVehicleSpecs.VehicleType static
-
The type of vehicle.
-
Total number of axles in the vehicle. If this value is not defined, the restriction will not be displayed.
-
Gross vehicle weight in kilograms, including trailers and shipped goods when loaded at capacity. If this value is not defined, the restriction will not be displayed.
-
hazardousMaterial H.math.BitMask.<H.service.omv.Provider.ITruckSpecs.HazardousMaterial> | undefined
-
Specifies a bitmask of hazardous materials carried by the vehicle. If this value is not defined, the restriction will not be displayed.
Note: setting this property will not automatically setup the corresponding tunnel category. It is recommended to set the
tunnelCategoryproperty as well, to ensure that the vehicle profile is checked against the correct tunnel restrictions. -
Total vehicle height in centimeters. If this value is not defined, the restriction will not be displayed.
-
Length from the kingpin to the rear axle, in centimeters. If this value is not defined, the restriction will not be displayed.
-
Total vehicle length in centimeters. If this value is not defined, the restriction will not be displayed.
-
Specifies the list of preferred truck route types. If this value is not defined, all preferred truck routes will be displayed.
For more information on the supported truck route types, please refer to the PreferredRouteType docs page.
Note: displaying preferred truck routes requires the
'truck preferred roads'feature to be enabled. For more information, see the Visualizing vehicle restrictions dev guide page. -
Number of trailers attached to the vehicle. If this value is not defined, the restriction will not be displayed.
-
truckType H.service.omv.Provider.ITruckSpecs.TruckType | undefined
-
Defines the type of truck. If this value is not defined, the restriction will not be displayed.
-
tunnelCategory H.service.omv.Provider.ITruckSpecs.TunnelCategory | undefined
-
Specifies the cargo tunnel restriction code. If this value is not defined, the restriction will not be displayed.
The categories range from
BtoE:- Vehicle's tunnel category set to
B- transport is forbidden through tunnels displaying signs:B,C,DorE - Vehicle's tunnel category set to
C- transport is forbidden through tunnels displaying signs:C,D,E - Vehicle's tunnel category set to
D- transport is forbidden through tunnels displaying signs:D,E - Vehicle's tunnel category set to
E- transport is forbidden through tunnels displaying signEonly
Note: setting this property will not automatically setup the corresponding hazardous materials bitmask. It is recommended to set the
hazardousMaterialproperty as well, to ensure that the vehicle profile is checked against the correct hazardous materials restrictions. - Vehicle's tunnel category set to
-
The type of vehicle.
-
weightPerAxleGroup H.service.omv.Provider.ITruckSpecs.WeightPerAxleGroup | undefined
-
Defines the weight in kilograms of the different axle groups of a truck. If this value is not defined, the restriction will not be displayed.
Note: the axle group weight is not the same as the per-axle weight, which is defined by
weightPerAxleInKilograms, yet in caseweightPerAxleInKilogramsis not defined, the heaviest defined axle group weight will be used against the per-axle weight restrictions. -
Heaviest axle weight in kilograms regardless of axle type or group. If this value is not defined, the restriction will not be displayed.
Note: the per-axle weight is not the same as the axle group weight, which is defined by
weightPerAxleGroup, yet in caseweightPerAxleGroupis not defined,weightPerAxleInKilogramswill be used against the axle group restrictions. -
Total vehicle width in centimeters. If this value is not defined, the restriction will not be displayed.
Interface Definitions
-
Struct which defines the weight of the different axle groups of a truck. The provided values must be greater or equal to 0. Used for filtering axle group weight restrictions.