alielie
2026-03-02 12e606635c42ea20f4b7c2bdda5204237a4b4c96
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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();
    }
}