Skip to main content

Class: ADCAvionicsSystem

The air data computer system.

Hierarchy

Constructors

constructor

new ADCAvionicsSystem(index, bus): ADCAvionicsSystem

Creates an instance of the ADCAvionicsSystem.

Parameters

NameTypeDescription
indexnumberThe index of the system.
busEventBusThe instance of the event bus for the system to use.

Returns

ADCAvionicsSystem

Overrides

BasicAvionicsSystem.constructor

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/ADCAvionicsSystem.ts:17

Properties

bus

Protected Readonly bus: EventBus

The instance of the event bus for the system to use.

Inherited from

BasicAvionicsSystem.bus

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/ADCAvionicsSystem.ts:17


index

Readonly index: number

The index of the system.

Inherited from

BasicAvionicsSystem.index

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/ADCAvionicsSystem.ts:17


initializationTime

Protected initializationTime: number = 15000

The time it takes in milliseconds for the system to initialize.

Overrides

BasicAvionicsSystem.initializationTime

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/ADCAvionicsSystem.ts:10


initializationTimeout

Protected initializationTimeout: undefined | number

A timeout after which initialization will be complete.

Inherited from

BasicAvionicsSystem.initializationTimeout

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:27


isPowered

Protected isPowered: undefined | boolean

Whether or not the system is powered.

Inherited from

BasicAvionicsSystem.isPowered

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:30


state

state: undefined | AvionicsSystemState

The state of the avionics system.

Inherited from

BasicAvionicsSystem.state

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:21


stateEvent

Protected Readonly stateEvent: "adc_state"

The key of the state update event to send on state update.

Inherited from

BasicAvionicsSystem.stateEvent

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:38

Methods

connectToPower

connectToPower(key): void

Connects the system to the first avionics power bus.

Parameters

NameTypeDescription
keykeyof BaseElectricalEvents | `elec_bus_main_v_${number}` | `elec_bus_main_a_${number}` | `elec_master_battery_${number}` | `elec_circuit_avionics_on_${number}` | `elec_bat_v_${number}` | `elec_bat_a_${number}` | `elec_ext_power_available_${number}` | `elec_ext_power_on_${number}` | `elec_apu_gen_active_${number}` | `elec_apu_gen_switch_${number}` | `elec_eng_gen_switch_${number}` | `elec_circuit_on_${number}` | `elec_circuit_switch_on_${number}`The electrical event key to connect to.

Returns

void

Inherited from

BasicAvionicsSystem.connectToPower

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:47


onPowerChanged

onPowerChanged(isPowered): void

A callback called when the connected power state of the avionics system changes.

Parameters

NameTypeDescription
isPoweredbooleanWhether or not the system is powered.

Returns

void

Inherited from

BasicAvionicsSystem.onPowerChanged

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:69


onUpdate

onUpdate(): void

A callback to call to update the state of the avionics system.

Returns

void

Inherited from

BasicAvionicsSystem.onUpdate

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:41


setState

setState(state): void

Sets the state of the avionics system and publishes the change.

Parameters

NameTypeDescription
stateAvionicsSystemStateThe new state to change to.

Returns

void

Inherited from

BasicAvionicsSystem.setState

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/Systems/BasicAvionicsSystem.ts:58