namespace AsterNET.Manager.Event
{
///
/// An AlarmEvent is triggered when a Zap channel enters or changes alarm state.
/// It is implemented in channels/chan_zap.c
///
public class AlarmEvent : ManagerEvent
{
private string alarm;
///
/// Get/Set the kind of alarm that happened.
/// This may be one of
///
/// - Red Alarm
/// - Yellow Alarm
/// - Blue Alarm
/// - Recovering
/// - Loopback
/// - Not Open
///
///
public string Alarm
{
get { return alarm; }
set { this.alarm = value; }
}
public AlarmEvent(ManagerConnection source)
: base(source)
{
}
}
}