Index: HDDefs.h =================================================================== diff -u -rc1f28621ec5b4ca6ea1902e91de1abf4207ad934 -r23346b31cb6b8341a682330d418bdfccb108242b --- HDDefs.h (.../HDDefs.h) (revision c1f28621ec5b4ca6ea1902e91de1abf4207ad934) +++ HDDefs.h (.../HDDefs.h) (revision 23346b31cb6b8341a682330d418bdfccb108242b) @@ -394,6 +394,7 @@ DIALYSIS_START_STATE = 0, ///< Start state of the dialysis sub-mode state machine DIALYSIS_UF_STATE, ///< Ultrafiltration state of the dialysis sub-mode state machine DIALYSIS_SALINE_BOLUS_STATE, ///< Saline bolus state of the dialysis sub-mode state machine + DIALYSIS_DIALYZER_REPRIME_STATE, ///< Dialyzer reprime state of the dialysis sub-mode state machine NUM_OF_DIALYSIS_STATES ///< Number of dialysis sub-mode states }; typedef enum Dialysis_States DIALYSIS_STATE_T; ///< Type for dialysis states enumeration @@ -427,6 +428,18 @@ }; typedef enum Saline_Commands SALINE_CMD_T; ///< Type for saline command enum. +/// Enumeration of dialyzer reprime states. +enum Dialyzer_Reprime_States +{ + DIALYZER_REPRIME_STATE_DIALYSATE_PUMPS_OFF = 0, ///< Turn off dialysate pumps and wait for them to stop + DIALYZER_REPRIME_STATE_PURGE_PRIOR_1, ///< Purge air from an interrupted reprime + DIALYZER_REPRIME_STATE_PURGE_PRIOR_2, ///< Purge air from an interrupted reprime + DIALYZER_REPRIME_STATE_REPRIME, ///< Remove air from dialyzer + DIALYZER_REPRIME_STATE_PURGE_LINES, ///< Purge air from lines after repriming dialyzer + NUM_OF_DIALYZER_REPRIME_STATES ///< Number of dialyzer reprime states +}; +typedef enum Dialyzer_Reprime_States DIALYZER_REPRIME_STATE_T; ///< Type for dialyzer reprime state enumeration + /// Enumeration of ultrafiltration command IDs. enum UF_Commands {