mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-12-02 03:38:01 +08:00
17 lines
392 B
C#
17 lines
392 B
C#
using System;
|
|
|
|
namespace PluginInterface
|
|
{
|
|
public interface IDriver:IDisposable
|
|
{
|
|
public Guid DeviceId { get; }
|
|
public bool IsConnected { get; }
|
|
public uint Timeout { get; }
|
|
public uint MinPeriod { get; }
|
|
public bool Connect();
|
|
public bool Close();
|
|
|
|
public DriverReturnValueModel Read(DriverAddressIoArgModel Ioarg);
|
|
}
|
|
}
|