Class: Epic2PfdControllerPublisher
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Epic2PfdControllerPublisher.ts:8
Handles the PFD interface to the PFD controllers.
Constructors
Constructor
new Epic2PfdControllerPublisher(
bus
,duIndex
):Epic2PfdControllerPublisher
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Epic2PfdControllerPublisher.ts:84
Constructs a new PFD controller.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The instrument event bus. |
duIndex | DisplayUnitIndices | The display unit index for this PFD. |
Returns
Epic2PfdControllerPublisher
Methods
tryHandleHEvent()
tryHandleHEvent(
event
):boolean
Defined in: workingtitle-instruments-epic2/instruments/html_ui/Pages/VCockpit/Instruments/NavSystems/Epic2v2/PFD/Epic2PfdControllerPublisher.ts:97
Tries to handle PFD controller H events.
Parameters
Parameter | Type | Description |
---|---|---|
event | string | The H event name. |
Returns
boolean
true if the event was a PFD controller event (no further handling necessary), or false if not (event should be published to the bus).