Index: sources/model/hd/adjustment/MTreatmentAdjustRequests.h =================================================================== diff -u -rbb74da05f81b82dad3ec844c1feb1135b949f1c2 -r5db87178d372acd2cc4e5d75bf99f4c0cb11f1f2 --- sources/model/hd/adjustment/MTreatmentAdjustRequests.h (.../MTreatmentAdjustRequests.h) (revision bb74da05f81b82dad3ec844c1feb1135b949f1c2) +++ sources/model/hd/adjustment/MTreatmentAdjustRequests.h (.../MTreatmentAdjustRequests.h) (revision 5db87178d372acd2cc4e5d75bf99f4c0cb11f1f2) @@ -47,6 +47,15 @@ } }; +/*! + * \brief The MAdjustPowerOffReq class + * \details The power off request model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(U08) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: | + * |0x0100| 0x020 | 6 | Cmd | N | HD | UI | Power Off | \ref state | + * + */ class MAdjustPowerOffReq : public MModel { public: quint8 state; @@ -63,6 +72,15 @@ } }; +/*! + * \brief The MAdjustBloodDialysateReq class + * \details The blood/dialysate rate change request model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(U32) | #2:(U32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: |:--: | + * |0x1700| 0x100 | 9 | Req | Y | UI | HD | Blood/dialysate rate Change | \ref bloodFlow | \ref dialysateFlow | + * + */ class MAdjustBloodDialysateReq : public MModel { public: quint32 bloodFlow = 0; @@ -78,6 +96,15 @@ } }; +/*! + * \brief The MAdjustDurationReq class + * \details The treatment duration change request model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(U32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: | + * |0x1600| 0x100 | 9 | Req | Y | UI | HD | Treatment Duration Change Request | \ref duration | + * + */ class MAdjustDurationReq : public MModel { public: quint32 duration = 0; @@ -92,6 +119,15 @@ } }; +/*! + * \brief The MAdjustUltrafiltrationStateReq class + * \details The ultrafiltration pause/resume request model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(U32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: | + * |0x1000| 0x100 | 9 | Req | Y | UI | HD | UF Pause/Resume | \ref requestedState | + * + */ class MAdjustUltrafiltrationStateReq : public MModel { public: enum State{ @@ -111,6 +147,15 @@ } }; +/*! + * \brief The MAdjustUltrafiltrationEditReq class + * \details The ultrafiltration volume change request model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(F32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: | + * |0x1100| 0x100 | 9 | Req | Y | UI | HD | UF Vol. Change Request | \ref volume | + * + */ class MAdjustUltrafiltrationEditReq : public MModel { public: float volume = 0; @@ -125,6 +170,17 @@ } }; +/*! + * \brief The MAdjustUltrafiltrationConfirmReq class + * \details The ultrafiltration volume change user confirm request model + * + * | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description | #1:(F32) | #2:(U32) | + * |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |:--: |:--: | + * |0x1500| 0x100 | 9 | Req | Y | UI | HD | UF Vol. Change User Confirm | \ref volume | \ref option | + * + * \sa Options + * + */ class MAdjustUltrafiltrationConfirmReq : public MModel { public: enum Options : quint32 { @@ -148,10 +204,12 @@ /*! * \brief The MAdjustSalineReq class * \details The model to request the Saline Bolus state - * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | #1 | - * |:---:|:------:|:-----:|:----:|:---:|:---:|:----:|:--------------------:|:---------------------:| - * | 18 | 0x100 | 9 | Req | Y | UI | HD | Saline Bolus Request | 0=Stop, 1=Start (U32) | * + * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | #1:(U32) | + * |:---:|:------:|:-----:|:----:|:---:|:---:|:----:|:--------------------:|:-------------------:| + * | 18 | 0x100 | 9 | Req | Y | UI | HD | Saline Bolus Request | \ref requestedState | + * + * \sa State * \sa MTreatmentSaline : Saline Bolus Data * \sa MAdjustSalineResponse : Saline Bolus Response * @@ -175,6 +233,15 @@ } }; +/*! + * \brief The MAlarmSilenceReq class + * \details The model to request alarm silent + * + * | MSG | CAN ID | M.Box | Type | Ack | Src | Dest | Description | #1:(U32) | + * |:---:|:------:|:-----:|:----:|:---:|:---:|:----:|:--------------------:|:-------------------:| + * | | | | Req | Y | UI | HD | Alarm Silent Request | | + * + */ class MAlarmSilenceReq : public MModel { public: bool state = 0;