out_multivent.h
Go to the documentation of this file.
#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 Status() override;
//int isActive() override;
int getChanType() override;
int getDefaultStorageType(){return ST_PERCENTS255;};
int Ctrl(itemCmd cmd, char* subItem=NULL, bool toExecute=true) override;
protected:
void getConfig();
aJsonObject * gatesObj;
};
#endif
itemCmd.h
itemCmd
Definition: itemCmd.h:153
out_Multivent::gatesObj
aJsonObject * gatesObj
Definition: out_multivent.h:25
out_Multivent::Setup
int Setup() override
Remove?? Now getChanType used instead.
Definition: out_multivent.cpp:20
options.h
abstractOut
Definition: abstractout.h:8
ST_PERCENTS255
#define ST_PERCENTS255
Definition: itemCmd.h:83
out_Multivent::out_Multivent
out_Multivent(Item *_item)
Definition: out_multivent.h:14
out_Multivent::Poll
int Poll(short cause) override
Definition: out_multivent.cpp:85
out_Multivent::Stop
int Stop() override
Definition: out_multivent.cpp:58
out_Multivent::getChanType
int getChanType() override
Definition: out_multivent.cpp:90
Item
Definition: item.h:104
out_Multivent::getDefaultStorageType
int getDefaultStorageType()
Definition: out_multivent.h:21
out_Multivent
Definition: out_multivent.h:11
abstractout.h
out_Multivent::Status
int Status() override
Definition: out_multivent.cpp:65
out_Multivent::Ctrl
int Ctrl(itemCmd cmd, char *subItem=NULL, bool toExecute=true) override
Definition: out_multivent.cpp:97
out_Multivent::getConfig
void getConfig()
Definition: out_multivent.cpp:13
item.h