DbResetAlarm - method of the AtouchX object
Cancels alarm monitoring.
The method cancels alarm monitoring. Alarms that were specified by the DbAlarm
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
If independent alarm cancellation is required, then the alarms must have different Param
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.
Integer DbResetAlarm(Long Param)
|Param||(Long) The value of the parameter (previously set in the DbAlarm or DbMultiSetAlarm method), which will cancel the alarm.|
var oATC = pMe.Pm("/AtouchApp").Acx;
var nParam = 60;
var nInfo = oATC.DbResetAlarm(nParam);