Index: HDDefs.h =================================================================== diff -u -r01c50667ec8135098adb6442639fd2044a2161ec -rea3bf36d20d92e24829b2816bd4cc486dde3ef2b --- HDDefs.h (.../HDDefs.h) (revision 01c50667ec8135098adb6442639fd2044a2161ec) +++ HDDefs.h (.../HDDefs.h) (revision ea3bf36d20d92e24829b2816bd4cc486dde3ef2b) @@ -314,6 +314,37 @@ }; typedef enum Bicarb_Concentrates BICARB_CONCENTRATE_TYPE_T; ///< Type for bicarbonate concentrates enumeration +/// Enumeration of heparin states. +enum Heparin_States +{ + HEPARIN_STATE_OFF = 0, ///< No heparin delivery is in progress + HEPARIN_STATE_PAUSED, ///< Heparin delivery paused + HEPARIN_STATE_INITIAL_BOLUS, ///< Initial heparin bolus delivery in progress + HEPARIN_STATE_DISPENSING, ///< Gradual heparin dispensing in progress + HEPARIN_STATE_COMPLETED, ///< Heparin delivery stopped due to the set stop time before treatment end + HEPARIN_STATE_EMPTY, ///< Heparin Syringe empty + NUM_OF_HEPARIN_STATES ///< Number of saline bolus states +}; +typedef enum Heparin_States HEPARIN_STATE_T; ///< Type for heparin state enumeration + +/// Enumeration of heparin command IDs. +enum Heparin_Commands +{ + HEPARIN_CMD_PAUSE = 0, ///< Pause Heparin command + HEPARIN_CMD_RESUME, ///< Resume Heparin command + NUM_OF_HEPARIN_CMDS ///< Number of Heparin commands +}; +typedef enum Heparin_Commands HEPARIN_CMD_T; ///< Type for HEPARIN command IDs enumeration + +/// Enumeration of start/stop command parameters. +enum Saline_Commands +{ + SALINE_CMD_STOP = 0, ///< Start command + SALINE_CMD_START, ///< Stop command + NUM_OF_SALINE_CMDS ///< Number of start/stop command parameters +}; +typedef enum Saline_Commands SALINE_CMD_T; ///< Type for saline command enum. + /**@}*/ #endif