167 updateScreen(); |
167 updateScreen(); |
168 } |
168 } |
169 }); |
169 }); |
170 |
170 |
171 function updateScreen() { |
171 function updateScreen() { |
172 $('#room_thb').html((global.temp_value / 1000.0) + '°C ' + (global.hum_value / 1000.0) + '% humidity'); |
172 $('#room_thb').html(global.temp_value + '°C ' + global.hum_value + '% humidity'); |
173 $('#info_system').html(record.unit); |
173 $('#info_system').html(record.unit); |
174 $('#info_beer').html(record.beercode + ' - ' + record.beername); |
174 $('#info_beer').html(record.beercode + ' - ' + record.beername); |
175 $('#info_mode').jqxDropDownList('selectItem', record.mode); |
175 $('#info_mode').jqxDropDownList('selectItem', record.mode); |
176 $('#info_stage').jqxDropDownList('selectItem', record.stage); |
176 $('#info_stage').jqxDropDownList('selectItem', record.stage); |
177 if (record.door_address) { |
177 if (record.door_address) { |