using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SKMC.Api.Machine.Control
{
///
/// 机台面板控制逻辑接口
///
public interface IMachineBoardControl
{
///
/// 是否启用
///
bool Actived { get; set; }
///
/// 是否告警中
///
bool IsAlarm { get; set; }
///
/// 设备启动动作
///
Action StartAction { get; set; }
///
/// 设备启动事件
///
event Action StartEvent;
///
/// 设备复位动作
///
Action ResetAction { get; set; }
///
/// 设备复位事件
///
event Action ResetEvent;
///
/// 设备暂停动作
///
Action PauseAction { get; set; }
///
/// 设备暂停单站动作
///
Action PauseOneAction { get; set; }
///
/// 设备暂停事件
///
event Action PauseEvent;
///
/// 设备恢复运行动作
///
Action ResumeAction { get; set; }
///
/// 设备恢复运行事件
///
event Action ResumeEvent;
///
/// 设备清料停止动作
///
Action ClearAction { get; set; }
///
/// 设备清料停止事件
///
event Action ClearEvent;
///
/// 设备停止动作(退出自动流程, 并执行Stop动作)
///
Action StopAction { get; set; }
///
/// 设备停止事件
///
event Action StopEvent;
///
/// 设备退出动作(退出自动流程, 但不执行Stop动作)
///
Action QuitAction { get; set; }
///
/// 设备退出事件
///
event Action QuitEvent;
}
}