mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
21 lines
359 B
C
21 lines
359 B
C
|
|
#ifdef EnableOutput
|
||
|
|
#pragma once
|
||
|
|
#include <Arduino.h>
|
||
|
|
#include "Global.h"
|
||
|
|
class Output;
|
||
|
|
typedef std::vector<Output> MyOutputVector;
|
||
|
|
|
||
|
|
class Output {
|
||
|
|
public:
|
||
|
|
Output(String key);
|
||
|
|
~Output();
|
||
|
|
void execute(String value);
|
||
|
|
private:
|
||
|
|
String _key;
|
||
|
|
};
|
||
|
|
extern MyOutputVector* myOutput;
|
||
|
|
extern void outputValue();
|
||
|
|
extern void outputExecute();
|
||
|
|
#endif
|
||
|
|
|