using System; using System.Threading.Tasks; namespace LogoForceTestApp.Services { public interface IScanService { void Close(); Task<bool> InitAsync(string ip, int port); string Read(string command); Task<string> ReadAsync(string command); event EventHandler<string> ScanCompleted; } }