public ReadHoldingRegistersFunctionHandler(IRegisterStorage registerStorage)
        {
            if (registerStorage == null) throw new ArgumentNullException(nameof(registerStorage));

            _registerStorage = registerStorage;
        }
Example #2
0
 public void RegisterCustomStorages(IRegisterStorage registerer)
 {
 }
        public RegisterStorageNotifier(IRegisterStorage source)
        {
            if (source == null) throw new ArgumentNullException(nameof(source));

            _source = source;
        }
 public SlaveRegisterViewModel(IRegisterStorage registerStorage, ushort registerIndex)
     : base(registerIndex)
 {
     if (registerStorage == null) throw new ArgumentNullException(nameof(registerStorage));
     _registerStorage = registerStorage;
 }