src/database/db_product.cpp

changeset 433
40d4d2bb5f11
parent 432
f189af715073
child 458
ac216a75ca9b
equal deleted inserted replaced
432:f189af715073 433:40d4d2bb5f11
670 query.bindValue(":eq_kettle_volume", round(prod->eq_kettle_volume * 10) / 10); 670 query.bindValue(":eq_kettle_volume", round(prod->eq_kettle_volume * 10) / 10);
671 query.bindValue(":eq_kettle_height", round(prod->eq_kettle_height * 1000) / 1000); 671 query.bindValue(":eq_kettle_height", round(prod->eq_kettle_height * 1000) / 1000);
672 query.bindValue(":eq_mash_volume", round(prod->eq_mash_volume * 10) / 10); 672 query.bindValue(":eq_mash_volume", round(prod->eq_mash_volume * 10) / 10);
673 query.bindValue(":eq_mash_max", round(prod->eq_mash_max * 10) / 10); 673 query.bindValue(":eq_mash_max", round(prod->eq_mash_max * 10) / 10);
674 query.bindValue(":eq_efficiency", round(prod->eq_efficiency * 10) / 10); 674 query.bindValue(":eq_efficiency", round(prod->eq_efficiency * 10) / 10);
675 query.bindValue(":eq_chiller_type", prod->eq_chiller_type);
676 query.bindValue(":eq_chiller_to79", round(prod->eq_chiller_to79));
677 query.bindValue(":eq_chiller_volume", round(prod->eq_chiller_volume * 100) / 100);
678 query.bindValue(":eq_chiller_lpm", round(prod->eq_chiller_lpm * 100) / 100);
679 query.bindValue(":eq_chiller_loss", round(prod->eq_chiller_loss * 100) / 100);
675 query.bindValue(":brew_date_start", prod->brew_date_start); 680 query.bindValue(":brew_date_start", prod->brew_date_start);
676 query.bindValue(":brew_mash_ph", round(prod->brew_mash_ph * 100) / 100); 681 query.bindValue(":brew_mash_ph", round(prod->brew_mash_ph * 100) / 100);
677 query.bindValue(":brew_mash_sg", round(prod->brew_mash_sg * 1000) / 1000); 682 query.bindValue(":brew_mash_sg", round(prod->brew_mash_sg * 1000) / 1000);
678 query.bindValue(":brew_mash_efficiency", round(prod->brew_mash_efficiency * 10) / 10); 683 query.bindValue(":brew_mash_efficiency", round(prod->brew_mash_efficiency * 10) / 10);
679 query.bindValue(":brew_sparge_temperature", round(prod->brew_sparge_temperature * 10) / 10); 684 query.bindValue(":brew_sparge_temperature", round(prod->brew_sparge_temperature * 10) / 10);

mercurial