SoundMode - property of the PmAlarmItem object
Description:
The way of sound indication of an alarm items state.
Values:
0 = no sound
1 = sound stops after acknowledgment or inactivate
2 = sound stops after acknowledgment and inactivate
3 = sound stops after acknowledgment
Note:
Property access
for read and write.
The default value of this property is defined in the "
Sound notification" configurator of this object.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oAl = pMe.Pm("/Alarm");
var oAlItem = oAl.Item("Temperature");
oAlItem.SoundMode = 2;
Dim oAl
Set oAl = pMe.Pm("/Alarm")
Dim oAlItem
Set oAlItem = oAl.Item("Temperature")
oAlItem.SoundMode = 2