www/mon_fermenter.php

changeset 40
b825c675987d
parent 16
522022b4fae4
child 180
a5aa3502310c
equal deleted inserted replaced
39:400aae9fb0c8 40:b825c675987d
126 $("#gaugeContainer_chiller").jqxGauge({ disabled: false }); 126 $("#gaugeContainer_chiller").jqxGauge({ disabled: false });
127 } else { 127 } else {
128 $("#gaugeContainer_chiller").jqxGauge({ disabled: true }); 128 $("#gaugeContainer_chiller").jqxGauge({ disabled: true });
129 } 129 }
130 130
131 html = "<div>SpH <span class='temperature NUM'>" + record.setpoint_high + "</span></div>"; 131 html = "<div>SpH <span class='temperature NUM'>" + record.setpoint_high.toFixed(1) + "</span></div>";
132 html += "<div>SpL <span class='temperature NUM'>" + record.setpoint_low + "</span></div>"; 132 html += "<div>SpL <span class='temperature NUM'>" + record.setpoint_low.toFixed(1) + "</span></div>";
133 html += "<div>Air <span class='temperature NUM'>" + record.air_temperature + "</span></div>"; 133 html += "<div>Air <span class='temperature NUM'>" + record.air_temperature.toFixed(3) + "</span></div>";
134 html += "<div>Beer <span class='temperature NUM'>" + record.beer_temperature + "</span></div>"; 134 html += "<div>Beer <span class='temperature NUM'>" + record.beer_temperature.toFixed(3) + "</span></div>";
135 $("#fermenter_tempdigits").html(html); 135 $("#fermenter_tempdigits").html(html);
136 } 136 }
137 }); 137 });
138 138
139 // Get the data immediatly and then at regular intervals to refresh. 139 // Get the data immediatly and then at regular intervals to refresh.

mercurial