Who is calling this function? If this function is not doing anything other than changing modes, do we really need this function? Caller can just call requestNewOperationMode().
Should this be set to true even if result below is false? Maybe set to true in testSetDialInPumpWithPWM() function after all of the conditions are found to be met?
I didn't see a new state added to enum in HDDefs.h. Do we want to add a new state? I thought we were going to model this after saline bolus which is a sub-state of existing dialysis state.
I think so. This is to catch all the time that the concentrate pumps are running. If the concentrate pumps are not running, then nothing is accumulated.