| 12345678910111213141516171819202122232425 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TeamAAS_VP.Enums;
- namespace TeamAAS_VP.Interfaces
- {
- public interface IScrewDriver : IDisposable
- {
- bool Connect();
- bool GetData();
- Task<bool> ConnectAsync();
- Task<bool> GetDataAsync();
- bool IsConnected { get; }
- string IPAdress { get; }
- int Port { get; }
- ElectricScrewdriverBrand Brand { get; }
- event Action<object, bool> ConnectStateChangedEvent;
- }
- }
|