ModePreGenDialysate.h

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LEAHI-DD-FIRMWARE-LDT-2004_Dialysate Composition - DD
LEAHI-DD-FIRMWARE-LDT-2004_Dialysate Composition - DD
LEAHI-DD-FIRMWARE-LDT-3749_Ability to set operation sub mode on DD subsystem
LEAHI-DD-FIRMWARE-LDT-3749_Ability to set operation sub mode on DD subsystem
Done.

Done.

Done.

Done.

Removed.

Removed.

Done.

Done.

Done.

Done.

Mark these questions with TODO to aid in follow-up.

Mark these questions with TODO to aid in follow-up.

Reset to start state in default.

Reset to start state in default.

Is this complete state needed? I don't see how we even get here.

Is this complete state needed? I don't see how we even get here.

Add a TODO comment to complete when NV POST implemented.

Add a TODO comment to complete when NV POST implemented.

Keep a blank line between banner and variables.

Keep a blank line between banner and variables.

DD-LDT-815_Stop State DD
DD-LDT-815_Stop State DD
DD-LDT-482_Treatment Parameters Create RX 1
DD-LDT-482_Treatment Parameters Create RX 1
Done.

Done.

Done.

Done.

Done.

Done.

Done.

Done.

Done

Done

Same as Gen Dialysate - this should be else if and switch statement should be in a final else.

Same as Gen Dialysate - this should be else if and switch statement should be in a final else.

stop should be capitalized.

stop should be capitalized.

Remove extra blank line.

Remove extra blank line.

I think these two conditions above the switch statement should end the state processing. So the second condition should be an else if and combined i.e. if ( ( genDialysateState != DD_GEND_DIALYSATE...

I think these two conditions above the switch statement should end the state processing.
So the second condition should be an else if and combined i.e. if ( ( genDialysateState != DD_GEND_DIALYSATE_DELIVERY_PAUSE ) && ( TRUE == areInletWaterConditionsAlarmsActive() ) ).
And then another else where the switch statement should go.
Hydraulic chamber and updating treatment settings should maybe be moved above all of this so they always happen.