2021-12-12 06:55:48 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace PluginInterface
|
|
|
|
|
{
|
|
|
|
|
public interface IDriver:IDisposable
|
|
|
|
|
{
|
|
|
|
|
public Guid DeviceId { get; }
|
|
|
|
|
public bool IsConnected { get; }
|
2022-01-15 16:16:53 +00:00
|
|
|
|
public int Timeout { get; }
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public uint MinPeriod { get; }
|
|
|
|
|
public bool Connect();
|
|
|
|
|
public bool Close();
|
|
|
|
|
|
|
|
|
|
public DriverReturnValueModel Read(DriverAddressIoArgModel Ioarg);
|
|
|
|
|
}
|
|
|
|
|
}
|