namespace InnovEnergy.Lib.Protocols.Modbus.Channels;

public class NullChannel : Channel
{
    public override IReadOnlyList<Byte> Read(Int32 nBytes) => throw new NullChannelException();

    public override void Write(IReadOnlyList<Byte> bytes)
    {
    }
}

public class NullChannelException : Exception
{
}