2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Event
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// An AlarmEvent is triggered when a Zap channel enters or changes alarm state.<br />
|
2015-01-04 14:26:32 +00:00
|
|
|
/// It is implemented in channels/chan_zap.c
|
2015-01-03 15:37:29 +00:00
|
|
|
/// </summary>
|
|
|
|
public class AlarmEvent : ManagerEvent
|
|
|
|
{
|
|
|
|
public AlarmEvent(ManagerConnection source)
|
|
|
|
: base(source)
|
|
|
|
{
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the kind of alarm that happened.<br />
|
|
|
|
/// This may be one of
|
|
|
|
/// <ul>
|
|
|
|
/// <li>Red Alarm</li>
|
|
|
|
/// <li>Yellow Alarm</li>
|
|
|
|
/// <li>Blue Alarm</li>
|
|
|
|
/// <li>Recovering</li>
|
|
|
|
/// <li>Loopback</li>
|
|
|
|
/// <li>Not Open</li>
|
|
|
|
/// </ul>
|
|
|
|
/// </summary>
|
|
|
|
public string Alarm { get; set; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|