2013-01-18 15:55:50 +00:00
|
|
|
using System;
|
2015-01-03 15:37:29 +00:00
|
|
|
using AsterNET.Manager.Event;
|
2013-01-18 15:55:50 +00:00
|
|
|
|
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 StatusAction requests the state of all active channels.<br />
|
|
|
|
/// For each active channel a StatusEvent is generated. After the state of all
|
|
|
|
/// channels has been reported a StatusCompleteEvent is generated.
|
|
|
|
/// </summary>
|
2016-10-19 07:20:23 +00:00
|
|
|
/// <seealso cref="Manager.Event.StatusEvent" />
|
|
|
|
/// <seealso cref="Manager.Event.StatusCompleteEvent" />
|
2015-01-03 15:37:29 +00:00
|
|
|
public class StatusAction : ManagerActionEvent
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Get the name of this action, i.e. "Status".
|
|
|
|
/// </summary>
|
|
|
|
public override string Action
|
|
|
|
{
|
|
|
|
get { return "Status"; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public override Type ActionCompleteEventClass()
|
|
|
|
{
|
|
|
|
return typeof (StatusCompleteEvent);
|
|
|
|
}
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|