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