Index: sources/gui/guiglobals.h =================================================================== diff -u -rb798668f16ad0967ab97e96f5f9a2cdd821e899f -ra159e12630645a9a35fb0a5585cc7b639cfe6aa6 --- sources/gui/guiglobals.h (.../guiglobals.h) (revision b798668f16ad0967ab97e96f5f9a2cdd821e899f) +++ sources/gui/guiglobals.h (.../guiglobals.h) (revision a159e12630645a9a35fb0a5585cc7b639cfe6aa6) @@ -65,9 +65,13 @@ TreatmentState = 0x0F00, // 15 + UltrafiltrationState = 0x1000, // 16 + String = 0xFFFE, Acknow = 0xFFFF, + AcknowGeneric = 0x0000, //< Generic Acknowledgment is not a unique message ID and inherits its Id from the actual message. Zero is a placeholder + }; enum class GuiActionsData_Enum /*: quint8 QML doesn't support*/ { @@ -76,14 +80,19 @@ Command = 0x00, // HD=>UI : should be handled in receive Request = 0x00, // UI=>HD : should be handled in transmit - // Power-Off Data // UI=>HD : should be handled in transmit + // UI=>HD : should be handled in transmit Accepted = 0x01, Rejected = 0x02, + // Ultrafiltration State + Pause = 0x00, + Resume = 0x01, + // Power-Off Data // HD=>UI : should be handled in receive Timeout = 0x01, }; + Q_ENUM(GuiActionsType_Enum) Q_ENUM(GuiActionsData_Enum) @@ -93,6 +102,8 @@ #include "MsgDefs.h" Q_ENUM(Request_Reject_Reasons) + + }; // to be able to use the enum as signal/slot parameter