Index: sources/gui/qml/pages/TreatmentStart.qml =================================================================== diff -u -rfee7fabf49befb065c89248c19e15efc9ca194e4 -r12f922a6c61b7014345a441e2836e12fd3b0d00e --- sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision fee7fabf49befb065c89248c19e15efc9ca194e4) +++ sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision 12f922a6c61b7014345a441e2836e12fd3b0d00e) @@ -47,7 +47,7 @@ topPadding: 100 leftPadding: 10 Text { - id: _U32 + id: _S32 text: qsTr("") width: 250 horizontalAlignment: Text.AlignRight @@ -102,12 +102,13 @@ switch(vAction) { case GuiActions.BloodFlow: //console.debug(vData) - _U32 .text = vData[0]; - _F32_1.text = vData[1].toFixed(2); - _F32_2.text = vData[2].toFixed(2); - _F32_3.text = vData[3].toFixed(2); - _F32_4.text = vData[4].toFixed(2); - _F32_5.text = vData[5].toFixed(2); + _S32 .text = vData[GuiActions.BloodFlow_FlowSetPoint ]; + _F32_1.text = vData[GuiActions.BloodFlow_MeasuredFlow ].toFixed(2); + _F32_2.text = vData[GuiActions.BloodFlow_RotorSpeed ].toFixed(2); + _F32_3.text = vData[GuiActions.BloodFlow_MotorSpeed ].toFixed(2); + _F32_4.text = vData[GuiActions.BloodFlow_MotorCtlSpeed ].toFixed(2); + _F32_5.text = vData[GuiActions.BloodFlow_MotorCtlCurrent].toFixed(2); + _F32_6.text = vData[GuiActions.BloodFlow_PWMDtCycle ].toFixed(2) + "%"; break; } }