Index: sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h =================================================================== diff -u -r4a67c01045f365be38f1a12a8572c0070d343e1e -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision 4a67c01045f365be38f1a12a8572c0070d343e1e) +++ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2021-2022 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 MPostTreatmentAdjustRequests.h * \author (last) Behrouz NematiPour - * \date (last) 11-Apr-2021 + * \date (last) 11-Aug-2023 * \author (original) Behrouz NematiPour * \date (original) 11-Apr-2021 * @@ -34,26 +34,46 @@ */ /*! - * \brief The MAdjustPatientDisconnectionConfirmReq class + * \brief The MAdjustPatientDisconnectionNotifyReq class * \details The model to Confirm Patient Disconnection * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:-----------:| - * |0x4A00| 0x100 | 9 | Req | Y | UI | HD | Patient Connection Begin Request | + * |0x4A00| 0x100 | 9 | Req | Y | UI | HD | Patient Disconnection Notify Request | * * | Payload || * | || * | None || * */ +class MAdjustPatientDisconnectionNotifyReq : public MModel { +public: + QString toString() { + return toString({}); + } + static QString toString(const QVariantList &vParameters) { + return MModel::toString("PatientDisconnectionNotify", vParameters); + } +}; + +/*! + * \brief The MAdjustPatientDisconnectionConfirmReq class + * \details The model to Confirm Patient Disconnection + * + * | MSG | CAN ID | Type | Ack | Src | Dest | Description | + * |:----:|:------:|:----:|:---:|:---:|:----:|:-----------:| + * |0x0600| 0x100 | Req | Y | UI | HD | Patient Disconnection Confirm Request | + * + * | Payload || + * | || + * | None || + * + */ class MAdjustPatientDisconnectionConfirmReq : public MModel { public: - // disabled coco begin validated : Has been validated manually. - // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({}); } - // disabled coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("PatientDisconnectionConfirm", vParameters); } @@ -74,12 +94,9 @@ */ class MAdjustDisposablesRemovalConfirmReq : public MModel { public: - // disabled coco begin validated : Has been validated manually. - // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({}); } - // disabled coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("DisposablesRemovalConfirm", vParameters); } @@ -100,19 +117,17 @@ */ class MAdjustTreatmentLogReq : public MModel { public: - // disabled coco begin validated : Has been validated manually. - // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({}); } - // disabled coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("TreatmentLog", vParameters); } }; } +typedef Model:: MAdjustPatientDisconnectionNotifyReq AdjustPatientDisconnectionNotifyRequestData; typedef Model:: MAdjustPatientDisconnectionConfirmReq AdjustPatientDisconnectionConfirmRequestData; typedef Model:: MAdjustDisposablesRemovalConfirmReq AdjustDisposablesRemovalConfirmRequestData; typedef Model:: MAdjustTreatmentLogReq AdjustTreatmentLogRequestData;