using Model; using Model.Dto.Config; using Model.Entity.Config; using ORM; using SqlSugar; using System.Net.Sockets; using System.Net; using System.IO.Ports; namespace Service.Interface.Config { /// /// 网关管理 服务接口 /// public interface IGatewayService { Task>> GetPagedAsync(int pageIndex, int pageSize, RefAsync total, string? keyword = null, int? protocolType = null); Task> GetByIdAsync(long id); Task> AddAsync(GatewayDto dto); Task> UpdateAsync(GatewayDto dto); Task DeleteAsync(long id); Task> TestConnectionAsync(long id); Task>> GetOptionsAsync(); } }