this is handled by vTreatmentCreate.doClear() to synchronize the clearing on both the pretreatment create rx and popup. The call has been consolodated and moved to the onStandbyChanged slot in main.qml
1 - The Rx button should only be visible/work when the op_mode is one of the following (or not the other ones).
4 - MODE_TPAR
5 - MODE_PRET
6 - MODE_TREA
7 - MODE_POST
2 - And when the Create Rx screen itself is visible/active.
3 - A request:
Can you populate the currently added K, Ca from the previous Acit Concentrate addition by the pen icon?
And if the set K, Ca in the dialog is the same as previously added, notify the user of the duplication, same as what is done for the constant ones which come from the settings.
If leak sensor is coming via FPGA, it doesn't belong in GPIO unit. This unit is for GPIO pins on our microprocessor. GPIO pins on FPGA should be gotten using get functions in the FpgaDD unit.