Skip to main content

Class: AvionicsStatusClient

A client which tracks and sends the status of a G3000 avionics unit (GDU or GTC) to a central manager for processing.

Constructors

constructor

new AvionicsStatusClient(instrumentType, instrumentIndex, bus): AvionicsStatusClient

Constructor.

Parameters

NameTypeDescription
instrumentTypeInstrumentTypeThe instrument type of this client's avionics unit.
instrumentIndexnumberThe instrument index of this client's avionics unit.
busEventBusThe event bus.

Returns

AvionicsStatusClient

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:300

Properties

uid

Readonly uid: string

The UID of this client's avionics unit.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:284

Methods

destroy

destroy(): void

Destroys this client.

Returns

void

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:374


init

init(): void

Initializes this client. Once initialized, this client will automatically send its status to a central manager.

Returns

void

Throws

Error if this client was destroyed.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:312


setStatus

setStatus(status): void

Sets the status of this client's avionics unit. If this client has been initialized, then the new status will automatically be sent to the client's central manager.

Parameters

NameTypeDescription
statusAvionicsStatusThe status to set.

Returns

void

Throws

Error if this client was destroyed.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/AvionicsStatus/AvionicsStatusManager.ts:336