summaryrefslogtreecommitdiffstats
path: root/source/Concept/sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Concept/sensor.h')
-rw-r--r--source/Concept/sensor.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source/Concept/sensor.h b/source/Concept/sensor.h
new file mode 100644
index 0000000..23e40e9
--- /dev/null
+++ b/source/Concept/sensor.h
@@ -0,0 +1,29 @@
+#ifndef _SENSOR_H
+#define _SENSOR_H
+
+#include "stdafx.h"
+
+class Sensor : public IO_Module
+{
+public:
+ Sensor()
+ {
+ }
+
+ Sensor(uint32 sensorId, SensorTypes sensorType)
+ {
+ this->moduleId = sensorId;
+ this->sensorType = sensorType;
+ }
+
+protected:
+ SensorTypes sensorType;
+
+public:
+ SensorTypes GetType()
+ {
+ return sensorType;
+ }
+};
+
+#endif \ No newline at end of file