IModbusMessageDataCollection.cs 635 B

12345678910111213141516171819202122
  1. using System.Diagnostics.CodeAnalysis;
  2. namespace NModbus.Data
  3. {
  4. /// <summary>
  5. /// Modbus message containing data.
  6. /// </summary>
  7. [SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
  8. public interface IModbusMessageDataCollection
  9. {
  10. /// <summary>
  11. /// Gets the network bytes.
  12. /// </summary>
  13. [SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
  14. byte[] NetworkBytes { get; }
  15. /// <summary>
  16. /// Gets the byte count.
  17. /// </summary>
  18. byte ByteCount { get; }
  19. }
  20. }