mirror of
https://github.com/anklimov/lighthub
synced 2025-12-07 12:19:49 +03:00
27 lines
659 B
C++
27 lines
659 B
C++
#pragma once
|
|
#include "options.h"
|
|
#ifndef MULTIVENT_DISABLE
|
|
#include <abstractout.h>
|
|
#include <item.h>
|
|
#include "itemCmd.h"
|
|
|
|
|
|
//static int8_t motorQuote = 0;
|
|
|
|
class out_Multivent : public abstractOut {
|
|
public:
|
|
|
|
out_Multivent(Item * _item):abstractOut(_item){getConfig();};
|
|
int Setup() override;
|
|
int Poll(short cause) override;
|
|
int Stop() override;
|
|
//int isActive() override;
|
|
int getChanType() override;
|
|
//int getDefaultStorageType(){return ST_PERCENTS255;};
|
|
int Ctrl(itemCmd cmd, char* subItem=NULL, bool toExecute=true, bool authorized = false) override;
|
|
protected:
|
|
void getConfig();
|
|
aJsonObject * gatesObj;
|
|
};
|
|
#endif
|