/*! * * Copyright (c) 2019-2020 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 MTreatmentAdjustRequests.h * \author (last) Behrouz NematiPour * \date (last) 07-Feb-2021 * \author (original) Behrouz NematiPour * \date (original) 02-Jul-2020 * */ #pragma once // Qt #include //project #include "GuiGlobals.h" #include "MessageGlobals.h" using namespace Gui; namespace Model { /*! * Simple request models * These are models to send the request for the doAdjustment * The the only reason thy have been defined to help overloading the adjustment methods * Otherwise the parameters are so tiny models. */ class MModel { protected: /*! * \brief toString * \details the global toString function for all the request message models * which is mainly used for logging and debugging. * \param vStringPrefix - a prefix string to be inserted after senderID (UI) and parameter values list. * This is comma separated. * \param vParameters - list of parameter values of the model as a comma separated string. * \return QString */ static QString toString (const QString &vStringPrefix, const QVariant &vParameters) { QString senderID = "UI,"; return QString(senderID + vStringPrefix + "," + vParameters.toStringList().join(',')); } public: /*! * \brief canid returns the default channel id of the message. * it can be modified by the specific message which inherits the MModel. * \return Can::Can_Id */ static Can::Can_Id canid () { return Can::Can_Id::eChlid_UI_HD; } }; /*! * \brief The MAdjustPowerOffReq class * \details The power off request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x0100| 0x020 | 6 | Cmd | N | HD | UI | Power Off | * * | Payload || * | || * | #1:(U08) | \ref state | * * */ class MAdjustPowerOffReq : public MModel { public: quint8 state; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({state}); } explicit MAdjustPowerOffReq(quint8 vState) : state(vState) { } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("PowerOff", vParameters); } }; /*! * \brief The MAdjustBloodDialysateReq class * \details The blood/dialysate rate change request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x1700| 0x100 | 9 | Req | Y | UI | HD | Blood/dialysate rate Change | * * | Payload || * | || * | #1:(U32) | \ref bloodFlow | * | #2:(U32) | \ref dialysateFlow | * * */ class MAdjustBloodDialysateReq : public MModel { public: quint32 bloodFlow = 0; quint32 dialysateFlow = 0; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({bloodFlow , dialysateFlow}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustBloodDialysate", vParameters); } }; /*! * \brief The MAdjustDurationReq class * \details The treatment duration change request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x1600| 0x100 | 9 | Req | Y | UI | HD | Treatment Duration Change Request | * * | Payload || * | || * | #1:(U32) | \ref duration | * */ class MAdjustDurationReq : public MModel { public: quint32 duration = 0; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({duration}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustDuration", vParameters); } }; /*! * \brief The MAdjustUltrafiltrationEditReq class * \details The ultrafiltration volume change request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x4F00| 0x100 | 9 | Req | Y | UI | HD | UF Vol. Initial Adjustment Request | * * | Payload || * | || * | #1:(F32) | \ref volume | * */ class MAdjustUltrafiltrationInitReq : public MModel { public: float volume = 0; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({volume}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustUFInit", vParameters); } }; /*! * \brief The MAdjustUltrafiltrationStateReq class * \details The ultrafiltration pause/resume request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x1000| 0x100 | 9 | Req | Y | UI | HD | UF Pause/Resume | * * | Payload || * | || * | #1:(U32) | \ref requestedState | * */ class MAdjustUltrafiltrationStateReq : public MModel { public: GuiUFCommands requestedState = GuiUFCommands::UF_CMD_PAUSE; // the requested state. Initially it's running => paused. // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({requestedState}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustUFState", vParameters); } }; /*! * \brief The MAdjustUltrafiltrationEditReq class * \details The ultrafiltration volume change request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x1100| 0x100 | 9 | Req | Y | UI | HD | UF Vol. Change Request | * * | Payload || * | || * | #1:(F32) | \ref volume | * */ class MAdjustUltrafiltrationEditReq : public MModel { public: float volume = 0; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({volume}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustUFEdit", vParameters); } }; /*! * \brief The MAdjustUltrafiltrationConfirmReq class * \details The ultrafiltration volume change user confirm request model * * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: | * |0x1500| 0x100 | 9 | Req | Y | UI | HD | UF Vol. Change User Confirm | * * | Payload || * | || * | #1:(F32) | \ref volume | * | #2:(U32) | \ref option | * * \sa Options * */ class MAdjustUltrafiltrationConfirmReq : public MModel { public: enum Options : quint32 { eDuration = Gui::GuiActions::UF_ADJ_TREATMENT_TIME, eRate = Gui::GuiActions::UF_ADJ_UF_RATE, }; float volume = 0; Options option = eDuration; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({volume , option}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustUFConfirm", vParameters); } }; /*! * \brief The MAdjustSalineReq class * \details The model to request the Saline Bolus state * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:--------------------:| * |0x1200| 0x100 | 9 | Req | Y | UI | HD | Saline Bolus Request | * * | Payload || * | || * | #1:(U32) | \ref requestedState | * * \sa State * \sa MTreatmentSaline : Saline Bolus Data * \sa MAdjustSalineResponse : Saline Bolus Response * */ class MAdjustSalineReq : public MModel { public: GuiSalineCommands requestedState = GuiSalineCommands::SALINE_CMD_STOP; // the requested state. Initially it's Stop => start. // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({requestedState}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustSaline", vParameters); } }; /*! * \brief The MAdjustHeparinReq class * \details The model to request the Heparin state * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:---------------:| * |0x4B00| 0x100 | 9 | Req | Y | UI | HD | Heparin Request | * * | Payload || * | || * | #1:(U32) | \ref requestedState | * * \sa State * \sa MTreatmentHeparin : Heparin Data * \sa MAdjustHeparinResponse : Heparin Response * */ class MAdjustHeparinReq : public MModel { public: GuiHeparinCommands requestedState = GuiHeparinCommands::HEPARIN_CMD_PAUSE ; // the requested state. Initially it's running with Initial Bolus. // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({requestedState}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustHeparin", vParameters); } }; /*! * \brief The MAdjustPressuresLimitsReq class * \details The model to request the pressures limits adjustment * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:---------------------------:| * |0x4600| 0x100 | 9 | Req | Y | UI | HD | A/V BP Limit Change Request | * * | Payload ||| * | ||| * | #1:(S32) | \ref mArterialLimitLow | (mmHg) | * | #2:(S32) | \ref mArterialLimitHigh | (mmHg) | * | #3:(S32) | \ref mVenousLimitLow | (mmHg) | * | #4:(S32) | \ref mVenousLimitHigh | (mmHg) | * * \sa MPressureOcclusion : Pressure data broadcast * \sa MAdjustPressuresResponse : Pressures limit adjustment response * */ class MAdjustPressuresLimitsReq : public MModel { public: static const qint32 ArterialLimitLowDef = -300; // PRS354 manufacturing default static const qint32 ArterialLimitHighDef = 0; // PRS355 manufacturing default static const qint32 VenousLimitLowDef = +20; // PRS356 manufacturing default static const qint32 VenousLimitHighDef = +400; // PRS357 manufacturing default public: qint32 mArterialLimitLow = ArterialLimitLowDef ; ///< (S32) Arterial Pressure Limit Low (mmHg) qint32 mArterialLimitHigh = ArterialLimitHighDef; ///< (S32) Arterial Pressure Limit High (mmHg) qint32 mVenousLimitLow = VenousLimitLowDef ; ///< (S32) Venous Pressure Limit Low (mmHg) qint32 mVenousLimitHigh = VenousLimitHighDef ; ///< (S32) Venous Pressure Limit High (mmHg) // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString ({ mArterialLimitLow , mArterialLimitHigh , mVenousLimitLow , mVenousLimitHigh }); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustPressuresLimits", vParameters); } }; /*! * \brief The MAdjustRinsebackReq class * \details The model to request the Rinseback state * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:---------------: | * |0x5200| 0x100 | 9 | Req | Y | UI | HD | Rinseback Request | * * | Payload || * | || * | #1:(U32) | \ref requestedState | * * \sa State * \sa MTreatmentRinseback : Rinseback Data * \sa MAdjustRinsebackResponse : Rinseback Response * */ class MAdjustRinsebackReq : public MModel { public: GuiRinsebackCommands requestedState = GuiRinsebackCommands::REQUESTED_USER_ACTION_RINSEBACK_CONFIRM_START; // the requested state. // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({requestedState}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustRinseback", vParameters); } }; /*! * \brief The MAdjustRecirculateReq class * \details The model to request the Recirculate state * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:---------------: | * |0x5400| 0x100 | 9 | Req | Y | UI | HD | Recirculate Request | * * | Payload || * | || * | #1:(U32) | \ref requestedState | * * \sa State * \sa MTreatmentRecirculate : Recirculate Data * \sa MAdjustRecirculateResponse : Recirculate Response * */ class MAdjustRecirculateReq : public MModel { public: GuiRecirculateCommands requestedState = GuiRecirculateCommands::REQUESTED_USER_ACTION_TX_RECIRC_RECONNECT; // the requested state. // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({requestedState}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustRecirculate", vParameters); } }; /*! * \brief The MAdjustTreatmentEndReq class * \details The model to request the Rinseback state * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:---------------: | * |0x5700| 0x100 | 9 | Req | Y | UI | HD | Treatment End Request | * * | Payload || * | || * | #1:(U32) | \ref requestedState | * * \sa State * \sa MTreatmentEnd : Treatment End Data * \sa MAdjustTreatmentEndResponse : Treatment End Response * */ class MAdjustTreatmentEndReq : public MModel { public: GuiTreatmentEndCommands requestedState = GuiTreatmentEndCommands::REQUESTED_USER_ACTION_TX_END_RINSEBACK_START; // the requested state. // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({requestedState}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustTxEnd", vParameters); } }; /*! * \brief The MAdjustVersionsReq class * \details The DG/HD versions request model * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:------:|:------:|:-----:|:----:|:---:|:---:|:----:|:----------------------:| * | 0x1C00 | 0x200 | 10 | Req | Y | UI | All | DG/HD Versions Request | * * | Payload || * | || * | #1:(N/A) | \ref None | * */ class MAdjustVersionsReq : public MModel { public: // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("Version", vParameters); } static Can::Can_Id canid () { return Can::eChlid_UI_Sync; } }; /*! * \brief The MAdjustAlarmVolumeReq class * \details The DG/HD versions request model * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:------:|:------:|:----:|:---:|:---:|:----:|:---------------------------:| * | 0x4E00 | 0x100 | Req | Y | UI | HD | HD Set Alarm Volume Request | * * | Payload || * | || * | #1:(U32) volume | \ref Alarm Volume | * */ class MAdjustAlarmVolumeReq : public MModel { public: quint32 volume; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({volume}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AlarmVolume", vParameters); } }; /*! * \brief The MAdjustServiceReq class * \details The DG/HD versions request model * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:------:|:------:|:----:|:---:|:---:|:----:|:---------------------------:| * | 0x8900 | 0x200 | Req | Y | UI | All | DG/HD Service Dates Request | * * | Payload || * | || * | #1:(N/A) | \ref None | * */ class MAdjustServiceReq : public MModel { public: // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("ServiceDates", vParameters); } static Can::Can_Id canid () { return Can::eChlid_UI_Sync; } }; //// ---------- Alarms /*! * \brief The MAlarmSilenceReq class * \details The model to request alarm silent * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:-----------------------:| * |0x3200| 0x100 | 9 | Req | Y | UI | HD | Alarm (de)Silent Request | * * | Payload || * | || * | #1:(U08) | silence | * */ class MAlarmSilenceReq : public MModel { public: quint8 silence = 1; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({silence}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AlarmSilence", vParameters); } }; /*! * \brief The MAlarmClearedConditionReq class * \details The model to tell HD an alarm has been acknowledged * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:----------:|:-----:|:----:|:---:|:---:|:----:|:------------------------:| * |0x3F00| 0x001,2,4 | N/A | Cmd | Y | UI | HD | Alarm Condition Cleared | * * | Payload || * | || * | #1:(U32) | \ref alarmID | * */ // coco begin validated: Manually tested. This model class is a placeholder for the message 63(0x3F00) and there is no use case for this now. class MAlarmClearedConditionReq : public MModel { public: GuiAlarmID alarmID = GuiAlarmID::ALARM_ID_NO_ALARM; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({alarmID}); } // coco end // coco begin validate : static QString toString(const QVariantList &vParameters) { return MModel::toString("AlarmCondition", vParameters); } }; // coco end /*! * \brief The MAlarmUserActionReq class * \details The model to tell HD an alarm action has been made by user * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:----:|:------:|:-----:|:----:|:---:|:---:|:----:|:------------------:| * |0x4000| 0x100 | N/A | Cmd | Y | UI | HD | Alarm User Action | * * | Payload || * | || * | #1:(U32) | \ref action | * */ class MAlarmUserActionReq : public MModel { public: GuiAlarmUserActions action; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({action}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AlarmUserAction", vParameters); } }; /*! * \brief The MTreatmentStartReq class * \details The model to request starting a treatment * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:---:|:------:|:-----:|:----:|:---:|:---:|:----:|:-------------------------:| * | 56 | 0x100 | 9 | Req | Y | UI | HD | Start Treatment Request | * * | Payload || * | || * | #1:(U32) | \ref request | * */ class MTreatmentStartReq : public MModel { public: enum Options { eSelectParams = 0, eCancel = 1, eStartTreatment = 2 }; Options request = eSelectParams; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({request}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("StartTreatment", vParameters); } }; /*! * \brief The MTreatmentConfirmReq class * \details The model to tell HD treatment parameters have been confirmed * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:-----:|:------:|:-----:|:----:|:---:|:---:|:----:|:-------------------------:| * | 0x3B00| 0x100 | 9 | Req | Y | UI | HD | Confirm Treatment Request | * * | Payload || * | || * | #1:(U32) | \ref request | * */ class MTreatmentConfirmReq : public MModel { public: enum Options { eCancel = 0, eConfirm = 1 }; Options request = eConfirm; // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({request}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("ConfirmTreatment", vParameters); } }; /*! * \brief The MAdjustTreatmentParametersReq class * \details The model used to request treatment parameters validation * * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | * |:---:|:------:|:-----:|:----:|:---:|:---:|:----:|:-------------------------:| * | 60 | 0x100 | 9 | Req | Y | UI | HD | New Treatment Parameters Request | * * | Payload || * | || * | #1:(U32) | \ref bloodFlowRate | * | #2:(U32) | \ref dialysateFlowRate | * | #3:(U32) | \ref duration | * | #4:(U32) | \ref heparinStopTime | * | #5:(U32) | \ref salineBolus | * | #6:(U32) | \ref acidConcentrate | * | #7:(U32) | \ref bicarbonateConcentrate | * | #8:(U32) | \ref dialyzerType | * | #9:(U32) | \ref bloodPressureMeasureInterval | * | #10:(U32) | \ref rinsebackFlowRate | * | #11:(S32) | \ref arterialPressureLimitLow | * | #12:(S32) | \ref arterialPressureLimitHigh | * | #13:(S32) | \ref venousPressureLimitLow | * | #14:(S32) | \ref venousPressureLimitHigh | * | #15:(F32) | \ref heparinDispensingRate | * | #16:(F32) | \ref heparinBolusVolume | * | #17:(F32) | \ref dialysateTemp | * */ class MAdjustTreatmentParametersReq : public MModel { public: quint32 bloodFlowRate = 0; // mL/min quint32 dialysateFlowRate = 0; // mL/min quint32 duration = 0; // minutes quint32 heparinStopTime = 0; // min quint32 salineBolus = 0; // mL quint32 acidConcentrate = 0; // quint32 bicarbonateConcentrate = 0; // quint32 dialyzerType = 0; // quint32 bloodPressureMeasureInterval = 0; // minutes quint32 rinsebackFlowRate = 0; // mL/min qint32 arterialPressureLimitLow = 0; // mmHg qint32 arterialPressureLimitHigh = 0; // mmHg qint32 venousPressureLimitLow = 0; // mmHg qint32 venousPressureLimitHigh = 0; // mmHg float heparinDispensingRate = 0; // mL/hr float heparinBolusVolume = 0; // mL float dialysateTemp = 0; // Celsius // coco begin validated : Has been validated manually. // This object is used statically for now, kept the logic for later usage. QString toString() { return toString({ bloodFlowRate , dialysateFlowRate , duration , heparinStopTime , salineBolus , acidConcentrate , bicarbonateConcentrate , dialyzerType , bloodPressureMeasureInterval , rinsebackFlowRate , arterialPressureLimitLow , arterialPressureLimitHigh , venousPressureLimitLow , venousPressureLimitHigh , heparinDispensingRate , heparinBolusVolume , dialysateTemp , }); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustTreatmentParametersRequest", vParameters); } }; /*! * \brief The MAdjustHDDateTime class * \details The model to request starting a treatment * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:----:|:------:|:----:|:---:|:---:|:----:|:-------------------------:| * | 109 | 0x100 | Req | Y | UI | HD | Set RTC Date and Time | * * | Payload || * | || * | #1:(U32) | \ref mEpoch | * */ class MAdjustHDDateTimeReq : public MModel { public: quint32 mEpoch; // coco begin validated : Has been validated manually. QString toString() { return toString({mEpoch}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustHDDateTime", vParameters); } }; /*! * \brief The MAdjustDGDateTime class * \details The model to request starting a treatment * * | MSG | CAN ID | Type | Ack | Src | Dest | Description | * |:----:|:------:|:----:|:---:|:---:|:----:|:-------------------------:| * | 111 | 0x110 | Req | Y | UI | DG | Set RTC Date and Time | * * | Payload || * | || * | #1:(U32) | \ref mEpoch | * */ class MAdjustDGDateTimeReq : public MModel { public: quint32 mEpoch; // coco begin validated : Has been validated manually. QString toString() { return toString({mEpoch}); } // coco end static QString toString(const QVariantList &vParameters) { return MModel::toString("AdjustDGDateTime", vParameters); } }; } typedef Model:: MAdjustPowerOffReq AdjustPowerOffRequestData; typedef Model:: MAdjustBloodDialysateReq AdjustBloodDialysateRequestData; typedef Model:: MAdjustDurationReq AdjustDurationRequestData; typedef Model:: MAdjustUltrafiltrationInitReq AdjustUltrafiltrationInitRequestData; typedef Model:: MAdjustUltrafiltrationStateReq AdjustUltrafiltrationStateRequestData; typedef Model:: MAdjustUltrafiltrationEditReq AdjustUltrafiltrationEditRequestData; typedef Model::MAdjustUltrafiltrationConfirmReq AdjustUltrafiltrationConfirmRequestData; typedef Model:: MAdjustSalineReq AdjustSalineRequestData; typedef Model:: MAdjustHeparinReq AdjustHeparinRequestData; typedef Model:: MAdjustRinsebackReq AdjustRinsebackRequestData; typedef Model:: MAdjustRecirculateReq AdjustRecirculateRequestData; typedef Model:: MAdjustTreatmentEndReq AdjustTreatmentEndRequestData; typedef Model:: MAdjustPressuresLimitsReq AdjustPressuresLimitsRequestData; typedef Model:: MTreatmentStartReq TreatmentStartRequestData; typedef Model:: MTreatmentConfirmReq TreatmentConfirmRequestData; typedef Model:: MAdjustTreatmentParametersReq AdjustTreatmentParametersRequestData; typedef Model:: MAdjustVersionsReq AdjustVersionsRequestData; typedef Model:: MAdjustServiceReq AdjustServiceRequestData; typedef Model:: MAdjustHDDateTimeReq AdjustHDDateTimeRequestData; typedef Model:: MAdjustDGDateTimeReq AdjustDGDateTimeRequestData; typedef Model:: MAdjustAlarmVolumeReq AdjustAlarmVolumeRequestData; // Alarms typedef Model:: MAlarmSilenceReq AlarmSilenceRequestData; typedef Model:: MAlarmClearedConditionReq AlarmClearedConditionRequestData; typedef Model:: MAlarmUserActionReq AlarmUserActionRequestData;