--- a/src/EditProduct.h Wed May 04 13:49:37 2022 +0200 +++ b/src/EditProduct.h Thu May 05 17:20:06 2022 +0200 @@ -15,6 +15,14 @@ #include "global.h" +struct StepResult { + double svol; + double irate; + double ncells; + double totcells; + double growf; +}; + namespace Ui { class EditProduct; } @@ -72,6 +80,11 @@ void misc_select_changed(int val); void misc_instock_changed(bool val); void misc_useat_changed(int val); + void yeast_prod_date_clicked(); + void yeast_method_changed(int val); + void yeast_starter_sg_changed(double val); + void yeast_starter_edit_clicked(); + void yeast_pitchrate_button_clicked(); void yeast_amount_changed(double val); void yeast_select_changed(int val); void yeast_instock_changed(bool val); @@ -181,6 +194,10 @@ void calcSparge(); double GetBUGU(); double GetOptSO4Clratio(); + double getGrowthRate(int stype, double totcells, double egrams); + StepResult calcStep(double svol, int stype, double start); + void calcSteps(int stype, double start, double needed); + void initYeast(); void calcYeast(); void adjustYeasts(double factor); double infusionVol(double step_infused, double step_mashkg, double infuse_temp, double step_temp, double last_temp);