DemoAccessControlPlugin - how to get Alarms?

Hi, I am writing an access control plugin and need some help. I have used the DemoAccessControlPlugin sample code as the basis for my plugin. So far I have been able to view events in the plugin that are triggered by the access control system. There is some code in the DemoAccessControlPlugin that allows alarms to be cleared. However I don’t see a way to specify which events should be treated as an alarm. When I view the plugin (GUI) I don’t see a list of alarms at all. So I would like to know:

  1. Is there a way to view alarms for the plugin?
  2. How do I specify that an event should trigger an alarm (in the code)?

The UI for the plugin is shown here:

Thanks,

-Lou Keeble

The intention is that the administrative user of XProtect setup which events from Access should become Alarms by creating Alarm Definitions, these are setup in the Management Client.

Thank you Bo. I found the Alarm Definition section in the Management Client. I will try to get this set up and will write back if I run into problems.