using System.Collections.Concurrent; using Seyounth.Hyosung.Data.Models; using Seyounth.Hyosung.Data.Models.Plc; using Seyounth.Hyosung.Runtime.Models; namespace Seyounth.Hyosung.Runtime; public interface IHyosungRuntime { PackLineOption PackLineOption { get; } StackStationModel Stack1 { get; } StackStationModel Stack2 { get; } /// /// 启动运行 /// /// /// Task StartAsync(CancellationToken token); /// /// 停止运行 /// /// /// Task StopAsync(CancellationToken token); /// /// 发布品类信息到PLC /// /// /// Task SendVarietyToPlcAsync(Variety variety); /// /// 生成当日报表 /// /// Task GenerateReportAsync(); bool GetIsSendToErp(); Task SetIsSendToErp(bool isSendToErp); }