Syntax
void PCMSSetHazTunnelOption (Trip trip, int hazType)
Parameters
Trip trip – Handle to a trip.
int hazType – Sets the hazmat routing type, using one of these values:
Value |
Route Type |
0 |
None |
8 |
HazType_EUTunnelBCDE |
9 |
HazType_EUTunnelCDE |
10 |
HazType_EUTunnelDE |
11 |
HazType_EUTunnelE |
Description
Sets tunnel restriction categories for hazmat routing in Europe. (PC*MILER|HazMat and PC*MILER|Worldwide must be licensed and installed.)
Return Values
None
Sample Code
// The tunnel with the hazmat restriction also has a 40' (12.192m) length restriction on it. // Set the length below that threshold so only the hazmat setting modifies the route. PCMSSetVehicleConfig(tripEU, 1, -1, -1.0, -1.0, 12.0, -1, -1, -1); PCMSSetHazOption(tripEU, 0); PCMSSetHazTunnelOption(tripEU, 0);
Supported Since: PC*MILER|Connect 28
Category: Trip Options