Index: sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r8f8fc462e36e2ea9fbd236b86aaab5f048c17509 --- sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustRequests.h (.../MPostTreatmentAdjustRequests.h) (revision 8f8fc462e36e2ea9fbd236b86aaab5f048c17509) @@ -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;