fields

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AircraftCategory

type AircraftCategory interface {
	// GetCategorySetName returns the name of the category set
	GetCategorySetName() string
	// ToString returns a basic, but readable, representation of the field
	ToString() string
	// CheckCoherency checks that the Category is coherent
	CheckCoherency() error
}

AircraftCategory is the base type that all Resolution Advisory should implement

Specified in Doc 9871 / Table A-2-8

type AircraftCategorySetA

type AircraftCategorySetA byte

AircraftCategorySetA defines the type of the AircraftCategory

Specified in Doc 9871 / Table A-2-8

const (
	// ACSANoCategory indicates No aircraft category information
	ACSANoCategory AircraftCategorySetA = 0
	// ACSALight indicates Light (< 15 500 lbs or 7 031 kg)
	ACSALight AircraftCategorySetA = 1
	// ACSAMedium1 indicates (>15 500 to 75 000 lbs, or 7 031 to 34 019 kg)
	ACSAMedium1 AircraftCategorySetA = 2
	// ACSAMedium2 indicates (>75 000 to 300 000 lbs, or 34 019 to 136 078 kg)
	ACSAMedium2 AircraftCategorySetA = 3
	// ACSAHighVortex indicates High vortex aircraft
	ACSAHighVortex AircraftCategorySetA = 4
	// ACSAHeavy indicates (> 300 000 lbs or 136 078 kg)
	ACSAHeavy AircraftCategorySetA = 5
	// ACSAHighPerformance indicates High performance (> 5g acceleration) and high speed (> 400 kt)
	ACSAHighPerformance AircraftCategorySetA = 6
	// ACSARotorCraft indicates Rotorcraft
	ACSARotorCraft AircraftCategorySetA = 7
)

func (AircraftCategorySetA) CheckCoherency added in v0.6.0

func (category AircraftCategorySetA) CheckCoherency() error

CheckCoherency checks that the Category is coherent

func (AircraftCategorySetA) GetCategorySetName

func (category AircraftCategorySetA) GetCategorySetName() string

GetCategorySetName returns the name of the category set

func (AircraftCategorySetA) ToString

func (category AircraftCategorySetA) ToString() string

ToString returns a basic, but readable, representation of the field

type AircraftCategorySetB

type AircraftCategorySetB byte

AircraftCategorySetB defines the type of the AircraftCategory

Specified in Doc 9871 / Table A-2-8

const (
	// ACSBNoCategory indicates No aircraft category information
	ACSBNoCategory AircraftCategorySetB = 0
	// ACSBGliderSailplane indicates  Glider/sailplane
	ACSBGliderSailplane AircraftCategorySetB = 1
	// ACSBLighterThanAir indicates  Lighter-than-air
	ACSBLighterThanAir AircraftCategorySetB = 2
	// ACSBParachutistSkydiver indicates Parachutist/skydive
	ACSBParachutistSkydiver AircraftCategorySetB = 3
	// ACSBUltralightParaglider indicates Ultralight/hang-glider/paraglider
	ACSBUltralightParaglider AircraftCategorySetB = 4
	// ACSBReserved indicates Reserved
	ACSBReserved AircraftCategorySetB = 5
	// ACSBUnmannedAerialVehicle indicates Unmanned aerial vehicle
	ACSBUnmannedAerialVehicle AircraftCategorySetB = 6
	// ACSBSpace indicates Space/transatmospheric vehicle
	ACSBSpace AircraftCategorySetB = 7
)

func (AircraftCategorySetB) CheckCoherency added in v0.6.0

func (category AircraftCategorySetB) CheckCoherency() error

CheckCoherency checks that the Category is coherent

func (AircraftCategorySetB) GetCategorySetName

func (category AircraftCategorySetB) GetCategorySetName() string

GetCategorySetName returns the name of the category set

func (AircraftCategorySetB) ToString

func (category AircraftCategorySetB) ToString() string

ToString returns a basic, but readable, representation of the field

type AircraftCategorySetC

type AircraftCategorySetC byte

AircraftCategorySetC defines the type of the AircraftCategory

Specified in Doc 9871 / Table A-2-8

const (
	// ACSCNoCategory indicates No aircraft category information
	ACSCNoCategory AircraftCategorySetC = 0
	// ACSCSurfaceEmergency indicates Surface vehicle - emergency vehicle
	ACSCSurfaceEmergency AircraftCategorySetC = 1
	// ACSCSurfaceService indicates Surface vehicle - service vehicle
	ACSCSurfaceService AircraftCategorySetC = 2
	// ACSCFixedOrObstruction indicates Fixed ground or tethered obstruction
	ACSCFixedOrObstruction AircraftCategorySetC = 3
	// ACSCReserved1 indicates Reserved
	ACSCReserved1 AircraftCategorySetC = 4
	// ACSCReserved2 indicates Reserved
	ACSCReserved2 AircraftCategorySetC = 5
	// ACSCReserved3 indicates Reserved
	ACSCReserved3 AircraftCategorySetC = 6
	// ACSCReserved4 indicates Reserved
	ACSCReserved4 AircraftCategorySetC = 7
)

func (AircraftCategorySetC) CheckCoherency added in v0.6.0

func (category AircraftCategorySetC) CheckCoherency() error

CheckCoherency checks that the Category is coherent

func (AircraftCategorySetC) GetCategorySetName

func (category AircraftCategorySetC) GetCategorySetName() string

GetCategorySetName returns the name of the category set

func (AircraftCategorySetC) ToString

func (category AircraftCategorySetC) ToString() string

ToString returns a basic, but readable, representation of the field

type AircraftCategorySetD

type AircraftCategorySetD byte

AircraftCategorySetD defines the type of the AircraftCategory

Specified in Doc 9871 / Table A-2-8

const (
	// ACSDReserved0 indicates Reserved
	ACSDReserved0 AircraftCategorySetD = 0
	// ACSDReserved1 indicates Reserved
	ACSDReserved1 AircraftCategorySetD = 1
	// ACSDReserved2 indicates Reserved
	ACSDReserved2 AircraftCategorySetD = 2
	// ACSDReserved3 indicates Reserved
	ACSDReserved3 AircraftCategorySetD = 3
	// ACSDReserved4 indicates Reserved
	ACSDReserved4 AircraftCategorySetD = 4
	// ACSDReserved5 indicates Reserved
	ACSDReserved5 AircraftCategorySetD = 5
	// ACSDReserved6 indicates Reserved
	ACSDReserved6 AircraftCategorySetD = 6
	// ACSDReserved7 indicates Reserved
	ACSDReserved7 AircraftCategorySetD = 7
)

func (AircraftCategorySetD) CheckCoherency added in v0.6.0

func (category AircraftCategorySetD) CheckCoherency() error

CheckCoherency checks that the Category is coherent

func (AircraftCategorySetD) GetCategorySetName

func (category AircraftCategorySetD) GetCategorySetName() string

GetCategorySetName returns the name of the category set

func (AircraftCategorySetD) ToString

func (category AircraftCategorySetD) ToString() string

ToString returns a basic, but readable, representation of the field

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL