28 lines
881 B
C#
28 lines
881 B
C#
namespace AsterNET.Manager.Event
|
|
{
|
|
/// <summary>
|
|
/// An AlarmEvent is triggered when a Zap channel enters or changes alarm state.<br />
|
|
/// It is implemented in <code>channels/chan_zap.c</code>
|
|
/// </summary>
|
|
public class AlarmEvent : ManagerEvent
|
|
{
|
|
public AlarmEvent(ManagerConnection source)
|
|
: base(source)
|
|
{
|
|
}
|
|
|
|
/// <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; }
|
|
}
|
|
} |