Skip to main content

Class: NavStatusBoxFieldEteModelFactory

Creates data models for Time To Waypoint navigation status box fields.

Implements

Constructors

constructor

new NavStatusBoxFieldEteModelFactory(bus, lnavIndex?): NavStatusBoxFieldEteModelFactory

Constructor.

Parameters

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

Returns

NavStatusBoxFieldEteModelFactory

Defined in

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

Methods

create

create(gpsValidity): NavStatusBoxFieldModel<NumberUnitInterface<Duration, Unit<Duration>>>

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<Duration, Unit<Duration>>>

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:127