Class: FmsSpeedUserSettingManager
A manager for FMS speed user settings.
Implements
UserSettingManager
<FmsSpeedUserSettingTypes
>
Constructors
constructor
• new FmsSpeedUserSettingManager(bus
, fmsSpeedsConfig
): FmsSpeedUserSettingManager
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
fmsSpeedsConfig | FmsSpeedsConfig | Definitions for each aircraft configuration speed limit for which to create a setting. |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:124
Properties
climbSchedules
• Readonly
climbSchedules: readonly Readonly
<FmsSpeedClimbSchedule
>[]
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:112
configurationSpeedDefinitions
• Readonly
configurationSpeedDefinitions: readonly Readonly
<FmsConfigurationSpeedDefinition
>[]
Definitions for aircraft configuration speed limits, in order from highest to lowest speed.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:110
cruiseSchedules
• Readonly
cruiseSchedules: readonly Readonly
<FmsSpeedCruiseSchedule
>[]
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:113
descentSchedules
• Readonly
descentSchedules: readonly Readonly
<FmsSpeedDescentSchedule
>[]
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:114
Methods
getAllSettings
▸ getAllSettings(): UserSetting
<UserSettingValue
>[]
Returns
UserSetting
<UserSettingValue
>[]
Inherit Doc
Implementation of
UserSettingManager.getAllSettings
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:355
getSetting
▸ getSetting<K
>(name
): UserSetting
<NonNullable
<FmsSpeedUserSettingTypes
[K
]>>
Type parameters
Name | Type |
---|---|
K | extends `fmsSpeedConfigurationLimit_${number}` | "fmsSpeedClimbScheduleIndex" | "fmsSpeedClimbIas" | "fmsSpeedClimbMach" | "fmsSpeedPilotClimbIas" | "fmsSpeedPilotClimbMach" | "fmsSpeedCruiseScheduleIndex" | "fmsSpeedCruiseIas" | "fmsSpeedCruiseMach" | "fmsSpeedPilotCruiseIas" | "fmsSpeedPilotCruiseMach" | "fmsSpeedDescentScheduleIndex" | "fmsSpeedDescentIas" | "fmsSpeedDescentMach" | "fmsSpeedDescentFpa" | "fmsSpeedPilotDescentIas" | "fmsSpeedPilotDescentMach" | "fmsSpeedPilotDescentFpa" | "fmsSpeedClimbAltitudeCeiling" | "fmsSpeedClimbAltitudeLimit" | "fmsSpeedDescentAltitudeCeiling" | "fmsSpeedDescentAltitudeLimit" | "fmsSpeedDepartureCeiling" | "fmsSpeedDepartureRadius" | "fmsSpeedDepartureLimit" | "fmsSpeedArrivalCeiling" | "fmsSpeedArrivalRadius" | "fmsSpeedArrivalLimit" | "fmsSpeedUserTargetIas" | "fmsSpeedUserTargetMach" | "fmsSpeedUserTargetIsMach" |
Parameters
Name | Type |
---|---|
name | K |
Returns
UserSetting
<NonNullable
<FmsSpeedUserSettingTypes
[K
]>>
Inherit Doc
Implementation of
UserSettingManager.getSetting
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:345
mapTo
▸ mapTo<M
>(map
): UserSettingManager
<M
& FmsSpeedUserSettingTypes
>
Type parameters
Name | Type |
---|---|
M | extends UserSettingRecord |
Parameters
Name | Type |
---|---|
map | UserSettingMap <M , FmsSpeedUserSettingTypes > |
Returns
UserSettingManager
<M
& FmsSpeedUserSettingTypes
>
Inherit Doc
Implementation of
UserSettingManager.mapTo
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:360
tryGetSetting
▸ tryGetSetting<K
>(name
): K
extends keyof FmsSpeedUserSettingTypes
? UserSetting
<FmsSpeedUserSettingTypes
[K
]> : undefined
Type parameters
Name | Type |
---|---|
K | extends string |
Parameters
Name | Type |
---|---|
name | K |
Returns
K
extends keyof FmsSpeedUserSettingTypes
? UserSetting
<FmsSpeedUserSettingTypes
[K
]> : undefined
Inherit Doc
Implementation of
UserSettingManager.tryGetSetting
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:340
whenSettingChanged
▸ whenSettingChanged<K
>(name
): Consumer
<NonNullable
<FmsSpeedUserSettingTypes
[K
]>>
Type parameters
Name | Type |
---|---|
K | extends `fmsSpeedConfigurationLimit_${number}` | "fmsSpeedClimbScheduleIndex" | "fmsSpeedClimbIas" | "fmsSpeedClimbMach" | "fmsSpeedPilotClimbIas" | "fmsSpeedPilotClimbMach" | "fmsSpeedCruiseScheduleIndex" | "fmsSpeedCruiseIas" | "fmsSpeedCruiseMach" | "fmsSpeedPilotCruiseIas" | "fmsSpeedPilotCruiseMach" | "fmsSpeedDescentScheduleIndex" | "fmsSpeedDescentIas" | "fmsSpeedDescentMach" | "fmsSpeedDescentFpa" | "fmsSpeedPilotDescentIas" | "fmsSpeedPilotDescentMach" | "fmsSpeedPilotDescentFpa" | "fmsSpeedClimbAltitudeCeiling" | "fmsSpeedClimbAltitudeLimit" | "fmsSpeedDescentAltitudeCeiling" | "fmsSpeedDescentAltitudeLimit" | "fmsSpeedDepartureCeiling" | "fmsSpeedDepartureRadius" | "fmsSpeedDepartureLimit" | "fmsSpeedArrivalCeiling" | "fmsSpeedArrivalRadius" | "fmsSpeedArrivalLimit" | "fmsSpeedUserTargetIas" | "fmsSpeedUserTargetMach" | "fmsSpeedUserTargetIsMach" |
Parameters
Name | Type |
---|---|
name | K |
Returns
Consumer
<NonNullable
<FmsSpeedUserSettingTypes
[K
]>>
Inherit Doc
Implementation of
UserSettingManager.whenSettingChanged
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Settings/FmsSpeedUserSettings.ts:350