namespace AsterNET.Manager.Action
{
///
/// The ZapDNDOnAction switches a zap channel "Do Not Disturb" status off.
///
public class ZapDNDOffAction : ManagerAction
{
///
/// Creates a new empty ZapDNDOffAction.
///
public ZapDNDOffAction()
{
}
///
/// Creates a new ZapDNDOffAction that disables "Do Not Disturb" status for the given zap channel.
///
public ZapDNDOffAction(int zapChannel)
{
this.ZapChannel = zapChannel;
}
///
/// Get the name of this action, i.e. "ZapDNDOff".
///
public override string Action
{
get { return "ZapDNDOff"; }
}
///
/// Get/Set the number of the zap channel to switch to dnd off.
/// This property is mandatory.
///
public int ZapChannel { get; set; }
}
}