Class: NavStatusBoxFieldDisModelFactory
Creates data models for Distance to Waypoint navigation status box fields.
Implements
Constructors
constructor
• new NavStatusBoxFieldDisModelFactory(bus
, lnavIndex?
): NavStatusBoxFieldDisModelFactory
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
lnavIndex? | number | Subscribable <number > | The index of the LNAV from which to source data. Defaults to 0 . |
Returns
NavStatusBoxFieldDisModelFactory
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxFieldModel.ts:105
Methods
create
▸ create(gpsValidity
): NavStatusBoxFieldModel
<NumberUnitInterface
<Distance
, Unit
<Distance
>>>
Creates a navigation status box field data model for this factory's data field type.
Parameters
Name | Type | Description |
---|---|---|
gpsValidity | Subscribable <NavDataFieldGpsValidity > | The subscribable that provides the validity of the GPS data for the models. |
Returns
NavStatusBoxFieldModel
<NumberUnitInterface
<Distance
, Unit
<Distance
>>>
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:109