Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeteorologicalHazardReport ¶
type MeteorologicalHazardReport interface { bds.Message // GetTurbulenceStatus is a simple function to discriminate against other packages GetTurbulenceStatus() bool }
func ReadMeteorologicalHazardReport ¶
func ReadMeteorologicalHazardReport(data []byte) (MeteorologicalHazardReport, error)
ReadMeteorologicalHazardReport reads a message at the format MeteorologicalHazardReport
type MeteorologicalHazardReportV0 ¶
type MeteorologicalHazardReportV0 struct { TurbulenceStatus bool Turbulence fields.HazardLevel WindShearStatus bool WindShear fields.HazardLevel MicroBurstStatus bool MicroBurst fields.HazardLevel IcingStatus bool Icing fields.HazardLevel WakeVortexStatus bool WakeVortex fields.HazardLevel StaticAirTemperatureStatus bool StaticAirTemperature float32 AverageStaticPressureStatus bool AverageStaticPressure uint32 RadioHeightStatus bool RadioHeight uint32 }
MeteorologicalHazardReportV0 is a message at the format BDS 4,5
Specified in Doc 9871 / Table A-2-69
func ReadMeteorologicalHazardReportV0 ¶
func ReadMeteorologicalHazardReportV0(data []byte) (*MeteorologicalHazardReportV0, error)
ReadMeteorologicalHazardReportV0 reads a message as a MeteorologicalHazardReportV0
func (MeteorologicalHazardReportV0) CheckCoherency ¶
func (message MeteorologicalHazardReportV0) CheckCoherency() error
CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.
func (MeteorologicalHazardReportV0) GetRegister ¶
func (message MeteorologicalHazardReportV0) GetRegister() register.Register
GetRegister returns the Register the message
func (MeteorologicalHazardReportV0) GetTurbulenceStatus ¶
func (message MeteorologicalHazardReportV0) GetTurbulenceStatus() bool
func (MeteorologicalHazardReportV0) ToString ¶
func (message MeteorologicalHazardReportV0) ToString() string
ToString returns a basic, but readable, representation of the message
type MeteorologicalHazardReportV1 ¶
type MeteorologicalHazardReportV1 struct { WindShearStatus bool WindShear fields.HazardLevel MicroBurstStatus bool MicroBurst fields.HazardLevel IcingStatus bool Icing fields.HazardLevel WakeVortexStatus bool WakeVortex fields.HazardLevel StaticAirTemperatureStatus bool StaticAirTemperature float32 AverageStaticPressureStatus bool AverageStaticPressure uint32 RadioHeightStatus bool RadioHeight uint32 TurbulenceStatus bool TurbulenceAverageEDR float32 TurbulencePeakEDR float32 TurbulencePeakDelayInterval byte }
MeteorologicalHazardReportV1 is a message at the format BDS 4,5
Specified in Doc 9871 / Table E-2-69
func ReadMeteorologicalHazardReportV1 ¶
func ReadMeteorologicalHazardReportV1(data []byte) (*MeteorologicalHazardReportV1, error)
ReadMeteorologicalHazardReportV1 reads a message as a MeteorologicalHazardReportV1
func (MeteorologicalHazardReportV1) CheckCoherency ¶
func (message MeteorologicalHazardReportV1) CheckCoherency() error
CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.
func (MeteorologicalHazardReportV1) GetRegister ¶
func (message MeteorologicalHazardReportV1) GetRegister() register.Register
GetRegister returns the Register the message
func (MeteorologicalHazardReportV1) GetTurbulenceStatus ¶
func (message MeteorologicalHazardReportV1) GetTurbulenceStatus() bool
func (MeteorologicalHazardReportV1) ToString ¶
func (message MeteorologicalHazardReportV1) ToString() string
ToString returns a basic, but readable, representation of the message