Class: NavStatusBoxFieldDisModel
A data model for Distance to Waypoint navigation status box fields.
Implements
NavStatusBoxFieldModel
<NumberUnitInterface
<UnitFamily.Distance
>>
Constructors
constructor
• new NavStatusBoxFieldDisModel(bus
, gpsValidity
, lnavIndex?
): NavStatusBoxFieldDisModel
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
gpsValidity | Subscribable <NavDataFieldGpsValidity > | The current validity state of the GPS data for this model. |
lnavIndex? | number | Subscribable <number > | The index of the LNAV from which to source data. Defaults to 0 . |
Returns
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxFieldModel.ts:235
Properties
value
• Readonly
value: NumberUnitSubject
<Distance
, SimpleUnit
<Distance
>>
A subscribable which provides this model's value.
Implementation of
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxFieldModel.ts:219
Methods
destroy
▸ destroy(): void
Destroys this model.
Returns
void
Implementation of
NavStatusBoxFieldModel.destroy
Defined in
src/garminsdk/components/nextgenpfd/navstatusbox/NavStatusBoxFieldModel.ts:283