16 lines
266 B
C++
16 lines
266 B
C++
#include "TemperatureSensor.h"
|
|
|
|
TemperatureSensor::TemperatureSensor()
|
|
{
|
|
this->type = Thing::TemperatureSensorType;
|
|
}
|
|
|
|
float TemperatureSensor::InCelsius()
|
|
{
|
|
return this->temperature;
|
|
}
|
|
|
|
void* TemperatureSensor::GetValue() {
|
|
return &this->temperature;
|
|
}
|