Index: firmware/App/Modes/ModeHeatDisinfect.h =================================================================== diff -u -r54f45c387430e440ab4607451fc84dea61f273f1 -r62a4d7b976107f7ac4d5013ce06f38f4a0bf65bd --- firmware/App/Modes/ModeHeatDisinfect.h (.../ModeHeatDisinfect.h) (revision 54f45c387430e440ab4607451fc84dea61f273f1) +++ firmware/App/Modes/ModeHeatDisinfect.h (.../ModeHeatDisinfect.h) (revision 62a4d7b976107f7ac4d5013ce06f38f4a0bf65bd) @@ -23,14 +23,26 @@ /** * @defgroup DGHeatDisinfectMode DGHeatDisinfectMode - * @brief Heat disinfection mode module. Manages the state machine for the heat disinfection mode. * + * @brief Heat disinfection mode module. Manages the state machine for the + * heat disinfect mode. + * * @addtogroup DGHeatDisinfectMode * @{ */ // ********** public definitions ********** +#pragma pack(push,1) +/// Heat disinfect data +typedef struct +{ + U32 internalState; ///< Internal state of heat disinfect state machine + F32 elapsedTimeMins; ///< Heat disinfect elapsed time in minutes + U32 currentCycle; ///< Current cycle of the heat disinfect +} DG_HEAT_DISINFECT_DATA_T; +#pragma pack(pop) + // ********** public function prototypes ********** void initHeatDisinfectMode( void ); // initialize this module @@ -39,6 +51,23 @@ DG_HEAT_DISINFECT_STATE_T getCurrentHeatDisinfectState( void ); // get the current state of the heat disinfect mode. +void stopDGHeatDisinfect( void ); + +BOOL testSetHeatDisinfectDataPublishIntervalOverride( U32 value ); +BOOL testResetHeatDisinfectDataPublishIntervalOverride( void ); + +BOOL testSetHeatDisinfectRecircDurationOverride( F32 recircMins ); +BOOL testResetHeatDisinfectRecircDurationOverride( void ); + +BOOL testSetHeatDisinfectR1ToR2DurationOverride( F32 R1ToR2Mins ); +BOOL testResetHeatDisinfectR1ToR2DurationOverride( void ); + +BOOL testSetHeatDisinfectionR2ToR1DurationOverride( F32 R2ToR1Mins ); +BOOL testResetHeatDisinfectionR2ToR1DurationOverride( void ); + +BOOL testSetHeatDisinfectNoOfCyclesOverride( U32 cycles ); +BOOL testResetHeatDisinfectNoOfCyclesOverride( void ); + /**@}*/ #endif