namespace NModbus.Data { public class DefaultSlaveDataStore : ISlaveDataStore { private readonly IPointSource _holdingRegisters = new DefaultPointSource(); private readonly IPointSource _inputRegisters = new DefaultPointSource(); private readonly IPointSource _coilDiscretes = new DefaultPointSource(); private readonly IPointSource _coilInputs = new DefaultPointSource(); public IPointSource HoldingRegisters => _holdingRegisters; public IPointSource InputRegisters => _inputRegisters; public IPointSource CoilDiscretes => _coilDiscretes; public IPointSource CoilInputs => _coilInputs; } }