Index: firmware/App/Controllers/UVReactors.h =================================================================== diff -u -r86eec09ab556fbd970ddcae9dc622727928ee757 -r7d4711edd7b40cd3e29f43e766f79a8a09586fe9 --- firmware/App/Controllers/UVReactors.h (.../UVReactors.h) (revision 86eec09ab556fbd970ddcae9dc622727928ee757) +++ firmware/App/Controllers/UVReactors.h (.../UVReactors.h) (revision 7d4711edd7b40cd3e29f43e766f79a8a09586fe9) @@ -1,3 +1,19 @@ +/************************************************************************** +* +* Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. +* +* THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +* WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +* +* @file UVReactors.h +* +* @author (last) Dara Navaei +* @date (last) 17-Jan-2023 +* +* @author (original) Dara Navaei +* @date (original) 24-Nov-2020 +* +***************************************************************************/ #ifndef APP_CONTROLLERS_UVREACTORS_H_ #define APP_CONTROLLERS_UVREACTORS_H_ @@ -22,6 +38,13 @@ NUM_OF_UV_REACTORS, ///< Number of UV reactors } UV_REACTORS_T; +/// List of reactor states. +typedef enum Switch_States +{ + TURN_OFF = 0, ///< Turn off + TURN_ON, ///< Turn on +} UV_REACTOR_STATES_T; + /// UV reactors health status typedef enum uv_reactors_health_status { @@ -52,6 +75,8 @@ BOOL turnOffUVReactor( UV_REACTORS_T reactor ); +void resetUVReactorsPOSTState( void ); + BOOL testSetReactorsDataPublishInterval( U32 value ); BOOL testResetReactorsDataPublishInterval( void );