Index: MessagePayloads.h =================================================================== diff -u -r305aea4109b059859deb457ec4ecb682e28569be -rf0a3820c00047b880091e48c085b3c97c2e3b98f --- MessagePayloads.h (.../MessagePayloads.h) (revision 305aea4109b059859deb457ec4ecb682e28569be) +++ MessagePayloads.h (.../MessagePayloads.h) (revision f0a3820c00047b880091e48c085b3c97c2e3b98f) @@ -55,9 +55,19 @@ BOOL start; ///< Flag indicating whether to start pre-gen dialysate(TRUE) or stop (FALSE). } PRE_GEN_DIALYSATE_REQ_PAYLOAD_T; +/// Enumeration of operation modes. These are in order of priority (highest to lowest). +enum RO_Cmd_Ids +{ + RO_PRE_GEN = 0, ///< Pre Generate permeate water mode + RO_GEN_WATER, ///< Generate permeate water mode + NUM_OF_RO_CMD ///< Number of RO command IDs +}; +typedef enum RO_Cmd_Ids RO_CMD_ID; ///< Type for RO command IDS + /// Payload record structure for requesting RO water. typedef struct { + U32 cmdID; ///< Command id of Water Generation from the DD BOOL start; ///< Flag indicating whether to start/continue RO water delivery (TRUE) or stop (FALSE). U32 roRate; ///< Set RO water rate (mL/min). } RO_WATER_REQ_PAYLOAD_T;