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