Index: firmware/App/Services/StateServices/TubeSetInstall.h =================================================================== diff -u -r9cc543b1c2508280767573e20eddd94e68be1fb5 -r4c35d4de9fd7fccaf7aa4adb9a68115e823adf64 --- firmware/App/Services/StateServices/TubeSetInstall.h (.../TubeSetInstall.h) (revision 9cc543b1c2508280767573e20eddd94e68be1fb5) +++ firmware/App/Services/StateServices/TubeSetInstall.h (.../TubeSetInstall.h) (revision 4c35d4de9fd7fccaf7aa4adb9a68115e823adf64) @@ -32,15 +32,15 @@ // ********** public definitions ********** -/// Enumeration of Tube Set install sub-states. +/// Enumeration of Tube Set install sub-states. enum Tube_Set_Install_States { - TUBE_SET_INSTALL_STATE_AWAIT_TUBE_SET_CONFIRMATION = 0, // Awaiting user confirmation that tubeset is placed. - TUBE_SET_INSTALL_STATE_AWAIT_BP_DOOR_CLOSE, // Waiting for blood pump door to be closed. - TUBE_SET_INSTALL_STATE_AUTO_LOAD, // Auto-Load the tubeset state - TUBE_SET_INSTALL_STATE_AUTO_LOAD_BACK_OFF, // Auto-Load Back-off state - TUBE_SET_INSTALL_STATE_COMPLETE, // Install state complete - NUM_OF_TUBE_SET_INSTALL_SUB_STATES, // Num of install sub-states + TUBE_SET_INSTALL_STATE_AWAIT_TUBE_SET_CONFIRMATION = 0, ///< Awaiting user confirmation that tubeset is placed. + TUBE_SET_INSTALL_STATE_AWAIT_BP_DOOR_CLOSE, ///< Waiting for blood pump door to be closed. + TUBE_SET_INSTALL_STATE_AUTO_LOAD, ///< Auto-Load the tubeset state + TUBE_SET_INSTALL_STATE_AUTO_LOAD_BACK_OFF, ///< Auto-Load Back-off state + TUBE_SET_INSTALL_STATE_COMPLETE, ///< Install state complete + NUM_OF_TUBE_SET_INSTALL_SUB_STATES, ///< Num of install sub-states }; /// Type for tube set install states enumeration typedef enum Tube_Set_Install_States TUBE_SET_INSTALL_STATE_T; @@ -53,6 +53,9 @@ BOOL isTubeSetInstallComplete( void ); // Returns True once auto-load finished successfully BOOL handleAutoLoadRequest( MESSAGE_T *message ); // Handle UI auto-load confirmation request +void setTubeSetType( TUBE_SET_TYPE_T type ); // Set the current installed tube set type +TUBE_SET_TYPE_T getTubeSetType( void ); // Get the current installed tube set type + /**@}*/ #endif