using WIDESEAWCS_S7Simulator.Core.Protocol; namespace WIDESEAWCS_S7Simulator.Application.Protocol; /// /// 协议模板存取接口。 /// 放在 Application 层,供控制器与后台监控统一依赖。 /// public interface IProtocolTemplateService { Task> GetAllAsync(); Task GetByIdAsync(string id); Task UpsertAsync(ProtocolTemplate template); Task DeleteAsync(string id); Task ExistsAsync(string id); }