fields

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 1 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
}

AircraftCategory is the base type that all Resolution Advisory should implement

type AircraftCategorySetA

type AircraftCategorySetA byte

AircraftCategorySetA defines the type of the AircraftCategory

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 ReadAircraftCategorySetA

func ReadAircraftCategorySetA(data []byte) AircraftCategorySetA

ReadAircraftCategorySetA reads the aircraft category from a 56 bits data field

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

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 ReadAircraftCategorySetB

func ReadAircraftCategorySetB(data []byte) AircraftCategorySetB

ReadAircraftCategorySetB reads the aircraft category from a 56 bits data field

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

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 ReadAircraftCategorySetC

func ReadAircraftCategorySetC(data []byte) AircraftCategorySetC

ReadAircraftCategorySetC reads the aircraft category from a 56 bits data field

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

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 ReadAircraftCategorySetD

func ReadAircraftCategorySetD(data []byte) AircraftCategorySetD

ReadAircraftCategorySetD reads the aircraft category from a 56 bits data field

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

type AircraftIdentification

type AircraftIdentification string

AircraftIdentification is the identification (the name) of an aircraft

func ReadAircraftIdentification

func ReadAircraftIdentification(data []byte) AircraftIdentification

ReadAircraftIdentification reads the aircraft identification from a 56 bits data field

Jump to

Keyboard shortcuts

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