Implemented the RTU protocol

This commit is contained in:
2024-03-27 20:39:43 +01:00
parent 7d5f3194c2
commit dee0d67453
3 changed files with 2185 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -484,7 +484,7 @@ namespace AMWD.Protocols.Modbus.Tests.Common.Protocols
[TestMethod]
[ExpectedException(typeof(ArgumentOutOfRangeException))]
public void ShouldTrhowOutOfRangeExceptionOnSerializeReadDeviceIdentification()
public void ShouldThrowOutOfRangeExceptionOnSerializeReadDeviceIdentification()
{
// Arrange
var protocol = new TcpProtocol();
@@ -750,7 +750,7 @@ namespace AMWD.Protocols.Modbus.Tests.Common.Protocols
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void ShouldTrhowArgumentNullOnSerializeWriteMultipleCoils()
public void ShouldThrowArgumentNullOnSerializeWriteMultipleCoils()
{
// Arrange
var protocol = new TcpProtocol();
@@ -891,7 +891,7 @@ namespace AMWD.Protocols.Modbus.Tests.Common.Protocols
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void ShouldTrhowArgumentNullOnSerializeWriteMultipleHoldingRegisters()
public void ShouldThrowArgumentNullOnSerializeWriteMultipleHoldingRegisters()
{
// Arrange
var protocol = new TcpProtocol();