Skip to main content

Class: NavStatusBoxFieldBrgModelFactory

Creates data models for Bearing to Waypoint navigation status box fields.

Implements

Constructors

constructor

new NavStatusBoxFieldBrgModelFactory(bus, lnavIndex?): NavStatusBoxFieldBrgModelFactory

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
lnavIndex?number | Subscribable<number>The index of the LNAV from which to source data. Defaults to 0.

Returns

NavStatusBoxFieldBrgModelFactory

Defined in

src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxFieldModel.ts:87

Methods

create

create(gpsValidity): NavStatusBoxFieldModel<NumberUnitInterface<"navangle", NavAngleUnit>>

Creates a navigation status box field data model for this factory's data field type.

Parameters

NameTypeDescription
gpsValiditySubscribable<NavDataFieldGpsValidity>The subscribable that provides the validity of the GPS data for the models.

Returns

NavStatusBoxFieldModel<NumberUnitInterface<"navangle", NavAngleUnit>>

A navigation status box field data model for this factory's data field type.

Implementation of

NavStatusBoxFieldTypeModelFactory.create

Defined in

src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxFieldModel.ts:91