Index: sources/model/dg/adjustment/settings/MAdjustDGRequests.h =================================================================== diff -u -r95c2b1e716dedddbde9aa2176e746ed485a36944 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/model/dg/adjustment/settings/MAdjustDGRequests.h (.../MAdjustDGRequests.h) (revision 95c2b1e716dedddbde9aa2176e746ed485a36944) +++ sources/model/dg/adjustment/settings/MAdjustDGRequests.h (.../MAdjustDGRequests.h) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \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 MAdjustDGRequests.h * \author (last) Behrouz NematiPour - * \date (last) 18-Apr-2022 + * \date (last) 27-May-2023 * \author (original) Behrouz NematiPour * \date (original) 16-Apr-2021 * @@ -32,7 +32,7 @@ */ /*! - * \brief The MAdjustDGDateTime class + * \brief The MAdjustDGDateTimeReq class * \details The model to request starting a treatment * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | @@ -59,6 +59,31 @@ static Can::Can_Id canid () { return Can::Can_Id::eChlid_UI_DG; } }; +/*! + * \brief The MAdjustDGCleaningUsageReq class + * \details The model to request DG Cleaning Usage + * + * | MSG | Type | Ack | Src | Dest | Description | + * |:----:|:----:|:---:|:---:|:----:|:-----------:| + * | 0xB8 | Req | Y | UI | DG | DGCleaningUsage | + * + * | Payload || + * | || + * + */ +class MAdjustDGCleaningUsageReq : public MModel { +public: + QString toString() { + return toString({}); + } + + static QString toString(const QVariantList &vParameters) { + return MModel::toString("DGCleaningUsage", vParameters); + } + + static Can::Can_Id canid () { return Can::Can_Id::eChlid_UI_DG; } +}; } -typedef Model::MAdjustDGDateTimeReq AdjustDGDateTimeRequestData; +typedef Model::MAdjustDGDateTimeReq AdjustDGDateTimeRequestData; +typedef Model::MAdjustDGCleaningUsageReq AdjustDGCleaningUsageRequestData;