src/EditProduct.h

changeset 195
9887278c4fbe
parent 194
ea8cce5e7eb9
child 198
904591820c3d
equal deleted inserted replaced
194:ea8cce5e7eb9 195:9887278c4fbe
12 #include <QDialogButtonBox> 12 #include <QDialogButtonBox>
13 #include <QList> 13 #include <QList>
14 #include <QLabel> 14 #include <QLabel>
15 15
16 #include "global.h" 16 #include "global.h"
17
18 struct StepResult {
19 double svol;
20 double irate;
21 double ncells;
22 double totcells;
23 double growf;
24 };
17 25
18 namespace Ui { 26 namespace Ui {
19 class EditProduct; 27 class EditProduct;
20 } 28 }
21 29
70 void misc_amount_changed(double val); 78 void misc_amount_changed(double val);
71 void misc_time_changed(int val); 79 void misc_time_changed(int val);
72 void misc_select_changed(int val); 80 void misc_select_changed(int val);
73 void misc_instock_changed(bool val); 81 void misc_instock_changed(bool val);
74 void misc_useat_changed(int val); 82 void misc_useat_changed(int val);
83 void yeast_prod_date_clicked();
84 void yeast_method_changed(int val);
85 void yeast_starter_sg_changed(double val);
86 void yeast_starter_edit_clicked();
87 void yeast_pitchrate_button_clicked();
75 void yeast_amount_changed(double val); 88 void yeast_amount_changed(double val);
76 void yeast_select_changed(int val); 89 void yeast_select_changed(int val);
77 void yeast_instock_changed(bool val); 90 void yeast_instock_changed(bool val);
78 void yeast_useat_changed(int val); 91 void yeast_useat_changed(int val);
79 void addFermentRow_clicked(); 92 void addFermentRow_clicked();
179 double MashpH(); 192 double MashpH();
180 void calcWater(); 193 void calcWater();
181 void calcSparge(); 194 void calcSparge();
182 double GetBUGU(); 195 double GetBUGU();
183 double GetOptSO4Clratio(); 196 double GetOptSO4Clratio();
197 double getGrowthRate(int stype, double totcells, double egrams);
198 StepResult calcStep(double svol, int stype, double start);
199 void calcSteps(int stype, double start, double needed);
200 void initYeast();
184 void calcYeast(); 201 void calcYeast();
185 void adjustYeasts(double factor); 202 void adjustYeasts(double factor);
186 double infusionVol(double step_infused, double step_mashkg, double infuse_temp, double step_temp, double last_temp); 203 double infusionVol(double step_infused, double step_mashkg, double infuse_temp, double step_temp, double last_temp);
187 double decoctionVol(double step_volume, double step_temp, double prev_temp); 204 double decoctionVol(double step_volume, double step_temp, double prev_temp);
188 void calcMash(); 205 void calcMash();

mercurial