Class: SAAL::Envoy::ACQualityUnderlying

Inherits:
SensorUnderlying show all
Defined in:
lib/envoy.rb

Instance Method Summary collapse

Methods inherited from SensorUnderlying

#sensor_type, writeable!, #writeable?

Constructor Details

#initialize(key, production) ⇒ ACQualityUnderlying

Returns a new instance of ACQualityUnderlying.



130
131
132
133
# File 'lib/envoy.rb', line 130

def initialize(key, production)
  @key = key
  @production = production
end

Instance Method Details

#read(uncached = false) ⇒ Object



135
136
137
# File 'lib/envoy.rb', line 135

def read(uncached = false)
  @production.read_val(@key)
end