Index: HDDefs.h =================================================================== diff -u -rf3a49849c4c4203eeb8e570b11dd7f9a787295a4 -ra2acf043b65112d1689b300c51c4751e0709da2d --- HDDefs.h (.../HDDefs.h) (revision f3a49849c4c4203eeb8e570b11dd7f9a787295a4) +++ HDDefs.h (.../HDDefs.h) (revision a2acf043b65112d1689b300c51c4751e0709da2d) @@ -745,13 +745,42 @@ }; typedef enum HD_Event_List HD_EVENT_ID_T; ///< Type for HD event list enumeration +/// Enumeration of generic confirmation request type from HD 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 +}; +typedef enum Generic_Confirm_Command GENERIC_CONFIRM_COMMAND_T; ///< Type for generic confirm enumeration + /**@}*/ /** * @addtogroup UIUserConfirm * @{ */ +/// Enumeration of generic confirmation id between HD and UI. +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 + +/**@}*/ + +/** + * @addtogroup UIUserConfirm + * @{ + */ + /// Enumeration of generic confirmation. enum Generic_Confirm_Command {