Index: firmware/App/Modes/ModeChemicalDisinfect.h =================================================================== diff -u -r54f45c387430e440ab4607451fc84dea61f273f1 -r3f7d30b23906496854054949d4491f3bae6ef3c4 --- firmware/App/Modes/ModeChemicalDisinfect.h (.../ModeChemicalDisinfect.h) (revision 54f45c387430e440ab4607451fc84dea61f273f1) +++ firmware/App/Modes/ModeChemicalDisinfect.h (.../ModeChemicalDisinfect.h) (revision 3f7d30b23906496854054949d4491f3bae6ef3c4) @@ -31,6 +31,28 @@ // ********** public definitions ********** +/// Chemical disinfect data +typedef struct +{ + U32 chemDisinfectState; ///< Chemical disinfect state. + U32 overallElapsedTime; ///< Overall elapsed time in chemical disinfect mode. + U32 stateElapsedTime; ///< Current chemical disinfect elapsed time. + U32 cancellationMode; ///< Chemical disinfect cancellation mode. + F32 R1FillLevel; ///< Reservoir 1 level upon starting the chemical disinfect. + F32 R2FillLevel; ///< Reservoir 2 level upon starting the chemical disinfect. + U32 postDisinfectTargetRinseCount; ///< Target post disinfect rinse count. + U32 postDisinfectCurrentRinseCount; ///< Current post disinfect rinse count. + U32 chemDisinfectUIState; ///< Chemical disinfect UI state. +} MODE_CHEMICAL_DISINFECT_DATA_T; + +/// Chemical disinfect UI data +typedef struct +{ + U32 chemDisinfectTargetTime; ///< Target time during chemical disinfect. + U32 chemDisinfectElapsedTime; ///< Elapsed time during chemical disinfect. + +} MODE_CHEMICAL_DISINFECT_UI_DATA_T; + // ********** public function prototypes ********** void initChemicalDisinfectMode( void ); // initialize this module @@ -39,6 +61,8 @@ DG_CHEM_DISINFECT_STATE_T getCurrentChemicalDisinfectState( void ); // get the current state of the chemical disinfection mode. +BOOL stopChemicalDisinfect( void ); + /**@}*/ #endif