Index: sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h =================================================================== diff -u -rf77d1595d633632cdedc5095a0cac07a7cca1251 -r8f8fc462e36e2ea9fbd236b86aaab5f048c17509 --- sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision f77d1595d633632cdedc5095a0cac07a7cca1251) +++ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision 8f8fc462e36e2ea9fbd236b86aaab5f048c17509) @@ -39,7 +39,7 @@ * * | 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 || * | || @@ -48,18 +48,38 @@ */ class MAdjustPatientDisconnectionNotifyReq : 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("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: + QString toString() { + return toString({}); + } + static QString toString(const QVariantList &vParameters) { + return MModel::toString("PatientDisconnectionConfirm", vParameters); + } +}; + +/*! * \brief The MAdjustDisposablesRemovalConfirmReq class * \details The model to Confirm Disposables Removal * @@ -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:: MAdjustPatientDisconnectionNotifyReq AdjustPatientDisconnectionNotifyRequestData; +typedef Model:: MAdjustPatientDisconnectionConfirmReq AdjustPatientDisconnectionConfirmRequestData; typedef Model:: MAdjustDisposablesRemovalConfirmReq AdjustDisposablesRemovalConfirmRequestData; typedef Model:: MAdjustTreatmentLogReq AdjustTreatmentLogRequestData;