Index: sources/drydemo/StateController.h =================================================================== diff -u -r9edc9ba3995ca25a29bb74eeeae71f7d72965284 -r4533fba9bf69d25de21536b849b5d9cb09d959ee --- sources/drydemo/StateController.h (.../StateController.h) (revision 9edc9ba3995ca25a29bb74eeeae71f7d72965284) +++ sources/drydemo/StateController.h (.../StateController.h) (revision 4533fba9bf69d25de21536b849b5d9cb09d959ee) @@ -34,8 +34,8 @@ struct Treatment_Status_Vars { bool hasTxParamsBeenInitialized; quint32 treatmentElapsedTimeMS; - quint32 remainingTreatmentTimeS; - quint32 prescribedTreatmentTimeS; + quint32 remainingTreatmentTimeS; // TODO remove + quint32 prescribedTreatmentTimeS; // TODO remove User_Command_ID userCmd; QString stateTransitionEvent; float accumFluidBolusDeliveredML; @@ -45,6 +45,9 @@ Dialysis_States dialysisSubState; float presUFRateMLPM; float ufVolDeliveredL; + bool validateUFVolReceived; + float validateUFVolGoalL; + float validateUFRateLHR; }; struct Treatment_Params { @@ -134,7 +137,9 @@ void handleUltrafiltrationBroadcastData(const Broadcast_Type BCType); void handleSetPointDialysateTemperatureChange(); void handleUltrafiltrationPauseResume(); - void handleUltrafiltrationVolumeChangeRequest(); + void handleUltrafiltrationVolumeChangeValidation(); + void handleTreatmentSettingBroadcastData(const Broadcast_Type BCType); + void handleUltrafiltrationVolumeChangeConfirm(); // Treatment end methods