iotgateway/Plugins/PluginInterface/IDriver.cs
2021-12-12 14:55:48 +08:00

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);
}
}