This commit is contained in:
luosheng
2023-06-28 10:35:38 +08:00
parent 4acff71c77
commit 6cd4e9d1e6
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ namespace Modbus.Net
/// <summary>
/// 基本的协议连接器
/// </summary>
public abstract class ProtocolLinker : ProtocolLinker<byte[], byte[]>, IProtocolLinkerBytesExtend<byte[], byte[]>
public abstract class ProtocolLinker : ProtocolLinker<byte[], byte[]>
{
/// <summary>
/// 发送并接收数据

View File

@@ -12,7 +12,7 @@ namespace Modbus.Net
/// </summary>
/// <typeparam name="TKey">设备的Id类型</typeparam>
/// <typeparam name="TUnitKey">设备中使用的AddressUnit的Id类型</typeparam>
public abstract class BaseMachine<TKey, TUnitKey> : BaseMachine<TKey, TUnitKey, int, int>, IMachine<TKey>
public abstract class BaseMachine<TKey, TUnitKey> : BaseMachine<TKey, TUnitKey, int, int>
where TKey : IEquatable<TKey>
where TUnitKey : IEquatable<TUnitKey>
{