|
|
@ -11,6 +11,9 @@ public class ActModuleTestCardBoxCaseTemperature extends ActuatorBase { |
|
|
|
|
|
|
|
// get temperature |
|
|
|
public Double getTemperature() { |
|
|
|
if ( !this.getDevice().enable ) { |
|
|
|
return 99.99; |
|
|
|
} |
|
|
|
Integer rawTemperature = this.getRegister(ActModuleTestCardBoxCaseTemperature.REG_SENSOR_TEMPERATURE_2); |
|
|
|
return rawTemperature.doubleValue() / 100.0; |
|
|
|
} |
|
|
|