src/EditProductTab4.cpp

changeset 413
8ea791d4cab6
parent 399
4b9aaf86094e
child 440
349c0c5bd512
equal deleted inserted replaced
412:5fe775f036fa 413:8ea791d4cab6
261 product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method, 261 product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method,
262 product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time, 262 product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time,
263 product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor); 263 product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor);
264 if (product->stage > PROD_STAGE_BREW) 264 if (product->stage > PROD_STAGE_BREW)
265 ferm_ibus += Utils::toIBU(product->hops.at(i).useat, product->hops.at(i).form, product->brew_preboil_sg, product->brew_fermenter_sg, 265 ferm_ibus += Utils::toIBU(product->hops.at(i).useat, product->hops.at(i).form, product->brew_preboil_sg, product->brew_fermenter_sg,
266 product->brew_fermenter_volume + product->brew_fermenter_tcloss, product->hops.at(i).amount, 266 product->brew_fermenter_volume + product->brew_fermenter_tcloss + product->boil_absorb, product->hops.at(i).amount,
267 product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method, 267 product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method,
268 product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time, 268 product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time,
269 product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor); 269 product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor);
270 else 270 else
271 ferm_ibus += Utils::toIBU(product->hops.at(i).useat, product->hops.at(i).form, product->preboil_sg, product->est_og3, 271 ferm_ibus += Utils::toIBU(product->hops.at(i).useat, product->hops.at(i).form, product->preboil_sg, product->est_og3,
272 product->brew_fermenter_volume + product->brew_fermenter_tcloss, product->hops.at(i).amount, 272 product->brew_fermenter_volume + product->brew_fermenter_tcloss + product->boil_absorb, product->hops.at(i).amount,
273 product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method, 273 product->hops.at(i).time, product->hops.at(i).alpha, product->ibu_method,
274 product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time, 274 product->brew_whirlpool9, product->brew_whirlpool7, product->brew_whirlpool6, product->boil_time,
275 product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor); 275 product->brew_cooling_method, 0, 0, product->hops.at(i).utilisation, product->hops.at(i).bu_factor);
276 276
277 hop_flavour += Utils::hopFlavourContribution(product->hops.at(i).time, product->batch_size, product->hops.at(i).useat, 277 hop_flavour += Utils::hopFlavourContribution(product->hops.at(i).time, product->batch_size, product->hops.at(i).useat,

mercurial