Updated Protocol Constants
This commit is contained in:
@@ -31,7 +31,7 @@ namespace AMWD.Protocols.Modbus.Common.Protocols
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Reading the specification, the max allowed unit id would be <strong>247</strong>!
|
/// Reading the specification, the max allowed unit id would be <strong>247</strong>!
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public const byte MAX_UNIT_ID = 0xFF;
|
public const byte MAX_UNIT_ID = 0xF7;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The minimum allowed read count specified by the Modbus SerialLine protocol.
|
/// The minimum allowed read count specified by the Modbus SerialLine protocol.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ namespace AMWD.Protocols.Modbus.Common.Protocols
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Reading the specification, the max allowed unit id would be <strong>247</strong>!
|
/// Reading the specification, the max allowed unit id would be <strong>247</strong>!
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public const byte MAX_UNIT_ID = 0xFF;
|
public const byte MAX_UNIT_ID = 0xF7;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The minimum allowed read count specified by the Modbus SerialLine protocol.
|
/// The minimum allowed read count specified by the Modbus SerialLine protocol.
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ namespace AMWD.Protocols.Modbus.Common.Protocols
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Reading the specification, the max allowed unit id would be <strong>247</strong>!
|
/// Reading the specification, the max allowed unit id would be <strong>247</strong>!
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public const byte MAX_UNIT_ID = 0xFF;
|
public const byte MAX_UNIT_ID = 0xF7;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The minimum allowed read count specified by the Modbus SerialLine protocol.
|
/// The minimum allowed read count specified by the Modbus SerialLine protocol.
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using AMWD.Protocols.Modbus.Common.Contracts;
|
|
||||||
using Moq;
|
using Moq;
|
||||||
|
|
||||||
namespace AMWD.Protocols.Modbus.Tests.Common.Contracts
|
namespace AMWD.Protocols.Modbus.Tests.Common.Contracts
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using AMWD.Protocols.Modbus.Common;
|
namespace AMWD.Protocols.Modbus.Tests.Common.Extensions
|
||||||
|
|
||||||
namespace AMWD.Protocols.Modbus.Tests.Common.Extensions
|
|
||||||
{
|
{
|
||||||
[TestClass]
|
[TestClass]
|
||||||
public class ModbusDecimalExtensionsTest
|
public class ModbusDecimalExtensionsTest
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
global using System;
|
global using System;
|
||||||
global using System.Linq;
|
global using System.Linq;
|
||||||
global using AMWD.Protocols.Modbus.Common;
|
global using AMWD.Protocols.Modbus.Common;
|
||||||
|
global using AMWD.Protocols.Modbus.Common.Contracts;
|
||||||
global using Microsoft.VisualStudio.TestTools.UnitTesting;
|
global using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||||
|
|||||||
Reference in New Issue
Block a user