Index: sources/gui/guiglobals.h =================================================================== diff -u -r5ff0e21667deda23a6bd7b4e95dabf5b480dc593 -rb798668f16ad0967ab97e96f5f9a2cdd821e899f --- sources/gui/guiglobals.h (.../guiglobals.h) (revision 5ff0e21667deda23a6bd7b4e95dabf5b480dc593) +++ sources/gui/guiglobals.h (.../guiglobals.h) (revision b798668f16ad0967ab97e96f5f9a2cdd821e899f) @@ -1,18 +1,14 @@ /*! * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. - * copyright - + * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, - * IN PART OR IN WHOLE, - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * - * file guiglobals.h - * date 10/27/2019 - * author Behrouz NematiPour + * \file guiglobals.h + * \date 10/27/2019 + * \author Behrouz NematiPour * */ #pragma once @@ -35,13 +31,12 @@ * \details * *** This enum could use the Msg_IDs enum in MsgDefs.h, ***\n * *** But that enum has values in Normal (BigEndian) ***\n - * *** So it has to be converted, each time it is refferenced. ***\n + * *** So it has to be converted, each time it is referenced. ***\n * *** Since an enum is a constant value, ***\n - * *** I don't see any point in calculating it on each reference. ***\n - * *** Therefore I preffered to keep them as constant values ***\n - * *** Exactly as it is goint to be shown/used in denali messages ***\n + * *** There is no point in calculating it on each reference. ***\n + * *** Therefore it is preffered to keep them as constant values ***\n + * *** Exactly as it is going to be shown/used in denali messages ***\n * *** then it can be compared exactly the way it is with no conversion.***\n - * *** Also if anychanges happens here the code has to be revised anyway***\n */ enum GuiActionsType_Enum /*: quint16 QML doesn't support enum types */ { Unknown = 0x0000, @@ -63,8 +58,13 @@ AdjustBloodDialysateReq = 0x1700, // 23 AdjustBloodDialysateRsp = 0x1800, // 24 + AdjustDurationReq = 0x1600, // 22 + AdjustDurationRsp = 0x1B00, // 27 + TreatmentRanges = 0x1A00, // 26 + TreatmentState = 0x0F00, // 15 + String = 0xFFFE, Acknow = 0xFFFF,