Class: Aurora::Blower::ECM
Instance Attribute Summary collapse
-
#aux_heat_speed ⇒ Object
readonly
Returns the value of attribute aux_heat_speed.
-
#blower_only_speed ⇒ Object
readonly
Returns the value of attribute blower_only_speed.
-
#high_compressor_speed ⇒ Object
readonly
Returns the value of attribute high_compressor_speed.
-
#iz2_desired_speed ⇒ Object
readonly
Returns the value of attribute iz2_desired_speed.
-
#low_compressor_speed ⇒ Object
readonly
Returns the value of attribute low_compressor_speed.
-
#speed ⇒ Object
readonly
Returns the value of attribute speed.
Attributes inherited from PSC
Instance Method Summary collapse
Methods inherited from PSC
Methods inherited from Component
Constructor Details
This class inherits a constructor from Aurora::Blower::PSC
Instance Attribute Details
#aux_heat_speed ⇒ Object (readonly)
Returns the value of attribute aux_heat_speed.
54 55 56 |
# File 'lib/aurora/blower.rb', line 54 def aux_heat_speed @aux_heat_speed end |
#blower_only_speed ⇒ Object (readonly)
Returns the value of attribute blower_only_speed.
54 55 56 |
# File 'lib/aurora/blower.rb', line 54 def blower_only_speed @blower_only_speed end |
#high_compressor_speed ⇒ Object (readonly)
Returns the value of attribute high_compressor_speed.
54 55 56 |
# File 'lib/aurora/blower.rb', line 54 def high_compressor_speed @high_compressor_speed end |
#iz2_desired_speed ⇒ Object (readonly)
Returns the value of attribute iz2_desired_speed.
54 55 56 |
# File 'lib/aurora/blower.rb', line 54 def iz2_desired_speed @iz2_desired_speed end |
#low_compressor_speed ⇒ Object (readonly)
Returns the value of attribute low_compressor_speed.
54 55 56 |
# File 'lib/aurora/blower.rb', line 54 def low_compressor_speed @low_compressor_speed end |
#speed ⇒ Object (readonly)
Returns the value of attribute speed.
54 55 56 |
# File 'lib/aurora/blower.rb', line 54 def speed @speed end |
Instance Method Details
#refresh(registers) ⇒ Object
71 72 73 74 75 76 77 78 79 80 |
# File 'lib/aurora/blower.rb', line 71 def refresh(registers) super @speed = registers[344] @blower_only_speed = registers[340] @low_compressor_speed = registers[341] @high_compressor_speed = registers[342] @aux_heat_speed = registers[347] @iz2_desired_speed = registers[565] if abc.iz2? end |
#registers_to_read ⇒ Object
65 66 67 68 69 |
# File 'lib/aurora/blower.rb', line 65 def registers_to_read result = super + [340..342, 344, 347] result << 565 if abc.iz2? result end |
#speed_range ⇒ Object
61 62 63 |
# File 'lib/aurora/blower.rb', line 61 def speed_range 0..12 end |