Index: HDDefs.h =================================================================== diff -u -rb2d8d1109d4b5dc3c73443d8243602ff15eff457 -r1c36cebf96d87d24e09b7219919d0cdf34b4528d --- HDDefs.h (.../HDDefs.h) (revision b2d8d1109d4b5dc3c73443d8243602ff15eff457) +++ HDDefs.h (.../HDDefs.h) (revision 1c36cebf96d87d24e09b7219919d0cdf34b4528d) @@ -7,8 +7,8 @@ * * @file HDDefs.h * -* @author (last) Dong Nguyen -* @date (last) 14-Sep-2022 +* @author (last) Behrouz NematiPour +* @date (last) 04-Oct-2022 * * @author (original) Sean Nash * @date (original) 29-May-2020 @@ -747,4 +747,40 @@ /**@}*/ +/** + * @addtogroup UIUserConfirm + * @{ + */ + +/// Enumeration of generic confirmation. +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 +}; +typedef enum Generic_Confirm_Command GENERIC_CONFIRM_COMMAND_T; ///< Type for generic confirm enumeration + +/**@}*/ + +/** + * @addtogroup UIUserConfirm + * @{ + */ + +/// Enumeration of generic confirmation. +enum Generic_Confirm_Id +{ + GENERIC_CONFIRM_ID_NONE = 0, ///< Generic Confirm None + 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 + 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 + +/**@}*/ + #endif Index: MsgDefs.h =================================================================== diff -u -r5c75b8c0b97cc94a707d785009fa5525c9488fde -r1c36cebf96d87d24e09b7219919d0cdf34b4528d --- MsgDefs.h (.../MsgDefs.h) (revision 5c75b8c0b97cc94a707d785009fa5525c9488fde) +++ MsgDefs.h (.../MsgDefs.h) (revision 1c36cebf96d87d24e09b7219919d0cdf34b4528d) @@ -8,8 +8,8 @@ * * @file MsgDefs.h * -* @author (last) Dara Navaei -* @date (last) 06-Sep-2022 +* @author (last) Sean Nash +* @date (last) 26-Sep-2022 * * @author (original) Sean * @date (original) 27-Feb-2020 @@ -354,6 +354,9 @@ MSG_ID_HD_SET_BLOOD_LEAK_EMB_MODE_COMMAND = 0x8082, ///< HD set blood leak embedded mode command MSG_ID_HD_SEND_BLOOD_LEAK_EMB_MODE_RESPONSE = 0x8083, ///< HD send blood leak embedded mode response MSG_ID_HD_SEND_ALARMS_COMMAND = 0x8084, ///< HD re-send trigger messages for all active alarms request + MSG_ID_HD_BLOOD_PUMP_SET_PWM = 0x8085, ///< HD set blood pump to specific PWM duty cycle request + MSG_ID_HD_DIAL_IN_SET_PWM = 0x8086, ///< HD set dialysate inlet pump to specific PWM duty cycle request + MSG_ID_HD_DIAL_OUT_SET_PWM = 0x8087, ///< HD set dialysate outlet pump to specific PWM duty cycle request MSG_ID_FIRST_DG_TESTER_MESSAGE = 0xA000, ///< First DG test message ID MSG_ID_DG_TESTER_LOGIN_REQUEST = MSG_ID_FIRST_DG_TESTER_MESSAGE, ///< DG tester log-in