using System.Collections.Concurrent; using Seyounth.Hyosung.Data.Models; namespace Seyounth.Hyosung.Data.Services; public interface IYarnService { ConcurrentDictionary NoFinished { get; } Task AddYarnAsync(Yarn yarn); Task> GetYarnsByTrayIdAsync(int trayId); Task GetYarnByCodeAsync(long code); /// /// 完成指定纱 /// /// /// Task FinishYarnAsync(long yarnCode); /// /// 绑定托盘号 /// /// /// /// Task BindTrayAsync(long yarnCode, int trayId); }