Index: firmware/App/Services/StateServices/TubeSetInstall.h =================================================================== diff -u -r9cc543b1c2508280767573e20eddd94e68be1fb5 -rc2951f468ebc19160ee9af14cc9c35bc16121889 --- firmware/App/Services/StateServices/TubeSetInstall.h (.../TubeSetInstall.h) (revision 9cc543b1c2508280767573e20eddd94e68be1fb5) +++ firmware/App/Services/StateServices/TubeSetInstall.h (.../TubeSetInstall.h) (revision c2951f468ebc19160ee9af14cc9c35bc16121889) @@ -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,10 @@ 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 TODO: Call this after implementing bar code logic +TUBE_SET_TYPE_T getTubeSetType( void ); // Get the current installed tube set type +void validateTubeSetType( void ); // Validate tube set type with the modality TODO: call this after implementing bar code logic and setting the tube set type + /**@}*/ #endif