ISlaveDataStore.cs 701 B

12345678910111213141516171819202122232425262728
  1. namespace NModbus
  2. {
  3. /// <summary>
  4. /// Object simulation of a device memory map.
  5. /// </summary>
  6. public interface ISlaveDataStore
  7. {
  8. /// <summary>
  9. /// Gets the descrete coils.
  10. /// </summary>
  11. IPointSource<bool> CoilDiscretes { get; }
  12. /// <summary>
  13. /// Gets the discrete inputs.
  14. /// </summary>
  15. IPointSource<bool> CoilInputs { get; }
  16. /// <summary>
  17. /// Gets the holding registers.
  18. /// </summary>
  19. IPointSource<ushort> HoldingRegisters { get; }
  20. /// <summary>
  21. /// Gets the input registers.
  22. /// </summary>
  23. IPointSource<ushort> InputRegisters { get; }
  24. }
  25. }