Lines of code count not available
This was added by Vinay to force the chamber F filling.
It was changed by Vinay as part of the Conductivity spikes issue.
This is a problem, when lower cart pressure, D80 closes and if it is not reached upper cart pressure, it won't open D80
Why do we need 1 minutes of D80 opening ? is it not filling withing 10 seconds ?
bicarbChamberLevel is a local variable and not an input
This is not required , we should design the state machine properly to handle chamber low level
This is not the correct order for state machine,
At end of transition, do you want to initialize the totalSpentChamberFill reset to zero?
Could you use SpentChamberLevel here, instead calling the getLevelStatus function again? Same for next conditions check as well ( line:889)
Remove extra paranthesis.
Remove empty lines
Mention in comment this is equivalent to Qd:600 minus 50ms switching period to stabilize the valve closure.
Update the comment for Spent chamber fill, max dialysate flow rate (Qd:600) used for fast filling.
Same question as above: should we alarm if the retries failed?
This else is not needed because isFlashAddressValid is set to False at the top of the function (Optional to change).
If a retry goes wrong will you trigger an alarm?
Any fault alarm here?
Have these variables been initialized correctly?
Remove extra blank line.
We generally don't add { } to switch cases unless they require local variable declarations.
If we're not including a timestamp, can we just remove this line of code?
Got a suggestion or an issue? Discuss it on the Atlassian Community or visit Atlassian Support for other options.