Class: AvionicsStatusClient
A client which tracks and sends the status of a G3X Touch avionics unit (GDU) to a central manager for processing.
Constructors
constructor
• new AvionicsStatusClient(instrumentIndex
, bus
): AvionicsStatusClient
Constructor.
Parameters
Name | Type | Description |
---|---|---|
instrumentIndex | number | The instrument index of this client's avionics unit. |
bus | EventBus | The event bus. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:290
Properties
uid
• Readonly
uid: string
The UID of this client's avionics unit.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:275
Methods
destroy
▸ destroy(): void
Destroys this client.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:363
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-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:301
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
Name | Type | Description |
---|---|---|
status | AvionicsStatus | The status to set. |
Returns
void
Throws
Error if this client was destroyed.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsStatus/AvionicsStatusManager.ts:325