Class: Subsurface::Sample
- Inherits:
-
Object
- Object
- Subsurface::Sample
- Defined in:
- lib/subsurface/sample.rb
Overview
TODO: Stops, o2sensors, set_point, heartbeat, bearing, in_deco Stores the data in each sample
Instance Attribute Summary collapse
-
#cns ⇒ Object
readonly
Returns the value of attribute cns.
-
#depth ⇒ Object
readonly
Returns the value of attribute depth.
-
#ndl ⇒ Object
readonly
Returns the value of attribute ndl.
-
#pressure ⇒ Object
readonly
Returns the value of attribute pressure.
-
#rbt ⇒ Object
readonly
Returns the value of attribute rbt.
-
#temp ⇒ Object
readonly
Returns the value of attribute temp.
-
#time ⇒ Object
readonly
Returns the value of attribute time.
-
#tts ⇒ Object
readonly
Returns the value of attribute tts.
Instance Method Summary collapse
-
#initialize(time, depth, temp, pressure, ndl, tts, rbt, cns) ⇒ Sample
constructor
rubocop:disable Metrics/ParameterLists.
Constructor Details
#initialize(time, depth, temp, pressure, ndl, tts, rbt, cns) ⇒ Sample
rubocop:disable Metrics/ParameterLists
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/subsurface/sample.rb', line 18 def initialize(time, depth, temp, pressure, ndl, tts, rbt, cns) @time = time @depth = depth @temp = temp @pressure = pressure @ndl = ndl @tts = tts @rbt = rbt @cns = cns end |
Instance Attribute Details
#cns ⇒ Object (readonly)
Returns the value of attribute cns.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def cns @cns end |
#depth ⇒ Object (readonly)
Returns the value of attribute depth.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def depth @depth end |
#ndl ⇒ Object (readonly)
Returns the value of attribute ndl.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def ndl @ndl end |
#pressure ⇒ Object (readonly)
Returns the value of attribute pressure.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def pressure @pressure end |
#rbt ⇒ Object (readonly)
Returns the value of attribute rbt.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def rbt @rbt end |
#temp ⇒ Object (readonly)
Returns the value of attribute temp.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def temp @temp end |
#time ⇒ Object (readonly)
Returns the value of attribute time.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def time @time end |
#tts ⇒ Object (readonly)
Returns the value of attribute tts.
7 8 9 |
# File 'lib/subsurface/sample.rb', line 7 def tts @tts end |