I have an Event Server plugin that is registered to listen for the NewAlarmIndication event. The plugin receives Alarm objects but never received AlarmLine objects. Without the AlarmLine object plugin must perform an extra step to call Milestone XProtect to pull the alarm details using the Alarm objects included alarm id.
I would like to know what is needed by the plugin to also receive the AlarmLine object.
How do I receive just the AlarmLine object? Being sent the Alarm object results in having to make a call to Milestone to obtain the details of the alarm that are needed.
I am a bit surprised by the question as the way I understand it the Alarm object, including EventHeader, should include more information than the AlarmLine object.
If you need the AlarmLine object you will have to make a call as you describe.
I have been thinking and I am really curious. Is there any information in the AlarmLine object that is not in the Alarm object? Could you tell me what field / object you are missing?