| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Icao.OtherInformation
Contents
Description
ICAO Field Type 18 - Other information.
This field is a collection of switches all optional, use the withXXXX function to
build a new instance starting from emptyOtherInformation.
- data OtherInformation = OtherInformation {
- specicalHandlingReason :: Maybe SpecicalHandlingReason
- pbnCapabilities :: [PbnCapabilityCode]
- navigationEquipments :: Maybe FreeText
- communicationEquipments :: Maybe FreeText
- dataCommunicationEquipments :: Maybe FreeText
- surveillanceEquipments :: Maybe FreeText
- departure :: Maybe SignificantPoint
- destination :: Maybe SignificantPoint
- dof :: Maybe Date
- registration :: Maybe FreeText
- eets :: [EstimatedElapsedTime]
- selCalCode :: Maybe SelCalCode
- data PbnCapabilityCode
- data SpecicalHandlingReason
- data EstimatedElapsedTime = EstimatedElapsedTime {}
- data SelCalCode
- emptyOtherInformation :: OtherInformation
- withSpecialHandlingReason :: SpecicalHandlingReason -> OtherInformation -> OtherInformation
- withPbnCapabilities :: [PbnCapabilityCode] -> OtherInformation -> OtherInformation
- withNavigationEquipments :: FreeText -> OtherInformation -> OtherInformation
- withCommunicationEquipments :: FreeText -> OtherInformation -> OtherInformation
- withDataCommunicationEquipments :: FreeText -> OtherInformation -> OtherInformation
- withSurveillanceEquipments :: FreeText -> OtherInformation -> OtherInformation
- withDeparture :: SignificantPoint -> OtherInformation -> OtherInformation
- withDestination :: SignificantPoint -> OtherInformation -> OtherInformation
- withDof :: Date -> OtherInformation -> OtherInformation
- withRegistration :: FreeText -> OtherInformation -> OtherInformation
- withEstimatedElapsedTimes :: [EstimatedElapsedTime] -> OtherInformation -> OtherInformation
- withSelCalCode :: SelCalCode -> OtherInformation -> OtherInformation
- mkSelCalCode :: MonadFail m => String -> m SelCalCode
Data
data OtherInformation Source #
Other information.
Constructors
| OtherInformation | |
Fields
| |
Instances
data PbnCapabilityCode Source #
Code describing PBN (Performance Base Navigation) capabilities. Provides both RNAV (Area Navigation) and RNP (Required Navigation Performance) capabilities. https://en.wikipedia.org/wiki/Area_navigation https://en.wikipedia.org/wiki/Required_navigation_performance
Constructors
| A1 | RNAV 10 (RNP 10) |
| B1 | RNAV 5 all permitted sensors |
| B2 | RNAV 5 GNSS |
| B4 | RNAV 5 VOR/DME |
| B3 | RNAV 5 DME/DME |
| B5 | RNAV 5 INS or IRS |
| B6 | RNAV 5 LORANC |
| C1 | RNAV 2 all permitted sensors |
| C2 | RNAV 2 GNSS |
| C3 | RNAV 2 DME/DME |
| C4 | RNAV 2 DMEDMEIRU |
| D1 | RNAV 1 all permitted sensors |
| D2 | RNAV 1 GNSS |
| D3 | RNAV 1 DME/DME |
| D4 | RNAV 1 DMEDMEIRU | RNP |
| L1 | RNP 4 |
| O1 | Basic RNP 1 all permitted sensors |
| O2 | Basic RNP 1 GNSS |
| O3 | Basic RNP 1 DME/DME |
| O4 | Basic RNP 1 DMEDMEIRU |
| S1 | RNP APCH |
| S2 | RNP APCH with BAR-VNAV |
| T1 | RNP AR APCH with RF (special authorization required) |
| T2 | RNP AR APCH without RF (special authorization required |
data SpecicalHandlingReason Source #
Reason for special handling.
Constructors
| ALTRV | for a flight operated in accordance with an altitude reservation. |
| ATFMX | for a flight approved for exemption from ATFM measures by the appropriate ATS authority. |
| FFR | fire-fighting. |
| FLTCK | flight check for calibration of navaids. |
| HAZMAT | for a flight carrying hazardous material. |
| HEAD | a flight with Head of State status. |
| HOSP | for a medical flight declared by medical authorities. |
| HUM | for a flight operating on a humanitarian mission. |
| MARSA | for a flight for which a military entity assumes responsibility for separation of military aircraft. |
| MEDEVAC | for a life critical medical emergency evacuation. |
| NONRVSM | for a non-RVSM capable flight intending to operate in RVSM airspace. |
| SAR | for a flight engaged in a search and rescue mission. |
| STATE | for a flight engaged in military, customs or police services. |
data EstimatedElapsedTime Source #
A Significant point or FIR boundary designator and the accumulated estimated elapsed time from take-off.
Constructors
| EstimatedElapsedTime | |
Fields
| |
Instances
data SelCalCode Source #
Selective radio calling (SELCAL or SelCal) Code. The code is a sequence of four letters, written or transmitted as an ordered two sets of two letters each (e.g., AB-CD). Valid letter are A through S, excluding I, N and O. The letters within a given pair are written or transmitted in alphabetical order (e.g., AB-CD is an allowable distinct SELCAL code, as is CD-AB, but CD-BA is not). A given letter can be used only once in a SELCAL code; letters may not be repeated (e.g., AB-CD is allowable, but AA-BC and AB-BC are not).
Instances
Builders
emptyOtherInformation :: OtherInformation Source #
Returns empty OtherInformation.
withSpecialHandlingReason :: SpecicalHandlingReason -> OtherInformation -> OtherInformation Source #
Sets the reason for special handling.
withPbnCapabilities :: [PbnCapabilityCode] -> OtherInformation -> OtherInformation Source #
Sets the performance based capabilities.
withNavigationEquipments :: FreeText -> OtherInformation -> OtherInformation Source #
Sets the navigation equipments.
withCommunicationEquipments :: FreeText -> OtherInformation -> OtherInformation Source #
Sets the communication equipments.
withDataCommunicationEquipments :: FreeText -> OtherInformation -> OtherInformation Source #
Sets the data communication equipments.
withSurveillanceEquipments :: FreeText -> OtherInformation -> OtherInformation Source #
Sets the surveillance equipments.
withDeparture :: SignificantPoint -> OtherInformation -> OtherInformation Source #
Sets the departure location.
withDestination :: SignificantPoint -> OtherInformation -> OtherInformation Source #
Sets the destination location.
withDof :: Date -> OtherInformation -> OtherInformation Source #
Sets the date of flight.
withRegistration :: FreeText -> OtherInformation -> OtherInformation Source #
Sets the aircraft registration.
withEstimatedElapsedTimes :: [EstimatedElapsedTime] -> OtherInformation -> OtherInformation Source #
Sets the accumulated estimated elapsed times to location and/or FIR boundaries.
withSelCalCode :: SelCalCode -> OtherInformation -> OtherInformation Source #
Sets the SELCAL code.
Smart constructors
mkSelCalCode :: MonadFail m => String -> m SelCalCode Source #
SelCalCode smart constructor. Fails if given string is not a valid
SELCAL code.