Skip to main content

Class: VSpeedUserSettings

Utility class for retrieving the vspeeds user setting manager.

Constructors

constructor

new VSpeedUserSettings(bus): VSpeedUserSettings

Ctor

Parameters

NameTypeDescription
busEventBusThe event bus.

Returns

VSpeedUserSettings

Defined in

workingtitle-instruments-wt21/shared/Profiles/VSpeedUserSettings.ts:45

Methods

getSettings

getSettings(type): Object

Returns an object containing relevant UserSettings for a given VSpeedType

Parameters

NameTypeDescription
typeVSpeedTypethe VSpeedType to return settings for

Returns

Object

a record

NameTypeDescription
manualUserSetting<boolean>Indicates if this vspeed was modified by the pilot.
showUserSetting<boolean>Indicates if this vspeed should be shown.
valueUserSetting<number>The set value of this vspeed

Defined in

workingtitle-instruments-wt21/shared/Profiles/VSpeedUserSettings.ts:76