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