76 xmlWriter->writeTextElement("EST_COLOR", QString::number(Utils::ebc_to_srm(product->est_color), 'f', 6)); |
76 xmlWriter->writeTextElement("EST_COLOR", QString::number(Utils::ebc_to_srm(product->est_color), 'f', 6)); |
77 xmlWriter->writeTextElement("COLOR_METHOD", color_method[product->color_method]); |
77 xmlWriter->writeTextElement("COLOR_METHOD", color_method[product->color_method]); |
78 } |
78 } |
79 if (product->est_ibu > 0) { |
79 if (product->est_ibu > 0) { |
80 xmlWriter->writeTextElement("EST_IBU", QString::number(product->est_ibu, 'f', 1)); |
80 xmlWriter->writeTextElement("EST_IBU", QString::number(product->est_ibu, 'f', 1)); |
81 xmlWriter->writeTextElement("IBU_METHOD", g_ibu_method[product->ibu_method]); |
81 xmlWriter->writeTextElement("IBU_METHOD", g_ibu_method[0]); // Only Tinseth |
82 } |
82 } |
83 xmlWriter->writeTextElement("BMS_COOLING_TO", QString::number(product->brew_cooling_to, 'f', 1)); |
83 xmlWriter->writeTextElement("BMS_COOLING_TO", QString::number(product->brew_cooling_to, 'f', 1)); |
84 |
84 |
85 xmlWriter->writeStartElement("STYLE"); |
85 xmlWriter->writeStartElement("STYLE"); |
86 xmlWriter->writeTextElement("VERSION", "1"); |
86 xmlWriter->writeTextElement("VERSION", "1"); |