Promotic

DbResetAlarm - method of the AtouchX object

Description:
Cancels alarm monitoring.
The method cancels alarm monitoring. Alarms that were specified by the DbAlarm or DbMultiSetAlarm method with the same Param parameter are cancelled.
It means that two alarms with the same Param parameter are always cancelled simultaneously by the DbResetAlarm method.
If independent alarm cancellation is required, then the alarms must have different Param parameters.

The value 0 (zero) of the Param parameter causes all alarms to be cancelled.
 
From the calling of the DbResetAlarm method, the DbAlarm event will stop being triggered for the cancelled alarms.
Syntax:
Integer DbResetAlarm(Long Param)
Parameters:
Param(Long) The value of the parameter (previously set in the DbAlarm or DbMultiSetAlarm method), which will cancel the alarm.
Return values:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oATC = pMe.Pm("/AtouchApp").Acx;
var nParam = 60;
var nInfo = oATC.DbResetAlarm(nParam);
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.