diff -r 3ff381bfa469 -r 66c77497d86d image/w/js/webui.js --- a/image/w/js/webui.js Mon Jun 01 20:27:00 2020 +0200 +++ b/image/w/js/webui.js Sat Jun 06 13:28:46 2020 +0200 @@ -78,15 +78,8 @@ $("#hltline").show(); $("#hlt_table").show(); break; - case 100: // All handled at Subscreen - case 101: - case 102: - case 103: - case 104: - case 105: - case 106: - case 107: break; - case 108: this.clearScreen(); + case 100: break; // All handled at Subscreen + case 120: this.clearScreen(); $("#mltline").show(); // to boil $("#mlt_table").show(); $("#mlt00").show(); @@ -94,7 +87,7 @@ $("#but00").text('+sp'); $("#but20").text('-sp'); break; - case 109: this.clearScreen(); + case 121: this.clearScreen(); $("#mltline").show(); // boil $("#mlt_table").show(); $("#mlt00").show(); @@ -113,19 +106,19 @@ $("#but04").text('+1m'); $("#but24").text('-1m'); break; - case 110: // whirlpool 9 - case 111: // cooling H - case 112: // whirlpool 7 - case 113: // cooling M - case 114: // whirlpool 6 - case 115: // cooling C - case 116: // whirlpool 2 + case 122: // whirlpool 9 + case 123: // cooling H + case 124: // whirlpool 7 + case 125: // cooling M + case 126: // whirlpool 6 + case 127: // cooling C + case 128: // whirlpool 2 break; - case 117: this.clearScreen(); + case 129: this.clearScreen(); $("#note").show(); $("#note_msg").text('Brouwen is gereed.'); break; - case 118: this.clearScreen(); + case 130: this.clearScreen(); $("#note").show(); $("#note_msg").text('Brouwen is afgebroken.'); break; @@ -166,7 +159,7 @@ } else if (Subscreen == 1) { $("#brew").show(); } - } else if ((Screen >= 100) && (Screen < 108)) { + } else if ((Screen >= 100) && (Screen < 120)) { this.clearScreen(); $("#mltline").show(); $("#mlt_table").show(); @@ -192,6 +185,7 @@ case 4: // MASH_IODINE case 5: // MASH_REMOVE case 6: // MASH_INFUSE + case 7: // MASH_DECOCT this.setTimer(0); $("#mid00").show(); $("#mid00").css("background-color", "#575757"); @@ -201,7 +195,7 @@ $("#but22").text('Ok'); break; }; - } else if ((Screen == 111) || (Screen == 113) || (Screen == 115)) { // cooling H,M,C + } else if ((Screen == 123) || (Screen == 125) || (Screen == 127)) { // cooling H,M,C this.clearScreen(); if (Subscreen == 0) { $("#prompt").show(); @@ -222,7 +216,7 @@ $("#hlt01").css("background-color", "#575757"); $("#hlt01").css("color", "white"); } - } else if ((Screen == 110) || (Screen == 112) || (Screen == 114) || (Screen == 116)) { // whirlpools + } else if ((Screen == 122) || (Screen == 124) || (Screen == 126) || (Screen == 128)) { // whirlpools this.clearScreen(); if (Subscreen == 0) { $("#prompt").show();