| 1234567891011121314151617181920212223242526272829303132 |
- /*
- * ValueMode.h
- *
- * Created on: 23.02.2022
- * Author: FSmilari
- */
-
- #ifndef VALUEMODE_H_
- #define VALUEMODE_H_
-
- #include <stdint.h>
- #include <WString.h>
-
- enum Mode {
- SLOW, FAST
- };
-
- class ValueMode {
-
- private:
- Mode valueMode;
-
- public:
- ValueMode(Mode mode);
- String toString();
- Mode getValueMode() const;
- void setValueMode(Mode valueMode);
- bool equals(ValueMode valueMode);
- bool isSlow();
- };
-
- #endif /* VALUEMODE_H_ */
|