DryBiCart.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix the typo in 'persistence' across the file.

fix the typo in 'persistence' across the file.

This function is not checking the level anymore and may be move the functionality at end of fill water end state and transition to next chamber fill state directly,

This function is not checking the level anymore and may be move the functionality at end of fill water end state and transition to next chamber fill state directly,

Check pressure limit.

Check pressure limit.

Does this supposed to be 14 or 17 PSI (based on manifold) for B2.1 hardware?

Does this supposed to be 14 or 17 PSI (based on manifold) for B2.1 hardware?

Is this code updated for B2.1 fill implementation?

Is this code updated for B2.1 fill implementation?

Update Inputs and outputs.

Update Inputs and outputs.

fix the typo.

fix the typo.

declare a local variable to get these function values and use the variables here?

declare a local variable to get these function values and use the variables here?

remove blank space before =

remove blank space before =

Can we split the functions into two files: 1) DryBicart.c/h - Manages drybicart fill, supply, drain & depressurizing states and 2) MixingControl: for acid/bicarb open/close loop functionality?

Can we split the functions into two files: 1) DryBicart.c/h - Manages drybicart fill, supply, drain & depressurizing states and 2) MixingControl: for acid/bicarb open/close loop functionality?

Same as above.

Same as above.

Can we keep getBicarbMixControlInterval( removing drybicart) from the function name?

Can we keep getBicarbMixControlInterval( removing drybicart) from the function name?

Do we need to call updateDryBicartOperation() here to determine the appropriate state.

Do we need to call updateDryBicartOperation() here to determine the appropriate state.

function adjusts the volume of acid and bicarb based on the target conductivity of bicarb and dialysate solution?

function adjusts the volume of acid and bicarb based on the target conductivity of bicarb and dialysate solution?

Add alarm message.

Add alarm message.

Remove the commented code and add the comment for below function

Remove the commented code and add the comment for below function

As suggested earlier in other code review, split this function into few init functions and call it here.

As suggested earlier in other code review, split this function into few init functions and call it here.

LEAHI-DD-FIRMWARE-LDT-4183_Dialysate Composition (Dry Bicarbonate) - FW Implementation - 2/1:
LEAHI-DD-FIRMWARE-LDT-4183_Dialysate Composition (Dry Bicarbonate) - FW Implementation - 2/1:
All these are more of debug related overrides (acid and bicarb P & I gain). you can keep them in one function, when the implementation is complete, you may remove these. The init function is too bi...

All these are more of debug related overrides (acid and bicarb P & I gain). you can keep them in one function, when the implementation is complete, you may remove these. The init function is too big, group them and split in the functions and call here.

Some of these parameters can be changed over td proxy commands, need not to implement additional overrides.

Some of these parameters can be changed over td proxy commands, need not to implement additional overrides.

I guess all these MACRO implementations should move to function/s to compute the final acid and bicarb volume, that would help to calculate the volumes when Na and Bicarb params changed during trea...

I guess all these MACRO implementations should move to function/s to compute the final acid and bicarb volume, that would help to calculate the volumes when Na and Bicarb params changed during treatment.

looks Bicarb and sodium settings interchanged? There are multiple macros on the same values. remove the duplicates.

looks Bicarb and sodium settings interchanged? There are multiple macros on the same values. remove the duplicates.

33.0?

33.0?

Add comment for each macro.

Add comment for each macro.

For all floats add F at the end, across the file.

For all floats add F at the end, across the file.

Align the comment

Align the comment

restored

restored