選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

20 行
474 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace ModbusDemo.Device
  7. {
  8. interface IModbusRTU
  9. {
  10. public bool[] ReadCoil(byte slaveAddress, ushort startAddress, ushort numberOfPoints);
  11. public void WriteCoil(byte slaveAddress, ushort startAddress, bool[] data);
  12. public ushort[] ReadRegisters(byte slaveAddress, ushort startAddress, ushort numberOfPoints);
  13. }
  14. }