Hi,
We are working on a protocol integration to update the Alarm state and comment. But seen like we cant update the “Description” field.
May I know how to update the above field?
Thanks.
Regards,
Lee
Hi,
We are working on a protocol integration to update the Alarm state and comment. But seen like we cant update the “Description” field.
May I know how to update the above field?
Thanks.
Regards,
Lee
You cannot change the description on an alarm. If you try using the Smart Client Alarm Manager, you will observe the same behavior.
With the UpdateAlarm method there are a number of fields you can update. You can see which here on the documentation to the proxy class in MIP SDK.
See UpdateAlarm and UpdateAlarmValues.
Maybe the text by UpdateAlarm will serve your purpose.
The description fields are in most case setup in the AlarmDefinition. AlarmDefinition can be created or changed by using Management Client or by using the configuration API or rest API. The moment an alarm is triggered the Description/instructions is fixed and cannot be changed later.
=== snippet from MIP Docs
AddAlarmDefinition() [4/4]
AddAlarmDefinitionServerTask VideoOS.Platform.ConfigurationItems.AlarmDefinitionFolder.AddAlarmDefinition ( )
inline
Add alarm definition
RemoveAlarmDefinition() : VideoOS.Platform.ConfigurationItems.AlarmDefinitionFolder
Dear David,
We are not sure if you meant to post a question or comment, what you did post we don’t understand. Can you please review and post another question or comment?
That was a “comment”, and Sorry, I meant to post that to my own post …
https://developer.milestonesys.com/s/question/0D53X0000Au9FgESQU/alarm-with-multiple-cameras
It was a “comment”, where I was going to try to create a temporary AlarmDefinition with multiple cameras, then use it to create the desired Alarm, then delete the temporary AlarmDefinition.
But since then I discovered I can multiple cameras with …
alarm.ReferenceList = referenceList;