You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BoilerTankModeEditorActivity.h 664B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <stdint.h>
  3. #include "BaseActivity.h"
  4. #include "Boiler.h"
  5. class BoilerTankModeEditorActivity
  6. : public BaseActivity
  7. {
  8. public:
  9. explicit BoilerTankModeEditorActivity(
  10. IActivity* mParentActivity
  11. , IActivity* mPreviousActivity
  12. , IActivity* mNextActivity
  13. , const char* line1
  14. , BoilerTankState::Mode* value
  15. );
  16. void begin() override;
  17. protected:
  18. void getLcdText(char** lines) override;
  19. void onButtonReleased(Button button) override;
  20. const char* m_line1;
  21. BoilerTankState::Mode* m_value;
  22. BoilerTankState::Mode m_tmpValue;
  23. bool m_isEditMode;
  24. };