namespace Seyounth.Auto.Hs.Runtime.Plc; public interface IPlcService { Task StartAsync(); Task StopAsync(); /// /// 查询热缩机当前温度 /// /// Task GetTemperatureAsync(); /// /// 查询报警信息 /// /// Task QueryWarningInfo(); /// /// 触发报警信息 /// event Func, Task> OnWarning; /// /// 获取顶升机构状态 /// /// Task GetJackingFlagAsync(); /// /// 写入外箱标签打印结果 /// /// /// Task WriteBoxLabelPrintResult(short rs); /// /// 写入外膜标签打印结果 /// /// /// Task WriteFilmLabelPrintResult(short rs); }