diff --git a/data/brewxml.htm b/data/brewxml.htm index c3492493..ad4e7196 100644 --- a/data/brewxml.htm +++ b/data/brewxml.htm @@ -225,7 +225,7 @@ function get_recipe(recipe){ is_program = false; - program = "M;45.00;0;1^-1^2^3\n"; + program = "M;45.00;0;1^-1^2^3;0\n"; //show main info document.getElementById("STYLE").textContent = get_object_value(recipe.RECIPES.RECIPE.STYLE.NAME); document.getElementById("NAME").textContent = get_object_value(recipe.RECIPES.RECIPE.NAME); @@ -414,7 +414,7 @@ dl1.appendChild(step_time); dl.appendChild(dl1); - program = program + "P;" + step_temp.textContent + ";" + step_time.textContent + ";1^-1^2^3" + "\n"; + program = program + "P;" + step_temp.textContent + ";" + step_time.textContent + ";1^-1^2^3" + ";0\n"; } var ingr = document.getElementById("mash"); @@ -430,19 +430,19 @@ for (let hop of HOP){ t = decimalAdjust("round",get_object_value(hop.TIME)); if ((bth - t) <= 0) { - program = program + "B;0.00;1;1^-1^2^3\n"; + program = program + "B;0.00;1;1^-1^2^3;0\n"; } else { - program = program + "B;0.00;" + (bth - t) + ";1^-1^2^3\n"; + program = program + "B;0.00;" + (bth - t) + ";1^-1^2^3;0\n"; bth = t; } } if (bth > 0) { - program = program + "B;0.00;" + bth + ";1^-1^2^3\n"; + program = program + "B;0.00;" + bth + ";1^-1^2^3;0\n"; } - program = program + "C;" + pt + ";0;1^-1^2^3\nF;" + pt + ";0;1^-1^2^3"; + program = program + "C;" + pt + ";0;1^-1^2^3\nF;" + pt + ";0;1^-1^2^3;0"; is_program = true; }