update handle noxLearningOffset and tvocLearningOffset configuration

This commit is contained in:
Phat Nguyen
2024-04-14 21:30:56 +07:00
parent ccee987d05
commit 6e1ac26187
5 changed files with 79 additions and 4 deletions

View File

@ -33,6 +33,8 @@ private:
bool ledBarTestRequested;
bool udpated;
String failedMessage;
bool _noxLearnOffsetChanged;
bool _tvocLearningOffsetChanged;
String getLedBarModeName(LedBarMode mode);
void saveConfig(void);
@ -73,6 +75,10 @@ public:
bool isUpdated(void);
String getFailedMesage(void);
void setPostToAirGradient(bool enable);
bool noxLearnOffsetChanged(void);
bool tvocLearnOffsetChanged(void);
int getTvocLearningOffset(void);
int getNoxLearningOffset(void);
};
#endif /** _AG_CONFIG_H_ */