summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Concept/Framework/sensor.h')
-rw-r--r--source/Concept/Framework/sensor.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/source/Concept/Framework/sensor.h b/source/Concept/Framework/sensor.h
index 117f446..62f2165 100644
--- a/source/Concept/Framework/sensor.h
+++ b/source/Concept/Framework/sensor.h
@@ -1,7 +1,8 @@
#ifndef _SENSOR_H
#define _SENSOR_H
-#include "stdafx.h"
+#include "defines.h"
+#include "io_module.h"
class Sensor : public IO_Module
{
@@ -9,23 +10,18 @@ public:
Sensor()
{
this->parent = NULL;
+ this->moduleId = 0;
}
- Sensor(uint32 sensorId, SensorTypes sensorType)
+ Sensor(uint32 sensorId)
{
this->parent = NULL;
this->moduleId = sensorId;
- this->sensorType = sensorType;
}
protected:
- SensorTypes sensorType;
public:
- SensorTypes GetType()
- {
- return sensorType;
- }
};
#endif