using System; namespace DIOController { public interface IDIOController : IDisposable { bool Start(out string msg); bool ReadDIBool(string address, out bool res, out string msg); bool ReadDIBool(string address, int length, out bool[] res, out string msg); bool ReadDOBool(string address, out bool res, out string msg); bool ReadDOBool(string address, int length, out bool[] res, out string msg); bool WriteBool(string address, bool value, out string msg); bool WriteBool(string address, bool[] value, out string msg); bool Close(); } }