Index: MainTreatmentData/interface.ui =================================================================== diff -u -rc43959d92d8ae0439b01b9acd6fa5bb3922afd17 -r7424074a93ac8d7384b0df121b651f6230f4f265 --- MainTreatmentData/interface.ui (.../interface.ui) (revision c43959d92d8ae0439b01b9acd6fa5bb3922afd17) +++ MainTreatmentData/interface.ui (.../interface.ui) (revision 7424074a93ac8d7384b0df121b651f6230f4f265) @@ -6,8 +6,8 @@ 0 0 - 376 - 371 + 434 + 364 @@ -16,6 +16,11 @@ 100000 + + + 10 + + &3 Treatment/&1 Main treatment @@ -121,110 +126,133 @@ - - - - - - 0 - 0 - - - - - 180 - 0 - - + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + - TX Duration + Tx Duration - - - - - 0 - 0 - - - - 480 - - - 15 - - - Qt::Horizontal - - + + + + + + + 0 + 0 + + + + + 200 + 0 + + + + 480 + + + 15 + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 40 + 0 + + + + + 10 + + + + 0 + + + Qt::AlignCenter + + + + - - - - - 50 - 0 - - + + - 0 - - - - - - - - - - - - 0 - 0 - - - - - 180 - 0 - - - Elapsed Time - - - - - 0 - 0 - - - - 480 - - - Qt::Horizontal - - + + + + + + + 0 + 0 + + + + + 200 + 0 + + + + 480 + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 40 + 0 + + + + + 10 + + + + 0 + + + Qt::AlignCenter + + + + - - - - - 50 - 0 - - - - 0 - - - @@ -234,7 +262,7 @@ - 20 + 0 0 @@ -299,195 +327,198 @@ - - - - - - 0 - 0 - - - - - 180 - 0 - - + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + Target Volume - - - - - 0 - 0 - - - - 10000 - - - Qt::Horizontal - - + + + + + + + 0 + 0 + + + + + 200 + 0 + + + + 10000 + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 40 + 0 + + + + + 10 + + + + 0 + + + Qt::AlignCenter + + + + - - - - - 50 - 0 - - + + - 0 - - - - - - - - - - - - 0 - 0 - - - - - 180 - 0 - - - - - 180 - 16777215 - - - Cumulative Volume - - - - - 0 - 0 - - - - 10000 - - - Qt::Horizontal - - + + + + + + + 0 + 0 + + + + + 200 + 0 + + + + 10000 + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 40 + 0 + + + + + 10 + + + + 0 + + + Qt::AlignCenter + + + + - - - - - 50 - 0 - - + + - 0 - - - - - - - - - - - - 0 - 0 - - - - - 180 - 0 - - - - - 180 - 16777215 - - - Current Delivered Volume - - - - - 0 - 0 - - - - 10000 - - - Qt::Horizontal - - + + + + + + + 0 + 0 + + + + + 200 + 0 + + + + 10000 + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + + 40 + 0 + + + + + 10 + + + + 0 + + + Qt::AlignCenter + + + + - - - - - 50 - 0 - - - - 0 - - - - - - - - + - - - 0 - 0 - - - - - 180 - 0 - - Saline Bolus Req[0x5F00] - + @@ -499,7 +530,7 @@ false - QFrame::WinPanel + QFrame::Box QFrame::Sunken @@ -521,7 +552,7 @@ - 20 + 0 0 @@ -593,109 +624,83 @@ - - - - - - 0 - 0 - - - - - 180 - 0 - - + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + Blood Flow - + 0 0 + + Qt::AlignCenter + 900 - - - - - - - - - 0 - 0 - + + + + Dialysate Flowl - - - 180 - 0 - - + + + + - Dial Flow + Dialysate Temperature - + 0 0 + + Qt::AlignCenter + 900 - - - - - - - - - 0 - 0 - - - - - 180 - 0 - - - - Dial Temp - - - - + 0 0 + + Qt::AlignCenter + + + 1 + 100.000000000000000 + + 0.500000000000000 + @@ -707,7 +712,7 @@ - 20 + 0 0 @@ -724,9 +729,6 @@ SalineCurrDeliveredVolumeSlider DurationSlider ElapsedSlider - BloodFlowSpinBox - DialFlowDpinBox - DialTempDoubleSpinBox tbSend tbReset Index: TD_TreatmentAdjustmentSetPoints/interface.ui =================================================================== diff -u -r8d7cdcc5840c87ec57089901eccfa4043af37a5d -r7424074a93ac8d7384b0df121b651f6230f4f265 --- TD_TreatmentAdjustmentSetPoints/interface.ui (.../interface.ui) (revision 8d7cdcc5840c87ec57089901eccfa4043af37a5d) +++ TD_TreatmentAdjustmentSetPoints/interface.ui (.../interface.ui) (revision 7424074a93ac8d7384b0df121b651f6230f4f265) @@ -6,7 +6,7 @@ 0 0 - 821 + 822 461 @@ -128,6 +128,9 @@ 0 + + 600 + Qt::Horizontal @@ -174,6 +177,9 @@ 0 + + 700 + Qt::Horizontal @@ -249,7 +255,7 @@ - 1000 + 400 1 @@ -316,7 +322,7 @@ - 135 : [0x8700] : Set Points Request + 147 : [0x9300] : Set Points Request Qt::AlignCenter @@ -498,7 +504,7 @@ - 136 : [0x8800] : Set Points Response + 148 : [0x9400] : Set Points Response Qt::AlignCenter @@ -716,7 +722,7 @@ - 137 : [0x8900] : Blood Flow Rate Request + 149 : [0x9500] : Blood Flow Rate Request Qt::AlignCenter @@ -798,7 +804,7 @@ - 138 : [0x8A00] : Blood Flow Rate Response + 150 : [0x9600] : Blood Flow Rate Response Qt::AlignCenter @@ -958,7 +964,7 @@ - 139 : [0x8B00] : Dialysate Flow Rate Request + 151 : [0x9700] : Dialysate Flow Rate Request Qt::AlignCenter @@ -1054,7 +1060,7 @@ - 140 : [0x8C00] : Dialysate Flow Rate Response + 152 : [0x9800] : Dialysate Flow Rate Response Qt::AlignCenter @@ -1217,7 +1223,7 @@ - 141 : [0x8D00] : Dialysate Temperature Request + 153 : [0x9900] : Dialysate Temperature Request Qt::AlignCenter @@ -1313,7 +1319,7 @@ - 142 : [0x8E00] : Dialysate Temperature Response + 154 : [0x9A00] : Dialysate Temperature Response Qt::AlignCenter Index: TD_TreatmentAdjustmentSetPoints/loader.py =================================================================== diff -u -r8d7cdcc5840c87ec57089901eccfa4043af37a5d -r7424074a93ac8d7384b0df121b651f6230f4f265 --- TD_TreatmentAdjustmentSetPoints/loader.py (.../loader.py) (revision 8d7cdcc5840c87ec57089901eccfa4043af37a5d) +++ TD_TreatmentAdjustmentSetPoints/loader.py (.../loader.py) (revision 7424074a93ac8d7384b0df121b651f6230f4f265) @@ -250,7 +250,7 @@ """ message = message['message'] index = MsgFieldPositions.START_POS_FIELD_1 - value,index = conversions.bytearray_to_integer (message, index) + value,index = conversions.bytearray_to_integer(message, index) self.lbBloodFlowRateReq.setText(f"{value}") @@ -332,7 +332,7 @@ """ message = message['message'] index = MsgFieldPositions.START_POS_FIELD_1 - value,index = conversions.bytearray_to_integer (message, index) + value,index = conversions.bytearray_to_float(message, index) self.lbDialysateTemperatureReq.setText(f"{value:.1f}")