fan: init wrapper class

This commit is contained in:
Vasily Davydov 2022-10-26 22:26:28 +03:00
parent e7298c7ada
commit e4634a14e8
2 changed files with 40 additions and 0 deletions

22
esp-vent-main/inc/Fan.h Normal file
View File

@ -0,0 +1,22 @@
/*
* Fan.h
*
* Created on: Oct 26, 2022
* Author: tylen
*/
#include "Modbus/ModbusRegister.h"
#ifndef FAN_H_
#define FAN_H_
class Fan {
public:
Fan(ModbusRegister * A01);
virtual ~Fan();
private:
ModbusRegister * _A01;
};
#endif /* FAN_H_ */

18
esp-vent-main/src/Fan.cpp Normal file
View File

@ -0,0 +1,18 @@
/*
* Fan.cpp
*
* Created on: Oct 26, 2022
* Author: tylen
*/
#include "Fan.h"
Fan::Fan(ModbusRegister * A01) {
// TODO Auto-generated constructor stub
}
Fan::~Fan() {
// TODO Auto-generated destructor stub
}