Class: Aurora::ModBus::WFProxy

Inherits:
ModBus::ReadWriteProxy
  • Object
show all
Defined in:
lib/aurora/modbus/slave.rb

Instance Method Summary collapse

Instance Method Details

#[](*keys) ⇒ Object



25
26
27
28
29
# File 'lib/aurora/modbus/slave.rb', line 25

def [](*keys)
  return super if keys.length == 1

  @slave.read_multiple_holding_registers(*keys)
end