fan: init wrapper class
This commit is contained in:
parent
e7298c7ada
commit
e4634a14e8
22
esp-vent-main/inc/Fan.h
Normal file
22
esp-vent-main/inc/Fan.h
Normal 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
18
esp-vent-main/src/Fan.cpp
Normal 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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user