namespace DeviceService.Core.Api
|
{
|
public interface IPLCDriver
|
{
|
bool Open(out string msg);
|
bool Close(out string msg);
|
|
bool ReadBytes(string address, int length, out byte[] data, out string msg);
|
bool WriteBytes(string address, byte[] data, out string msg);
|
}
|
}
|