Class: VSpeedUserSettings
Utility class for retrieving the vspeeds user setting manager.
Constructors
constructor
• new VSpeedUserSettings(bus
): VSpeedUserSettings
Ctor
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
Returns
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
Name | Type | Description |
---|---|---|
type | VSpeedType | the VSpeedType to return settings for |
Returns
Object
a record
Name | Type | Description |
---|---|---|
manual | UserSetting <boolean > | Indicates if this vspeed was modified by the pilot. |
show | UserSetting <boolean > | Indicates if this vspeed should be shown. |
value | UserSetting <number > | The set value of this vspeed |
Defined in
workingtitle-instruments-wt21/shared/Profiles/VSpeedUserSettings.ts:76