Index: TDDefs.h =================================================================== diff -u -r216279e6c972c98e198c0c3a0069fac0114ee89f -r83ac225bfa686b4fd1a687c90487ce692e20c0bb --- TDDefs.h (.../TDDefs.h) (revision 216279e6c972c98e198c0c3a0069fac0114ee89f) +++ TDDefs.h (.../TDDefs.h) (revision 83ac225bfa686b4fd1a687c90487ce692e20c0bb) @@ -8,7 +8,7 @@ * @file TDDefs.h * * @author (last) Praneeth Bunne -* @date (last) 31-Jul-2026 +* @date (last) 07-Aug-2026 * * @author (original) Sean Nash * @date (original) 01-Aug-2024 @@ -59,11 +59,10 @@ POST_STATE_BLOOD_FLOW, ///< Run blood flow test state POST_STATE_VALVES, ///< Run valves test state POST_STATE_SYRINGE_PUMP, ///< Run syringe pump test state - POST_STATE_PRES_OCCL, ///< Run pressure occlusion state + POST_STATE_PRESSURE, ///< Run pressure state POST_STATE_ALARM_AUDIO, ///< Run alarm audio test state POST_STATE_ALARM_LAMP, ///< Run alarm lamp test state POST_STATE_TEMPERATURES, ///< Run temperatures POST state - POST_STATE_FANS, ///< Run fans POST state POST_STATE_STUCK_BUTTON, ///< Run stuck button test state POST_STATE_UI_POST, ///< Check whether UI passed its POST tests POST_STATE_FW_COMPATIBILITY, ///< Run firmware compatibility test state @@ -222,12 +221,10 @@ /// Enumeration of dry self-tests sub-mode states. enum TD_Pre_Treatment_Dry_Self_Tests_States { - DRY_SELF_TESTS_START_STATE = 0, ///< Dry self-tests start state - DRY_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE, ///< Wait for door close state - DRY_SELF_TESTS_USED_TUBE_SET_CHECK_STATE, ///< Used tube set check state - DRY_SELF_TESTS_TUBE_SET_LOADED_CHECK_STATE, ///< Tube set loaded check state - DRY_SELF_TESTS_TUBE_SET_AUTHENTICATION_STATE, ///< Tube set authentication state - DRY_SELF_TESTS_SYRINGE_PUMP_SEEK_STATE, ///< Syringe pump seek state + DRY_SELF_TESTS_WAIT_FOR_DOOR_CLOSE_STATE = 0, ///< Wait for door close state + DRY_SELF_TESTS_USED_TUBING_SET_CHECK_STATE, ///< Used tube set check state + DRY_SELF_TESTS_TUBING_SET_LOADED_CHECK_STATE, ///< Tube set loaded check state + DRY_SELF_TESTS_TUBING_SET_AUTHENTICATION_STATE, ///< Tube set authentication state DRY_SELF_TESTS_PRESSURE_SENSOR_NORMAL_SETUP_STATE, ///< Pressure sensor normal setup state DRY_SELF_TESTS_PRESSURE_VENOUS_SETUP_STATE, ///< Pressure venous setup state DRY_SELF_TESTS_VENOUS_PRESSURE_STABILIZATION_STATE, ///< Venous pressure stabilization state @@ -237,8 +234,6 @@ DRY_SELF_TESTS_ARTERIAL_PRESSURE_STABILIZATION_STATE, ///< Arterial pressure stabilization state DRY_SELF_TESTS_ARTERIAL_PRESSURE_LEAK_CHECK_STATE, ///< Arterial pressure leak check state DRY_SELF_TESTS_ARTERIAL_PRESSURE_RELIEF_STATE, ///< Arterial pressure relief state - DRY_SELF_TESTS_SYRINGE_PUMP_PRIME_STATE, ///< Syringe prime state - DRY_SELF_TESTS_SYRINGE_PUMP_OCCLUSION_CHECK_STATE, ///< Syringe pump occlusion check state DRY_SELF_TESTS_COMPLETE_STATE, ///< Complete state DRY_SELF_TESTS_STOPPED_STATE, ///< Stopped state NUM_OF_DRY_SELF_TESTS_STATES ///< Number of dry self-tests states @@ -450,6 +445,32 @@ /**@}*/ /** + * @addtogroup StateTxIsolatedUF + * @{ + */ + +/// Enumeration of isolated ultrafiltration states. +enum Isolated_UF_States +{ + ISOALTED_UF_RUNNING_STATE = 0, ///< Isolated UF is running. + ISOLATED_UF_PAUSE_STATE, ///< Isolated UF is paused. + NUM_OF_ISOLATED_UF_STATES ///< Number of isolated UF states. +}; +typedef enum Isolated_UF_States ISOLATED_UF_STATE_T; ///< Type for isolated UF state enumeration. + +/// Enumeration of isolated ultrafiltration command IDs. +enum ISO_UF_Commands +{ + ISO_UF_CMD_PAUSE = 0, ///< Pause isolated UF command. + ISO_UF_CMD_RESUME, ///< Resume isolated UF command. + ISO_UF_CMD_END, ///< End isolated UF command. + NUM_OF_ISO_UF_CMDS ///< Number of isolated UF commands. +}; +typedef enum ISO_UF_Commands ISO_UF_CMD_T; ///< Type for isolated UF command IDs enumeration. + +/**@}*/ + +/** * @addtogroup SyringePump * @{ */ @@ -837,13 +858,13 @@ /// Enumeration of generic confirmation request type from TD to UI. enum Generic_Confirm_Command { - GENERIC_CONFIRM_CMD_REQUEST_OPEN = 0, ///< Generic Confirm command to display the confirmation - GENERIC_CONFIRM_CMD_TIMEOUT_CLOSE = 1, ///< Generic Confirm command to hide the confirmation, due to timeout user confirmation - GENERIC_CONFIRM_CMD_REJECT = 2, ///< Generic Confirm command to display the confirmation rejection in case the request in not valid/accepted anymore. - GENERIC_CONFIRM_CMD_ACCEPT_CLOSE = 3, ///< Generic Confirm command to hide the confirmation, due to accept user confirmation. - NUM_OF_GENERIC_CONFIRM_COMMAND ///< Total number of generic confirm commands + GENERIC_CONFIRM_CMD_REQUEST_OPEN = 0, ///< Generic Confirm command to display the confirmation + GENERIC_CONFIRM_CMD_TIMEOUT_CLOSE = 1, ///< Generic Confirm command to hide the confirmation, due to timeout user confirmation + GENERIC_CONFIRM_CMD_REJECT = 2, ///< Generic Confirm command to display the confirmation rejection in case the request in not valid/accepted anymore. + GENERIC_CONFIRM_CMD_ACCEPT_CLOSE = 3, ///< Generic Confirm command to hide the confirmation, due to accept user confirmation. + NUM_OF_GENERIC_CONFIRM_COMMAND ///< Total number of generic confirm commands }; -typedef enum Generic_Confirm_Command GENERIC_CONFIRM_COMMAND_T; ///< Type for generic confirm enumeration +typedef enum Generic_Confirm_Command GENERIC_CONFIRM_COMMAND_T; ///< Type for generic confirm enumeration /**@}*/ @@ -856,7 +877,7 @@ enum Generic_Confirm_Id { GENERIC_CONFIRM_ID_NONE = 0, ///< Generic Confirm None - GENERIC_CONFIRM_ID_SHUT_DOWN, ///< Shutdown user confirmation + GENERIC_CONFIRM_ID_POWER_OFF, ///< Power Off, User confirmation GENERIC_CONFIRM_ID_TREATMENT_END, ///< End treatment user confirmation GENERIC_CONFIRM_ID_RINSEBACK, ///< Rinseback user confirmation GENERIC_CONFIRM_ID_TEMPORARY_BREAK, ///< Temporary break user confirmation