Get list of Alarm Definitions?

Is it possible to get a list of all of the Alarm Definitions that have been defined on my Milestone server in the Management Client via the MIPSDK? We would like to be able to change the UI based on the particular type of Alarm that is coming in.

It seems like AlarmLine class has a Name property that references the Alarm Definition that it was created from. So if we could dynamically get a list of all of the AlarmDefinitions ahead of time, we could probably use that Name property to match the Alarm with the AlarmDefinition in our handler.

No.

https://developer.milestonesys.com/s/article/Get-the-list-of-the-alarm-definitions-from-the-Management-client-with-SOAP-protocol

It is in the pipe-line and planned for the Configuration API in MIP SDK 2018R2 (expected release date in June) to be able to read, create and modify Alarm Definitons. Plan is subject to change without notice.

Dear Bo,

Can you please tell us if the feature has been included in 2018R2 ?

Having a look at the SDK I cannot figure out how to retrieve the alarm definitions. I typically want to know if an alarm is currently active or not (depending on schedule and/or other rules).

Best regards.

I can confirm that it has been included.

http://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2018r2_intro.html&tree=tree_home.html

Have a look using the Config API Client sample.

http://doc.developer.milestonesys.com/html/index.html?base=samples/configapiclient.html&tree=tree_2.html