2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Action
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The ZapDNDOnAction switches a zap channel "Do Not Disturb" status off.
|
|
|
|
/// </summary>
|
|
|
|
public class ZapDNDOffAction : ManagerAction
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Creates a new empty ZapDNDOffAction.
|
|
|
|
/// </summary>
|
|
|
|
public ZapDNDOffAction()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Creates a new ZapDNDOffAction that disables "Do Not Disturb" status for the given zap channel.
|
|
|
|
/// </summary>
|
|
|
|
public ZapDNDOffAction(int zapChannel)
|
|
|
|
{
|
|
|
|
this.ZapChannel = zapChannel;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get the name of this action, i.e. "ZapDNDOff".
|
|
|
|
/// </summary>
|
|
|
|
public override string Action
|
|
|
|
{
|
|
|
|
get { return "ZapDNDOff"; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2015-01-03 15:37:29 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the number of the zap channel to switch to dnd off.<br />
|
|
|
|
/// This property is mandatory.
|
|
|
|
/// </summary>
|
|
|
|
public int ZapChannel { get; set; }
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|