solarpowerlog trunk
/home/tobi/workspace/solarpowerlog/src/Inverters/DummyInverter/CInverterDummy.h
Go to the documentation of this file.
00001 /*
00002  * CInverterDummy.h
00003  *
00004  *  Created on: 17.07.2011
00005  *      Author: tobi
00006  */
00007 
00008 #ifndef CINVERTERDUMMY_H_
00009 #define CINVERTERDUMMY_H_
00010 
00011 #ifdef HAVE_INV_DUMMY
00012 
00013 #include "Inverters/interfaces/InverterBase.h"
00014 
00015 class CInverterDummy: public IInverterBase
00016 {
00017 public:
00018      CInverterDummy(const string &name, const string & configurationpath);
00019 
00020      virtual ~CInverterDummy();
00021 
00022      virtual bool CheckConfig() {
00023           return this->connection->CheckConfig();
00024      }
00025 
00026      virtual void ExecuteCommand(const ICommand *Command);
00027 
00028 private:
00029      enum CMDs {
00030           CMD_INIT
00031      };
00032 
00033 };
00034 
00035 #endif /* HAVE_INV_DUMMY */
00036 
00037 #endif /* CINVERTERDUMMY_H_ */