Index: denali.pro.user =================================================================== diff -u -ra19862d191c2501faa4e8cde64804ef18b80c6b3 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- denali.pro.user (.../denali.pro.user) (revision a19862d191c2501faa4e8cde64804ef18b80c6b3) +++ denali.pro.user (.../denali.pro.user) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -1,6 +1,6 @@ - + EnvironmentId @@ -89,22 +89,22 @@ Desktop Qt 5.12.5 GCC 64bit Desktop Qt 5.12.5 GCC 64bit qt.qt5.5125.gcc_64_kit - 1 + 0 0 0 - /home/denali/projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Debug + /home/denali/Projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Debug true qmake QtProjectManager.QMakeBuildStep - false + true false false - false + true true @@ -149,7 +149,7 @@ true - /home/denali/projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Release + /home/denali/Projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Release true @@ -160,7 +160,7 @@ false false - false + true true @@ -205,7 +205,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_threads + /home/denali/Projects/tmp/build/unittest/tst_threads true @@ -299,7 +299,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_messaging + /home/denali/Projects/tmp/build/unittest/tst_messaging true @@ -393,7 +393,7 @@ true - /home/denali/projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Profile + /home/denali/Projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Profile true @@ -449,7 +449,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_canbus + /home/denali/Projects/tmp/build/unittest/tst_canbus true @@ -543,7 +543,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_logging + /home/denali/Projects/tmp/build/unittest/tst_logging true @@ -637,7 +637,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_utilities + /home/denali/Projects/tmp/build/unittest/tst_utilities true @@ -731,7 +731,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_acknow + /home/denali/Projects/tmp/build/unittest/tst_acknow true @@ -825,7 +825,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_models + /home/denali/Projects/tmp/build/unittest/tst_models true @@ -919,7 +919,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_initializations + /home/denali/Projects/tmp/build/unittest/tst_initializations true @@ -1013,7 +1013,7 @@ true - /home/denali/projects/tmp/build/unittest/tst_views + /home/denali/Projects/tmp/build/unittest/tst_views true @@ -1174,8 +1174,8 @@ 2 denali - denali2 - Qt4ProjectManager.Qt4RunConfiguration:/home/denali/projects/application/denali.pro + + Qt4ProjectManager.Qt4RunConfiguration:/home/denali/Projects/application/denali.pro 3768 false @@ -1185,7 +1185,7 @@ false true - /home/denali/projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Release + /home/denali/Projects/tmp/build/denali-Desktop_Qt_5_12_5_GCC_64bit-Debug 1 @@ -1196,11 +1196,11 @@ Qt 5.12.5 (iMX8) Qt 5.12.5 (iMX8) {5d6458ef-f917-4aef-a092-c77bbe106149} - 0 + 1 0 0 - /home/denali/projects/tmp/build/denali-Qt_5_12_5_iMX8-Debug + /home/denali/Projects/tmp/build/denali-Qt_5_12_5_iMX8-Debug true @@ -1475,8 +1475,8 @@ 1 - denali (on Generic Linux Device (iMX8)) - RemoteLinuxRunConfiguration:/home/denali/projects/application/denali.pro + denali (on Generic Linux Device (iMX8))2 + RemoteLinuxRunConfiguration:/home/denali/Projects/application/denali.pro 1 false Index: scripts/copy.sh =================================================================== diff -u -rfe1cc7af9637a8485b6948b50eb5fb06e4c83740 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- scripts/copy.sh (.../copy.sh) (revision fe1cc7af9637a8485b6948b50eb5fb06e4c83740) +++ scripts/copy.sh (.../copy.sh) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -24,8 +24,8 @@ SSHUSER=root HOMEPATH="/home/$SSHUSER/" FONTPATH="/usr/share/fonts/truetype/" -FONTSPATH="/home/denali/projects/application/resources/fonts/" -DENALIPATH="/home/denali/projects/tmp/build/denali-Qt_5_12_5_iMX8-Release/" +FONTSPATH="/home/denali/Projects/application/resources/fonts/" +DENALIPATH="/home/denali/Projects/tmp/build/denali-Qt_5_12_5_iMX8-Release/" DENALINAME=denali function folderExists() { Index: sources/canbus/messageglobals.h =================================================================== diff -u -rd1907168ef46faa6de1ada400cad789f8379041f -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/canbus/messageglobals.h (.../messageglobals.h) (revision d1907168ef46faa6de1ada400cad789f8379041f) +++ sources/canbus/messageglobals.h (.../messageglobals.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -208,6 +208,5 @@ typedef QList MessageList; typedef QList FrameList; - } Index: sources/canbus/messageinterpreter.h =================================================================== diff -u -rd1907168ef46faa6de1ada400cad789f8379041f -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/canbus/messageinterpreter.h (.../messageinterpreter.h) (revision d1907168ef46faa6de1ada400cad789f8379041f) +++ sources/canbus/messageinterpreter.h (.../messageinterpreter.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -88,5 +88,4 @@ ACTION_RECEIVE_SIGNALS }; - } Index: sources/gui/guicontroller.h =================================================================== diff -u -rd1907168ef46faa6de1ada400cad789f8379041f -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/guicontroller.h (.../guicontroller.h) (revision d1907168ef46faa6de1ada400cad789f8379041f) +++ sources/gui/guicontroller.h (.../guicontroller.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -85,7 +85,5 @@ // ---- Signal/Slots ADJUST_TRANSMT_MODEL_BRIDGE_DEFINITIONS_PUBLIC ACTION_RECEIVE_MODEL_BRIDGE_DEFINITIONS - }; - } Index: sources/gui/qml/components/TopMenuBarCreateTreatment.qml =================================================================== diff -u -rc71deaab48699cffdf9db816dfac2778d79c2238 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/components/TopMenuBarCreateTreatment.qml (.../TopMenuBarCreateTreatment.qml) (revision c71deaab48699cffdf9db816dfac2778d79c2238) +++ sources/gui/qml/components/TopMenuBarCreateTreatment.qml (.../TopMenuBarCreateTreatment.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -26,15 +26,15 @@ color: Colors.backgroundMainMenu property var step: "CREATE"; property int spacing: 5 - signal clickedBack() + signal backClicked() BackButton { id : _backButton width: parent.width / 10 anchors.verticalCenter: parent.verticalCenter anchors.top: parent.top anchors.left: parent.left anchors.margins: _root.height / 4 - onClicked: clickedBack() + onClicked: backClicked() } Rectangle { Index: sources/gui/qml/main.qml =================================================================== diff -u -rd1907168ef46faa6de1ada400cad789f8379041f -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/main.qml (.../main.qml) (revision d1907168ef46faa6de1ada400cad789f8379041f) +++ sources/gui/qml/main.qml (.../main.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -296,7 +296,6 @@ 2000 // notifies user and hides the dialog ) break; - } } } Index: sources/gui/qml/pages/treatment/TreatmentBegin.qml =================================================================== diff -u -rc71deaab48699cffdf9db816dfac2778d79c2238 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/pages/treatment/TreatmentBegin.qml (.../TreatmentBegin.qml) (revision c71deaab48699cffdf9db816dfac2778d79c2238) +++ sources/gui/qml/pages/treatment/TreatmentBegin.qml (.../TreatmentBegin.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -29,16 +29,16 @@ * which is the default screen in the "Manager" stack */ ScreenItem { id: _root - signal clickedBack() - signal clickedStart() + signal backClicked() + signal startClicked() backgroundRect.color: Colors.backgroundMainMenu TopMenuBarCreateTreatment { id: _topMenuBar anchors.top: parent.top anchors.left: parent.left width: parent.width - onClickedBack: { - _root.clickedBack(); + onBackClicked: { + _root.backClicked(); } state: "begin" @@ -72,7 +72,7 @@ anchors.horizontalCenter: parent.horizontalCenter text.text: qsTr("START") button.onClicked: { - _root.clickedStart() + _root.startClicked() } } } Index: sources/gui/qml/pages/treatment/TreatmentConfirm.qml =================================================================== diff -u -r542278273f3d13ad5fb5ba8916178d747c78fe77 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/pages/treatment/TreatmentConfirm.qml (.../TreatmentConfirm.qml) (revision 542278273f3d13ad5fb5ba8916178d747c78fe77) +++ sources/gui/qml/pages/treatment/TreatmentConfirm.qml (.../TreatmentConfirm.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -31,15 +31,15 @@ ScreenItem { id: _root objectName: "TreatmentConfirm" backgroundRect.color: Colors.backgroundMainMenu - signal clickedBack() - signal clickedConfirm() + signal backClicked() + signal confirmClicked() TopMenuBarCreateTreatment { id: _topMenuBar anchors.top: parent.top anchors.left: parent.left width: parent.width - onClickedBack: { - _root.clickedBack(); + onBackClicked: { + _root.backClicked(); } state: "confirm" } @@ -73,7 +73,7 @@ anchors.horizontalCenter: parent.horizontalCenter text.text: qsTr("CONFIRM TREATMENT") button.onClicked: { - _root.clickedConfirm() + _root.confirmClicked() } } } Index: sources/gui/qml/pages/treatment/TreatmentCreate.qml =================================================================== diff -u -rfe1cc7af9637a8485b6948b50eb5fb06e4c83740 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/pages/treatment/TreatmentCreate.qml (.../TreatmentCreate.qml) (revision fe1cc7af9637a8485b6948b50eb5fb06e4c83740) +++ sources/gui/qml/pages/treatment/TreatmentCreate.qml (.../TreatmentCreate.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -29,16 +29,16 @@ */ ScreenItem { id: _root objectName: "TreatmentCreate"; // SquishQt testability - signal clickedBack() - signal clickedContinue() + signal backClicked() + signal continueClicked() backgroundRect.color: Colors.backgroundMainMenu TopMenuBarCreateTreatment { id: _topMenuBar anchors.top: parent.top anchors.left: parent.left width: parent.width - onClickedBack: { - _root.clickedBack(); + onBackClicked: { + _root.backClicked(); } } @@ -330,7 +330,7 @@ button.onClicked: { vCreateTreatment.saveTreatmentProfile = false; if (vCreateTreatment.continueEnabled) { - _root.clickedContinue() + _root.continueClicked() } } Index: sources/gui/qml/pages/treatment/TreatmentPrime.qml =================================================================== diff -u -rc71deaab48699cffdf9db816dfac2778d79c2238 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/pages/treatment/TreatmentPrime.qml (.../TreatmentPrime.qml) (revision c71deaab48699cffdf9db816dfac2778d79c2238) +++ sources/gui/qml/pages/treatment/TreatmentPrime.qml (.../TreatmentPrime.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -29,16 +29,16 @@ * which is the default screen in the "Manager" stack */ ScreenItem { id: _root - signal clickedBack() - signal clickedContinue() + signal backClicked() + signal continueClicked() backgroundRect.color: Colors.backgroundMainMenu TopMenuBarCreateTreatment { id: _topMenuBar anchors.top: parent.top anchors.left: parent.left width: parent.width - onClickedBack: { - _root.clickedBack(); + onBackClicked: { + _root.backClicked(); } state: "prime" @@ -72,7 +72,7 @@ anchors.horizontalCenter: parent.horizontalCenter text.text: qsTr("CONTINUE TO TREATMENT") button.onClicked: { - _root.clickedContinue() + _root.continueClicked() } } } Index: sources/gui/qml/pages/treatment/TreatmentStack.qml =================================================================== diff -u -rd1907168ef46faa6de1ada400cad789f8379041f -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/gui/qml/pages/treatment/TreatmentStack.qml (.../TreatmentStack.qml) (revision d1907168ef46faa6de1ada400cad789f8379041f) +++ sources/gui/qml/pages/treatment/TreatmentStack.qml (.../TreatmentStack.qml) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -72,23 +72,23 @@ } TreatmentCreate { id: _treatmentCreate - onClickedBack : pop() - onClickedContinue : {vCreateTreatment.onFinishedCreate(); } + onBackClicked : pop() + onContinueClicked : {vCreateTreatment.onFinishedCreate(); } } TreatmentConfirm { id: _treatmentConfirm - onClickedBack : pop() - onClickedConfirm : {vCreateTreatment.onFinishedConfirm(); } + onBackClicked : pop() + onConfirmClicked : {vCreateTreatment.onFinishedConfirm(); } } TreatmentPrime { id: _treatmentPrime - onClickedBack : pop() - onClickedContinue : {vCreateTreatment.onFinishedPrime(); } + onBackClicked : pop() + onContinueClicked : {vCreateTreatment.onFinishedPrime(); } } TreatmentBegin { id: _treatmentBegin - onClickedBack : pop() - onClickedStart : {vCreateTreatment.onStart(); } + onBackClicked : pop() + onStartClicked : {vCreateTreatment.onStart(); } } Index: sources/model/mtreatmentparameters.h =================================================================== diff -u -r772d48b0ccaa0d25b6ed48bba3a4b29dc73c5c16 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/model/mtreatmentparameters.h (.../mtreatmentparameters.h) (revision 772d48b0ccaa0d25b6ed48bba3a4b29dc73c5c16) +++ sources/model/mtreatmentparameters.h (.../mtreatmentparameters.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -39,10 +39,8 @@ QString toString(); TreatmentParameters::Data fromVariantList(const QVariantList &list); private: - QString stringPrefix = "Treatment Parameters"; }; - } typedef Model::TreatmentParameters::Data TreatmentData; Index: sources/storage/filehandler.h =================================================================== diff -u -rd1907168ef46faa6de1ada400cad789f8379041f -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/storage/filehandler.h (.../filehandler.h) (revision d1907168ef46faa6de1ada400cad789f8379041f) +++ sources/storage/filehandler.h (.../filehandler.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -44,5 +44,4 @@ static int removeFiles(const QStringList &vFolders, const QStringList &vNameFilter, const QDate &vDateOlderThan); static bool makeFolder (const QString &vFolder); }; - } Index: sources/storage/filesaver.h =================================================================== diff -u -rf3b164487b1648637f5dd9a306cb6ade763d27c9 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/storage/filesaver.h (.../filesaver.h) (revision f3b164487b1648637f5dd9a306cb6ade763d27c9) +++ sources/storage/filesaver.h (.../filesaver.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -32,7 +32,6 @@ private slots: void onFileSaved(); }; - } #endif // FILESAVER_H Index: sources/storage/storageglobals.h =================================================================== diff -u -r9551959461d534dc624f0cbcca0e6f953844fb16 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/storage/storageglobals.h (.../storageglobals.h) (revision 9551959461d534dc624f0cbcca0e6f953844fb16) +++ sources/storage/storageglobals.h (.../storageglobals.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -33,5 +33,4 @@ extern const char *Treatment_Parameter_Ranges_Path ; extern const char *Treatment_Parameter_Ranges_Path_CSV ; extern const char *SDCard_Base_Path_Name ; - } Index: sources/view/VCreateTreatment.cpp =================================================================== diff -u -ra19862d191c2501faa4e8cde64804ef18b80c6b3 -r7a4f59af7287d30e8790e6b580327684d4e02e55 --- sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision a19862d191c2501faa4e8cde64804ef18b80c6b3) +++ sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) @@ -22,6 +22,7 @@ connect(&_GuiController, SIGNAL(didActionReceive(GuiActionType,QVariantList)), this, SLOT(onFWValidationResponse(GuiActionType,QVariantList))); + loadTreatmentParameterRanges(); } /** @@ -41,72 +42,42 @@ { QJsonValue value = obj.value(key); - if (key == GET_VARIABLE_NAME(bloodFlowRateMin)) - _bloodFlowRateMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(bloodFlowRateMax)) - _bloodFlowRateMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(dialysateFlowRateMin)) - _dialysateFlowRateMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(dialysateFlowRateMax)) - _dialysateFlowRateMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(durationMin)) - _durationMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(durationMax)) - _durationMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(heparinDispensingRateMin)) - _heparinDispensingRateMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(heparinDispensingRateMax)) - _heparinDispensingRateMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(heparinBolusVolumeMin)) - _heparinBolusVolumeMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(heparinBolusVolumeMax)) - _heparinBolusVolumeMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(heparinStopTimeMin)) - _heparinStopTimeMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(heparinStopTimeMax)) - _heparinStopTimeMax = value.toInt(); - //options - else if (key == GET_VARIABLE_NAME(salineBolusOptions)) - _salineBolusOptions = jsonArrayToStringList(value.toArray()); - else if (key == GET_VARIABLE_NAME(acidConcentrateOptions)) - _acidConcentrateOptions = jsonArrayToStringList(value.toArray()); - else if (key == GET_VARIABLE_NAME(bicarbonateConcentrateOptions)) - _bicarbonateConcentrateOptions = jsonArrayToStringList(value.toArray()); - else if (key == GET_VARIABLE_NAME(dialyzerTypeOptions)) - _dialyzerTypeOptions = jsonArrayToStringList(value.toArray()); + if (key == GET_VARIABLE_NAME(bloodFlowRateMin)) _bloodFlowRateMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(bloodFlowRateMax)) _bloodFlowRateMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(dialysateFlowRateMin)) _dialysateFlowRateMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(dialysateFlowRateMax)) _dialysateFlowRateMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(durationMin)) _durationMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(durationMax)) _durationMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(heparinDispensingRateMin)) _heparinDispensingRateMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(heparinDispensingRateMax)) _heparinDispensingRateMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(heparinBolusVolumeMin)) _heparinBolusVolumeMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(heparinBolusVolumeMax)) _heparinBolusVolumeMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(heparinStopTimeMin)) _heparinStopTimeMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(heparinStopTimeMax)) _heparinStopTimeMax = value.toInt(); + // options + else if (key == GET_VARIABLE_NAME(salineBolusOptions)) _salineBolusOptions = jsonArrayToStringList(value.toArray()); + else if (key == GET_VARIABLE_NAME(acidConcentrateOptions)) _acidConcentrateOptions = jsonArrayToStringList(value.toArray()); + else if (key == GET_VARIABLE_NAME(bicarbonateConcentrateOptions)) _bicarbonateConcentrateOptions = jsonArrayToStringList(value.toArray()); + else if (key == GET_VARIABLE_NAME(dialyzerTypeOptions)) _dialyzerTypeOptions = jsonArrayToStringList(value.toArray()); - else if (key == GET_VARIABLE_NAME(dialysateTempMin)) - _dialysateTempMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(dialysateTempMax)) - _dialysateTempMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(dialysateTempMin)) _dialysateTempMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(dialysateTempMax)) _dialysateTempMax = value.toInt(); // arterial - else if (key == GET_VARIABLE_NAME(arterialPressureLimitLowMin)) - _arterialPressureLimitLowMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(arterialPressureLimitLowMax)) - _arterialPressureLimitLowMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(arterialPressureLimitHighMin)) - _arterialPressureLimitHighMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(arterialPressureLimitHighMax)) - _arterialPressureLimitHighMax = value.toInt(); - //venous - else if (key == GET_VARIABLE_NAME(venousPressureLimitLowMin)) - _venousPressureLimitLowMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(venousPressureLimitLowMax)) - _venousPressureLimitLowMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(venousPressureLimitHighMin)) - _venousPressureLimitHighMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(venousPressureLimitHighMax)) - _venousPressureLimitHighMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(arterialPressureLimitLowMin)) _arterialPressureLimitLowMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(arterialPressureLimitLowMax)) _arterialPressureLimitLowMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(arterialPressureLimitHighMin)) _arterialPressureLimitHighMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(arterialPressureLimitHighMax)) _arterialPressureLimitHighMax = value.toInt(); + // venous + else if (key == GET_VARIABLE_NAME(venousPressureLimitLowMin)) _venousPressureLimitLowMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(venousPressureLimitLowMax)) _venousPressureLimitLowMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(venousPressureLimitHighMin)) _venousPressureLimitHighMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(venousPressureLimitHighMax)) _venousPressureLimitHighMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(bloodPressureMeasureIntervalMin)) - _bloodPressureMeasureIntervalMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(bloodPressureMeasureIntervalMax)) - _bloodPressureMeasureIntervalMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(bloodPressureMeasureIntervalMin)) _bloodPressureMeasureIntervalMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(bloodPressureMeasureIntervalMax)) _bloodPressureMeasureIntervalMax = value.toInt(); - else if (key == GET_VARIABLE_NAME(rinsebackFlowRateMin)) - _rinsebackFlowRateMin = value.toInt(); - else if (key == GET_VARIABLE_NAME(rinsebackFlowRateMax)) - _rinsebackFlowRateMax = value.toInt(); + else if (key == GET_VARIABLE_NAME(rinsebackFlowRateMin)) _rinsebackFlowRateMin = value.toInt(); + else if (key == GET_VARIABLE_NAME(rinsebackFlowRateMax)) _rinsebackFlowRateMax = value.toInt(); else { qDebug() << "Invalid treatment parameter range: " << key;