wenxiangchao
4 天以前 2e889843b4c171f2d6ad8e0d53084040703d11f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Plugin.DODriverControl.Api
{
    public interface IDIOController : IDisposable
    {
        bool Start(out string msg);
 
        bool ReadDIBool(string address, out bool res, out string msg);
        bool ReadDIDouble(string address, out double? res, out string msg);
 
        bool ReadDOBool(string address, out bool res, out string msg);
 
        bool WriteBool(string address, bool value, out string msg);
 
        bool Close();
    }
}