namespace AsterNET.Manager.Action
{
///
/// The ZapHangupAction hangs up a zap channel.
///
public class ZapHangupAction : ManagerAction
{
///
/// Creates a new empty ZapHangupAction.
///
public ZapHangupAction()
{
}
///
/// Creates a new ZapHangupAction that hangs up the given zap channel (the number of the zap channel to hang up).
///
public ZapHangupAction(int zapChannel)
{
this.ZapChannel = zapChannel;
}
///
/// Get the name of this action, i.e. "ZapHangup".
///
public override string Action
{
get { return "ZapHangup"; }
}
///
/// Get/Set the number of the zap channel to hangup.
/// This property is mandatory.
///
public int ZapChannel { get; set; }
}
}