Index: TDDefs.h =================================================================== diff -u -r15186d102fa5a88854c6002cc0bd6b7243e83513 -r120fd7ca81fcac1afc909da35dca50ab6c8c4c00 --- TDDefs.h (.../TDDefs.h) (revision 15186d102fa5a88854c6002cc0bd6b7243e83513) +++ TDDefs.h (.../TDDefs.h) (revision 120fd7ca81fcac1afc909da35dca50ab6c8c4c00) @@ -7,8 +7,8 @@ * * @file TDDefs.h * -* @author (last) Vijay Pamula -* @date (last) 07-Jul-2026 +* @author (last) suresh +* @date (last) 05-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 @@ -445,6 +444,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 * @{ */ @@ -537,7 +562,6 @@ RINSEBACK_PAUSED_STATE, ///< Rinseback paused state of the rinseback sub-mode state machine RINSEBACK_STOP_STATE, ///< Rinseback stopped (done) state of the rinseback sub-mode state machine RINSEBACK_RUN_ADDITIONAL_STATE, ///< Additional rinseback volume (10 mL) state of the rinseback sub-mode state machine - RINSEBACK_RECONNECT_PATIENT_STATE, ///< Rinseback patient reconnect state of the rinseback sub-mode state machine NUM_OF_RINSEBACK_STATES ///< Number of rinseback sub-mode states }; typedef enum Rinseback_States RINSEBACK_STATE_T; ///< Type for rinseback states enumeration. @@ -550,11 +574,9 @@ REQUESTED_USER_ACTION_RINSEBACK_DECREASE_RATE = 2, ///< User requests decrease in rinseback flow rate REQUESTED_USER_ACTION_RINSEBACK_PAUSE = 3, ///< User requests to pause rinseback operation REQUESTED_USER_ACTION_RINSEBACK_RESUME = 4, ///< User requests to resume rinseback operation - REQUESTED_USER_ACTION_RINSEBACK_END = 5, ///< User requests to end the rinseback operation - REQUESTED_USER_ACTION_RINSEBACK_ADDITIONAL = 6, ///< User requests an additional 10 mL of rinseback volume - REQUESTED_USER_ACTION_RINSEBACK_CONFIRM_DISCONNECT = 7, ///< User confirms patient disconnected, saline bag clamped, re-connected to VBA, un-clamped, and lines shunted to start re-circulation - REQUESTED_USER_ACTION_RINSEBACK_END_TREATMENT = 8, ///< User requests to end treatment - REQUESTED_USER_ACTION_RINSEBACK_BACK_TO_TREATMENT = 9, ///< User requests to return to treatment + REQUESTED_USER_ACTION_RINSEBACK_ADDITIONAL = 5, ///< User requests an additional 10 mL of rinseback volume + REQUESTED_USER_ACTION_RINSEBACK_CONFIRM_RECIRCULATE = 6, ///< User requests to recirculate + REQUESTED_USER_ACTION_RINSEBACK_END_TREATMENT = 7, ///< User requests to end treatment NUM_OF_REQUESTED_RINSEBACK_USER_ACTIONS ///< Number of requested rinseback user actions }; /// Type for requested user actions enumeration. @@ -691,6 +713,7 @@ TREATMENT_PARAM_HEART_RATE_LOW_ALARM_LIMIT, ///< Heart rate low alarm limit (BPM) TREATMENT_PARAM_HEART_RATE_HIGH_ALARM_LIMIT, ///< Heart rate high alarm limit (BPM) TREATMENT_PARAM_PRES_ALARM_PERSISTENCE, ///< Pressure alarms persistence (seconds) + TREATMENT_PARAM_TEMPORARY_BREAK_RECIRC_TIMEOUT, ///< Re-circulation timeout (minutes) NUM_OF_SYS_CONFIG_TREATMENT_PARAMS ///< Total number of treatment parameters }; typedef enum System_Config_Treatment_Params SYS_CONFIG_TREATMENT_PARAM_T; ///< Type for system configured treatment parameters enumeration @@ -834,13 +857,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 /**@}*/ @@ -853,15 +876,19 @@ enum Generic_Confirm_Id { GENERIC_CONFIRM_ID_NONE = 0, ///< Generic Confirm None + GENERIC_CONFIRM_ID_POWER_OFF, ///< Power Off, User confirmation + GENERIC_CONFIRM_ID_TREATMENT_END, ///< End treatment user confirmation GENERIC_CONFIRM_ID_DISINFECT_STOP_WATERFLUSH, ///< Water flush stop user confirmation GENERIC_CONFIRM_ID_DISINFECT_STOP_HEAT, ///< Heat disinfect stop user confirmation GENERIC_CONFIRM_ID_DISINFECT_STOP_CHEMICAL, ///< Chemical disinfect stop user confirmation GENERIC_CONFIRM_ID_DISINFECT_STOP_CHEMICAL_FLUSH, ///< Chemical disinfect flush stop user confirmation GENERIC_CONFIRM_ID_DISINFECT_CHEM_FLUSH_SAMPLE_PASS_FAIL, ///< Chemical disinfect sample flush pass/fail - GENERIC_CONFIRM_ID_TREATMENT_END, ///< End treatment user confirmation GENERIC_CONFIRM_ID_DISINFECT_STOP_ACTIVE_COOL, ///< Active cool stop user confirmation GENERIC_CONFIRM_ID_DISINFECT_STOP_RO_PERMEATE_SAMPLE, ///< RO permeate sample stop user confirmation GENERIC_CONFIRM_ID_RO_PERMEATE_SAMPLE_STOP_OR_DISPENSE, ///< RO permeate sample stop or dispense + GENERIC_CONFIRM_ID_SHUT_DOWN, ///< Shutdown user confirmation + GENERIC_CONFIRM_ID_RINSEBACK, ///< Rinseback user confirmation + GENERIC_CONFIRM_ID_TEMPORARY_BREAK, ///< Temporary break user confirmation NUM_OF_GENERIC_CONFIRM_IDS, ///< Total number of generic confirm IDs }; typedef enum Generic_Confirm_Id GENERIC_CONFIRM_ID_T; ///< Type for generic confirm enumeration