2020-09-02 22:34:49 +03:00
|
|
|
#pragma once
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
#include "Class/LineParsing.h"
|
|
|
|
|
#include "Global.h"
|
|
|
|
|
|
2020-11-15 01:44:25 +03:00
|
|
|
//class InputClass : public LineParsing {
|
|
|
|
|
// public:
|
|
|
|
|
// InputClass() : LineParsing(){};
|
|
|
|
|
//
|
|
|
|
|
// void inputSetDefaultFloat() {
|
|
|
|
|
// inputSetFloat(_key, _state);
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// void inputSetDefaultStr() {
|
|
|
|
|
// inputSetStr(_key, _state);
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// void inputSetFloat(String key, String state) {
|
|
|
|
|
// eventGen2(key, state);
|
|
|
|
|
// jsonWriteFloat(configLiveJson, key, state.toFloat());
|
|
|
|
|
// publishStatus(key, state);
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// void inputSetStr(String key, String state) {
|
|
|
|
|
// eventGen2(key, state);
|
|
|
|
|
// jsonWriteStr(configLiveJson, key, state);
|
|
|
|
|
// publishStatus(key, state);
|
|
|
|
|
// }
|
|
|
|
|
//};
|
|
|
|
|
//
|
|
|
|
|
//extern InputClass myInput;
|