Class: CasSystemLegacyAdapter
An adapter to convert legacy panel.xml annunciations into the new CasSystem.
Constructors
constructor
• new CasSystemLegacyAdapter(bus
, logicHost
, annunciationDefs
): CasSystemLegacyAdapter
Create a CasSystemLegacyAdapter
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
logicHost | CompositeLogicXMLHost | A CompositeLogicXMLHost for running the events. |
annunciationDefs | readonly Annunciation [] | An array of system annunciations to monitor. |
Returns
Defined in
src/sdk/cas/CasSystemLegacyAdapter.ts:34
Methods
start
▸ start(): void
Register all the alerts and begin monitoring.
Returns
void
Defined in
src/sdk/cas/CasSystemLegacyAdapter.ts:77