Index: sources/view/hd/adjustment/treatment/VTreatmentAdjustmentPressuresLimits.h =================================================================== diff -u -r79a6cfcb10472261f3ec26eaf0baf6f1245cd311 -re8df7fe7fe6274c416f176369250b9581e07d2a5 --- sources/view/hd/adjustment/treatment/VTreatmentAdjustmentPressuresLimits.h (.../VTreatmentAdjustmentPressuresLimits.h) (revision 79a6cfcb10472261f3ec26eaf0baf6f1245cd311) +++ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentPressuresLimits.h (.../VTreatmentAdjustmentPressuresLimits.h) (revision e8df7fe7fe6274c416f176369250b9581e07d2a5) @@ -21,6 +21,7 @@ #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MTreatmentAdjustPressuresLimitsResponse.h" +#include "MSettings.h" namespace View { @@ -39,29 +40,28 @@ AdjustPressuresLimitsRequestData _data; - // disabled coco begin validated: // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI // has been manually tested that it works perfectly fine TRIGGER( bool , adjustment , 0) - // disabled coco end // Treatment pressures limits data - PROPERTY( qint32 , arterialLimitLow , _data.ArterialLimitLowDef ) - PROPERTY( qint32 , arterialLimitHigh , _data.ArterialLimitHighDef ) - PROPERTY( qint32 , venousLimitLow , _data.VenousLimitLowDef ) - PROPERTY( qint32 , venousLimitHigh , _data.VenousLimitHighDef ) + PROPERTY( qint32 , arterialLimitLow , 0) + PROPERTY( qint32 , arterialLimitHigh , 0) + PROPERTY( qint32 , venousLimitLow , 0) + PROPERTY( qint32 , venousLimitHigh , 0) - // disabled coco begin validated: Tested manually - // these are manufacturing default values which will be assigned to the pressure parameters initially. - // since after the first change it will be overwritten by user value it has been provided here in case it is needed. - CONSTANT( qint32 , arterialLimitLowDef , _data.ArterialLimitLowDef ) // default by PRS354 - CONSTANT( qint32 , arterialLimitHighDef , _data.ArterialLimitHighDef ) // default by PRS355 - CONSTANT( qint32 , venousLimitLowDef , _data.VenousLimitLowDef ) // default by PRS356 - CONSTANT( qint32 , venousLimitHighDef , _data.VenousLimitHighDef ) // default by PRS357 - // disabled coco end - VIEW_DEC_CLASS_ADJUSTMENT(VTreatmentAdjustmentPressuresLimits, AdjustPressuresLimitsResponseData) + READONLY( qint32 , arterialPressureLimitLowDef , 0) + READONLY( qint32 , arterialPressureLimitHighDef , 0) + READONLY( qint32 , venousPressureLimitLowDef , 0) + READONLY( qint32 , venousPressureLimitHighDef , 0) + VIEW_DEC_CLASS (VTreatmentAdjustmentPressuresLimits) + VIEW_DEC_SLOT (AdjustPressuresLimitsResponseData) + VIEW_DEC_SLOT (SettingsData) + + + // ----- Adjust Pressures Limits public slots: /*!