Represents a set of options related to hazardous material cargo.
More...
#import <SYHazmatSettings.h>
Represents a set of options related to hazardous material cargo.
◆ init
- (nonnull instancetype) init |
|
|
|
Initializes SYHazmatSettings with all classes set to false, tunnel category set to none.
◆ new
+ (nonnull instancetype) new |
|
|
|
Initializes SYHazmatSettings with all classes set to false, tunnel category set to none.
◆ initWithIsGeneralHazardousMaterial:isExplosiveMaterial:isGoodsHarmfulToWater:
- (nonnull instancetype) initWithIsGeneralHazardousMaterial: |
|
(BOOL) |
isGeneralHazardousMaterial |
isExplosiveMaterial: |
|
(BOOL) |
isExplosiveMaterial |
isGoodsHarmfulToWater: |
|
(BOOL) |
isGoodsHarmfulToWater |
|
|
| |
Initializes SYHazmatSettings with a combination of selected presets.
- Parameters
-
isGeneralHazardousMaterial | Restrictions: class 1-9, I, tunnel category E. |
isExplosiveMaterial | Restrictions: class 1-5, tunnel category E. |
isGoodsHarmfulToWater | Restrictions: class 3-6, 8, 9, tunnel category E. |
◆ class1
◆ class2
Class 2 - flammable, compressed, and poisonous gases.
◆ class3
Class 3 - flammable and compressed liquids.
◆ class4
Class 4 - flammable solids, spontaneously combustible materials, and water reactive substances.
◆ class5
Class 5 - oxidizers and organic peroxides.
◆ class6
Class 6 - poisonous (toxic) and infectious substances.
◆ class7
Class 7 - radioactive materials.
◆ class8
Class 8 - corrosive materials.
◆ class9
Class 9 - miscellaneous hazardous materials.
◆ classI
Class I - poisonous inhalation hazards.
◆ tunnelCategory
- (SYHazmatTunnelCategory) tunnelCategory |
|
readwritenonatomicassign |
Represents selected tunnel category.
The documentation for this class was generated from the following file: