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 StopMonitorAction ends monitoring (recording) a channel.<br />
|
2015-01-04 14:26:32 +00:00
|
|
|
/// It is implemented in res/res_monitor.c
|
2015-01-03 15:37:29 +00:00
|
|
|
/// </summary>
|
|
|
|
public class StopMonitorAction : ManagerAction
|
|
|
|
{
|
|
|
|
#region Action
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get the name of this action, i.e. "StopMonitor".
|
|
|
|
/// </summary>
|
|
|
|
public override string Action
|
|
|
|
{
|
|
|
|
get { return "StopMonitor"; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region Channel
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get/Set the name of the channel to end monitoring.<br />
|
|
|
|
/// This property is mandatory.
|
|
|
|
/// </summary>
|
|
|
|
public string Channel { get; set; }
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region StopMonitorAction()
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Creates a new empty StopMonitorAction.
|
|
|
|
/// </summary>
|
|
|
|
public StopMonitorAction()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region StopMonitorAction(string channel)
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Creates a new StopMonitorAction that ends monitoring of the given channel.
|
|
|
|
/// </summary>
|
|
|
|
public StopMonitorAction(string channel)
|
|
|
|
{
|
|
|
|
this.Channel = channel;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|