// // Created by robin on 1/27/20. // #ifndef HEATER_BOILER_H #define HEATER_BOILER_H typedef char temp_t; enum UiStateEnum { Hibernate, Lighting, WaterSetting, HeaterSetting }; struct UiState { UiStateEnum state; unsigned long lastOpMs; unsigned modeSequenceIndex; }; struct BoilerLineState { temp_t current; temp_t setting; bool isActive; }; struct BoilerState { BoilerLineState water; BoilerLineState heater; UiState uiState; }; #endif //HEATER_BOILER_H