Unable to render embedded object: File (books.jpg) not found.
Go to documentation repository
Documentation for Monitoring 10.0. Documentation for other versions of Monitoring is available too.
Previous page Next page
The Partition of Control object (VIDEOSRV_C_DVC) sends the «Confirmed: Monitoring events» (CONF_MON) message to Intellect core when an alarm is confirmed.
When the confirmation type is Simple, then param0<> has the same value as the ID of event that is confirmed (see Configuring alarm groups section). When param1<> is 0, it means that a Simple confirmation is used.
Below you will find a sample program that can be written on the Agent of Control in order to process a received simple confirmation. As a result a camera is armed.
OnEvent("VIDEOSRV_C_DVC","1","CONF_MON") { if (strequal(param0,"1")) { DoReact("CAM","1","ARM"); } }
When the confirmation type is Complex, then param0<> has the value of the ID of event that is confirmed (see Configuring alarm groups section). If param1<> is 1, it means that the operator has clicked the OK button in the confirm box. If the operator clicked the Cancel button, then param1<> would be 2.
Below you will find a sample program that can be written on the Agent of Control in order to process a received complex confirmation. As a result a camera is armed only when the operator clicks the OK button in the confirm box.
OnEvent("VIDEOSRV_C_DVC","1","CONF_MON") { if (strequal(param0,"1")&&strequal(param1,"1")) { DoReact("CAM","1","ARM"); } }