Hazmat Settings
fun HazmatSettings(class1: Boolean, class2: Boolean, class3: Boolean, class4: Boolean, class5: Boolean, class6: Boolean, class7: Boolean, class8: Boolean, class9: Boolean, classI: Boolean, tunnelCategory: HazmatSettings.HazmatTunnelCategory)
fun HazmatSettings(isGeneralHazardousMaterial: Boolean, isExplosiveMaterial: Boolean, isGoodsHarmfulToWater: Boolean)
Constructor
Parameters
is General Hazardous Material
Restrictions: class 1-9, I, tunnel category b-e
is Explosive Material
Restrictions: class 1-5, tunnel category b-e
is Goods Harmful To Water
Restrictions: class 3-6, 8, 9, tunnel category b-e