From 79115386afc1dee957f77e9a82b5b9b2c5f347e6 Mon Sep 17 00:00:00 2001 From: sicarius Date: Tue, 16 Jan 2007 16:10:05 +0000 Subject: Changed some things in Concept directory --- source/Concept/Framework/sensor.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/Concept/Framework/sensor.h (limited to 'source/Concept/Framework/sensor.h') diff --git a/source/Concept/Framework/sensor.h b/source/Concept/Framework/sensor.h new file mode 100644 index 0000000..23e40e9 --- /dev/null +++ b/source/Concept/Framework/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 -- cgit v1.2.3