Move Protocol property from implementations to base client

This commit is contained in:
2024-04-20 20:52:22 +02:00
parent a35c3491ae
commit 763ca1da25
4 changed files with 2 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ namespace AMWD.Protocols.Modbus.Common.Contracts
/// <remarks>
/// The default protocol used by the client should be initialized in the constructor.
/// </remarks>
public abstract IModbusProtocol Protocol { get; set; }
public virtual IModbusProtocol Protocol { get; set; }
/// <summary>
/// Reads multiple <see cref="Coil"/>s.