|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace ModbusDemo.Device
- {
- interface IModbusRTU
- {
- public bool[] ReadCoil(byte slaveAddress, ushort startAddress, ushort numberOfPoints);
-
-
- public void WriteCoil(byte slaveAddress, ushort startAddress, bool[] data);
-
- public ushort[] ReadRegisters(byte slaveAddress, ushort startAddress, ushort numberOfPoints);
-
- }
- }
|