Index: App/Modes/OperationModes.h =================================================================== diff -u -r765d2c35118e202444e737c66c77faf9678cc87e -r894b734327eb6e7cfa6bf651623576bc10214195 --- App/Modes/OperationModes.h (.../OperationModes.h) (revision 765d2c35118e202444e737c66c77faf9678cc87e) +++ App/Modes/OperationModes.h (.../OperationModes.h) (revision 894b734327eb6e7cfa6bf651623576bc10214195) @@ -1,18 +1,18 @@ /*********************************************************************** -* -* Copyright Diality, Inc. 2019-2020. All Rights Reserved. -* 181 Technology, Ste. 150 -* Irvine, CA 92618 -* -* Project Denali -* -* @file OperationModes.h -* -* @brief Header file for Operation Modes. -* -* @date 19-Sep-2019 -* -*************************************************************************/ + * + * Copyright Diality, Inc. 2019-2020. All Rights Reserved. + * 181 Technology, Ste. 150 + * Irvine, CA 92618 + * + * Project Denali + * + * @file OperationModes.h + * + * @brief Header file for Operation Modes. + * + * @date 19-Sep-2019 + * + *************************************************************************/ #ifndef __OP_MODES_H__ #define __OP_MODES_H__ @@ -21,23 +21,23 @@ typedef enum Op_Modes // These are in order of priority (highest to lowest) { - MODE_FAUL = 0, // Fault - MODE_SERV, // Service - MODE_INIT, // Initialization & POST - MODE_STAN, // Standby - MODE_PRES, // Prescription - MODE_OPAR, // Operating Parameters - MODE_PRET, // Pre-Treatment - MODE_TREA, // Treatment - MODE_POST, // Post-Treatment - MODE_NLEG, // Not legal - NUM_OF_MODES + MODE_FAUL = 0, // Fault + MODE_SERV, // Service + MODE_INIT, // Initialization & POST + MODE_STAN, // Standby + MODE_PRES, // Prescription + MODE_OPAR, // Operating Parameters + MODE_PRET, // Pre-Treatment + MODE_TREA, // Treatment + MODE_POST, // Post-Treatment + MODE_NLEG, // Not legal + NUM_OF_MODES } OP_MODE; // ********** public function prototypes ********** void initOperationModes( void ); // initialize this module -void execOperationModes( void ); // execute the operation modes state machine (scheduled periodic call) +void execOperationModes( void ); // execute the operation modes state machine (scheduled periodic call) void requestNewOperationMode( OP_MODE newMode ); // request a transition to a new operation mode OP_MODE getCurrentOperationMode( void ); // get the current operation mode