Class: DefaultTemperatureInfoDataProvider
A default implementation of TemperatureInfoDataProvider.
Implements
Constructors
constructor
• new DefaultTemperatureInfoDataProvider(bus
, adcIndex
): DefaultTemperatureInfoDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
adcIndex | number | Subscribable <number > | The index of the ADC that is the source of this provider's airspeed data. |
Returns
DefaultTemperatureInfoDataProvider
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:56
Properties
deltaIsa
• Readonly
deltaIsa: Subscribable
<number
>
The current deviation of outside air temperature from ISA, in degrees Celsius.
Implementation of
TemperatureInfoDataProvider.deltaIsa
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:36
isDataFailed
• Readonly
isDataFailed: Subscribable
<boolean
>
Whether this provider's data is in a failed state.
Implementation of
TemperatureInfoDataProvider.isDataFailed
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:40
oat
• Readonly
oat: Subscribable
<number
>
The current outside (static) air temperature, in degrees Celsius.
Implementation of
TemperatureInfoDataProvider.oat
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:27
Methods
destroy
▸ destroy(): void
Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.
Returns
void
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:146
init
▸ init(paused?
): void
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether to initialize this data provider as paused. If true , this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false . |
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:70
pause
▸ pause(): void
Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:128
resume
▸ resume(): void
Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/TemperatureInfo/TemperatureInfoDataProvider.ts:108