75 { name: 'name', type: 'string' }, |
88 { name: 'name', type: 'string' }, |
76 { name: 'boil_size', type: 'float' }, |
89 { name: 'boil_size', type: 'float' }, |
77 { name: 'batch_size', type: 'float' }, |
90 { name: 'batch_size', type: 'float' }, |
78 { name: 'tun_volume', type: 'float' }, |
91 { name: 'tun_volume', type: 'float' }, |
79 { name: 'tun_weight', type: 'float' }, |
92 { name: 'tun_weight', type: 'float' }, |
|
93 { name: 'tun_specific_heat', type: 'float' }, |
|
94 { name: 'tun_material', type: 'string' }, |
|
95 { name: 'tun_height', type: 'float' }, |
|
96 { name: 'top_up_water', type: 'float' }, |
80 { name: 'trub_chiller_loss', type: 'float' }, |
97 { name: 'trub_chiller_loss', type: 'float' }, |
81 { name: 'evap_rate', type: 'float' }, |
98 { name: 'evap_rate', type: 'float' }, |
82 { name: 'boil_time', type: 'float' }, |
99 { name: 'boil_time', type: 'float' }, |
83 { name: 'lauter_deadspace', type: 'float' }, |
100 { name: 'calc_boil_volume', type: 'bool' }, |
84 { name: 'top_up_kettle', type: 'float' }, |
101 { name: 'top_up_kettle', type: 'float' }, |
85 { name: 'hop_utilization', type: 'float' }, |
102 { name: 'hop_utilization', type: 'float' }, |
86 { name: 'notes', type: 'string' }, |
103 { name: 'notes', type: 'string' }, |
87 { name: 'lauter_volume', type: 'float' }, |
104 { name: 'lauter_volume', type: 'float' }, |
|
105 { name: 'lauter_height', type: 'float' }, |
|
106 { name: 'lauter_deadspace', type: 'float' }, |
88 { name: 'kettle_volume', type: 'float' }, |
107 { name: 'kettle_volume', type: 'float' }, |
89 { name: 'tun_material', type: 'string' }, |
|
90 { name: 'tun_height', type: 'float' }, |
|
91 { name: 'kettle_height', type: 'float' }, |
108 { name: 'kettle_height', type: 'float' }, |
92 { name: 'lauter_height', type: 'float' }, |
|
93 { name: 'mash_volume', type: 'float' }, |
109 { name: 'mash_volume', type: 'float' }, |
94 { name: 'efficiency', type: 'float' } |
110 { name: 'efficiency', type: 'float' } |
95 ], |
111 ], |
96 id: 'record', |
112 id: 'record', |
97 url: url, |
113 url: url, |
146 }; |
162 }; |
147 // initialize the input fields. |
163 // initialize the input fields. |
148 var srcMaterial= [ "RVS", "Aluminium", "Kunststof", "Koper" ]; |
164 var srcMaterial= [ "RVS", "Aluminium", "Kunststof", "Koper" ]; |
149 |
165 |
150 $("#name").jqxInput({ theme: theme, width: 250, height: 23 }); |
166 $("#name").jqxInput({ theme: theme, width: 250, height: 23 }); |
151 $("#boil_size").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
167 $("#boil_size").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
152 $("#batch_size").jqxNumberInput({ inputMode: 'simple', readOnly: 'true', theme: theme, width: 50, height: 23, min: 0, decimalDigits: 1 }); |
168 $("#batch_size").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.5 }); |
153 $("#tun_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
169 $("#tun_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
154 $("#tun_weight").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 2, spinButtons: true }); |
170 $("#tun_weight").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 2, spinButtons: true }); |
155 $("#trub_chiller_loss").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
171 $("#tun_specific_heat").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 3 }); |
156 $("#evap_rate").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.05 }); |
172 $("#tun_material").jqxDropDownList({ theme: theme, source: srcMaterial, selectedIndex: 0, width: 110, height: 23, dropDownHeight: 130 }); |
157 $("#boil_time").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 0, spinButtons: true }); |
173 $("#tun_height").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
158 $("#lauter_deadspace").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
174 $("#top_up_water").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
159 $("#top_up_kettle").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
175 $("#trub_chiller_loss").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
160 $("#hop_utilization").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 0, spinButtons: true }); |
176 $("#evap_rate").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 2, spinButtons: true, spinButtonsStep: 0.05 }); |
|
177 $("#boil_time").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 0, spinButtons: true }); |
|
178 $("#calc_boil_volume").jqxCheckBox({ theme: theme, width: 120, height: 23 }); |
|
179 $("#calc_boil_volume").on('checked', function (event) { |
|
180 $("#batch_size").jqxNumberInput({ readOnly: true, width: 70, spinButtons: false }); |
|
181 }); |
|
182 $("#calc_boil_volume").on('unchecked', function (event) { |
|
183 $("#batch_size").jqxNumberInput({ readOnly: false, width: 90, spinButtons: true }); |
|
184 }); |
|
185 $("#top_up_kettle").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
|
186 $("#hop_utilization").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 0, spinButtons: true }); |
161 $("#notes").jqxInput({ theme: theme, width: 640, height: 100 }); |
187 $("#notes").jqxInput({ theme: theme, width: 640, height: 100 }); |
162 $("#lauter_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
188 $("#lauter_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
163 $("#kettle_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
189 $("#lauter_height").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
164 $("#tun_material").jqxDropDownList({ theme: theme, source: srcMaterial, selectedIndex: 0, width: 110, height: 23, dropDownHeight: 130 }); |
190 $("#lauter_deadspace").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.1 }); |
165 $("#tun_height").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
191 $("#kettle_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
166 $("#kettle_height").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
192 $("#kettle_height").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
167 $("#lauter_height").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
193 $("#mash_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
168 $("#mash_volume").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true, spinButtonsStep: 0.5 }); |
194 $("#efficiency").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 90, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
169 $("#efficiency").jqxNumberInput({ inputMode: 'simple', spinMode: 'simple', theme: theme, width: 70, height: 23, min: 0, decimalDigits: 1, spinButtons: true }); |
|
170 var dataAdapter = new $.jqx.dataAdapter(source); |
195 var dataAdapter = new $.jqx.dataAdapter(source); |
171 var editrow = -1; |
196 var editrow = -1; |
172 // initialize jqxGrid |
197 // initialize jqxGrid |
173 $("#jqxgrid").jqxGrid({ |
198 $("#jqxgrid").jqxGrid({ |
174 width: 1280, |
199 width: 1280, |
190 $("#name").val(''); |
215 $("#name").val(''); |
191 $("#boil_size").val('18'); |
216 $("#boil_size").val('18'); |
192 $("#batch_size").val('15.3'); |
217 $("#batch_size").val('15.3'); |
193 $("#tun_volume").val('20'); |
218 $("#tun_volume").val('20'); |
194 $("#tun_weight").val('2'); |
219 $("#tun_weight").val('2'); |
|
220 $("#tun_specific_heat").val('0.11'); |
|
221 $("#tun_material").val('RVS'); |
|
222 $("#tun_height").val('20'); |
|
223 $("#top_up_water").val('0'); |
195 $("#trub_chiller_loss").val('0.5'); |
224 $("#trub_chiller_loss").val('0.5'); |
196 $("#evap_rate").val('1.8'); |
225 $("#evap_rate").val('1.8'); |
197 $("#boil_time").val('90'); |
226 $("#boil_time").val('90'); |
198 $("#lauter_deadspace").val('0.5'); |
227 $("#calc_boil_volume").val('0'); |
199 $("#top_up_kettle").val('0'); |
228 $("#top_up_kettle").val('0'); |
200 $("#hop_utilization").val('100'); |
229 $("#hop_utilization").val('100'); |
201 $("#notes").val(''); |
230 $("#notes").val(''); |
202 $("#lauter_volume").val('20'); |
231 $("#lauter_volume").val('20'); |
|
232 $("#lauter_height").val('20'); |
|
233 $("#lauter_deadspace").val('0.5'); |
203 $("#kettle_volume").val('20'); |
234 $("#kettle_volume").val('20'); |
204 $("#tun_material").val('RVS'); |
|
205 $("#tun_height").val('20'); |
|
206 $("#kettle_height").val('20'); |
235 $("#kettle_height").val('20'); |
207 $("#lauter_height").val('20'); |
|
208 $("#mash_volume").val('18'); |
236 $("#mash_volume").val('18'); |
209 $("#efficiency").val('75'); |
237 $("#efficiency").val('75'); |
210 $("#popupWindow").jqxWindow('open'); |
238 $("#popupWindow").jqxWindow('open'); |
211 }); |
239 }); |
212 }, |
240 }, |
213 filterable: true, |
241 filterable: true, |
214 filtermode: 'excel', |
242 filtermode: 'excel', |
|
243 ready: function() { |
|
244 $('#boil_size').on('change', function (event) { calcBatchVolume(); }); |
|
245 $('#evap_rate').on('change', function (event) { calcBatchVolume(); }); |
|
246 $('#boil_time').on('change', function (event) { calcBatchVolume(); }); |
|
247 $("#calc_boil_volume").on('change', function (event) { calcBatchVolume(); }); |
|
248 $('#tun_material').on('change', function (event) { |
|
249 switch ($('#tun_material').val()) { |
|
250 case 'RVS': $("#tun_specific_heat").val('0.11'); |
|
251 break; |
|
252 case 'Aluminium': $("#tun_specific_heat").val('0.22'); |
|
253 break; |
|
254 case 'Kunststof': $("#tun_specific_heat").val('0.46'); |
|
255 break; |
|
256 case 'Koper': $("#tun_specific_heat").val('0.092'); |
|
257 break; |
|
258 } |
|
259 }); |
|
260 }, |
215 columns: [ |
261 columns: [ |
216 { text: 'Installatie naam', datafield: 'name', width: 200 }, |
262 { text: 'Installatie naam', datafield: 'name', width: 200 }, |
217 { text: 'Kook volume', datafield: 'boil_size', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1' }, |
263 { text: 'Kook volume', datafield: 'boil_size', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1' }, |
218 { text: 'Batch volume', datafield: 'batch_size', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1' }, |
264 { text: 'Batch volume', datafield: 'batch_size', width: 100, align: 'right', cellsalign: 'right', cellsformat: 'f1' }, |
219 { text: 'Opmerkingen', datafield: 'notes' }, |
265 { text: 'Opmerkingen', datafield: 'notes' }, |
228 $("#name").val(dataRecord.name); |
274 $("#name").val(dataRecord.name); |
229 $("#boil_size").val(dataRecord.boil_size); |
275 $("#boil_size").val(dataRecord.boil_size); |
230 $("#batch_size").val(dataRecord.batch_size); |
276 $("#batch_size").val(dataRecord.batch_size); |
231 $("#tun_volume").val(dataRecord.tun_volume); |
277 $("#tun_volume").val(dataRecord.tun_volume); |
232 $("#tun_weight").val(dataRecord.tun_weight); |
278 $("#tun_weight").val(dataRecord.tun_weight); |
|
279 $("#tun_specific_heat").val(dataRecord.tun_specific_heat); |
|
280 $("#tun_material").val(dataRecord.tun_material); |
|
281 $("#tun_height").val(dataRecord.tun_height); |
|
282 $("#top_up_water").val(dataRecord.top_up_water); |
233 $("#trub_chiller_loss").val(dataRecord.trub_chiller_loss); |
283 $("#trub_chiller_loss").val(dataRecord.trub_chiller_loss); |
234 $("#evap_rate").val(dataRecord.evap_rate); |
284 $("#evap_rate").val(dataRecord.evap_rate); |
235 $("#boil_time").val(dataRecord.boil_time); |
285 $("#boil_time").val(dataRecord.boil_time); |
236 $("#lauter_deadspace").val(dataRecord.lauter_deadspace); |
286 $("#calc_boil_volume").val(dataRecord.calc_boil_volume); |
237 $("#top_up_kettle").val(dataRecord.top_up_kettle); |
287 $("#top_up_kettle").val(dataRecord.top_up_kettle); |
238 $("#hop_utilization").val(dataRecord.hop_utilization); |
288 $("#hop_utilization").val(dataRecord.hop_utilization); |
239 $("#notes").val(dataRecord.notes); |
289 $("#notes").val(dataRecord.notes); |
240 $("#lauter_volume").val(dataRecord.lauter_volume); |
290 $("#lauter_volume").val(dataRecord.lauter_volume); |
|
291 $("#lauter_height").val(dataRecord.lauter_height); |
|
292 $("#lauter_deadspace").val(dataRecord.lauter_deadspace); |
241 $("#kettle_volume").val(dataRecord.kettle_volume); |
293 $("#kettle_volume").val(dataRecord.kettle_volume); |
242 $("#tun_material").val(dataRecord.tun_material); |
|
243 $("#tun_height").val(dataRecord.tun_height); |
|
244 $("#kettle_height").val(dataRecord.kettle_height); |
294 $("#kettle_height").val(dataRecord.kettle_height); |
245 $("#lauter_height").val(dataRecord.lauter_height); |
|
246 $("#mash_volume").val(dataRecord.mash_volume); |
295 $("#mash_volume").val(dataRecord.mash_volume); |
247 $("#efficiency").val(dataRecord.efficiency); |
296 $("#efficiency").val(dataRecord.efficiency); |
248 // show the popup window. |
297 // show the popup window. |
249 $("#popupWindow").jqxWindow('open'); |
298 $("#popupWindow").jqxWindow('open'); |
250 } |
299 } |
281 name: $("#name").val(), |
330 name: $("#name").val(), |
282 boil_size: parseFloat($("#boil_size").jqxNumberInput('decimal')), |
331 boil_size: parseFloat($("#boil_size").jqxNumberInput('decimal')), |
283 batch_size: parseFloat($("#batch_size").jqxNumberInput('decimal')), |
332 batch_size: parseFloat($("#batch_size").jqxNumberInput('decimal')), |
284 tun_volume: parseFloat($("#tun_volume").jqxNumberInput('decimal')), |
333 tun_volume: parseFloat($("#tun_volume").jqxNumberInput('decimal')), |
285 tun_weight: parseFloat($("#tun_weight").jqxNumberInput('decimal')), |
334 tun_weight: parseFloat($("#tun_weight").jqxNumberInput('decimal')), |
|
335 tun_specific_heat: parseFloat($("#tun_specific_heat").jqxNumberInput('decimal')), |
|
336 tun_material: $("#tun_material").val(), |
|
337 tun_height: parseFloat($("#tun_height").jqxNumberInput('decimal')), |
|
338 top_up_water: parseFloat($("#top_up_water").jqxNumberInput('decimal')), |
286 trub_chiller_loss: parseFloat($("#trub_chiller_loss").jqxNumberInput('decimal')), |
339 trub_chiller_loss: parseFloat($("#trub_chiller_loss").jqxNumberInput('decimal')), |
287 evap_rate: parseFloat($("#evap_rate").jqxNumberInput('decimal')), |
340 evap_rate: parseFloat($("#evap_rate").jqxNumberInput('decimal')), |
288 boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), |
341 boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), |
289 lauter_deadspace: parseFloat($("#lauter_deadspace").jqxNumberInput('decimal')), |
342 calc_boil_volume: $("#calc_boil_volume").val(), |
290 top_up_kettle: parseFloat($("#top_up_kettle").jqxNumberInput('decimal')), |
343 top_up_kettle: parseFloat($("#top_up_kettle").jqxNumberInput('decimal')), |
291 hop_utilization: parseFloat($("#hop_utilization").jqxNumberInput('decimal')), |
344 hop_utilization: parseFloat($("#hop_utilization").jqxNumberInput('decimal')), |
292 notes: $("#notes").val(), |
345 notes: $("#notes").val(), |
293 lauter_volume: parseFloat($("#lauter_volume").jqxNumberInput('decimal')), |
346 lauter_volume: parseFloat($("#lauter_volume").jqxNumberInput('decimal')), |
|
347 lauter_height: parseFloat($("#lauter_height").jqxNumberInput('decimal')), |
|
348 lauter_deadspace: parseFloat($("#lauter_deadspace").jqxNumberInput('decimal')), |
294 kettle_volume: parseFloat($("#kettle_volume").jqxNumberInput('decimal')), |
349 kettle_volume: parseFloat($("#kettle_volume").jqxNumberInput('decimal')), |
295 tun_material: $("#tun_material").val(), |
|
296 tun_height: parseFloat($("#tun_height").jqxNumberInput('decimal')), |
|
297 kettle_height: parseFloat($("#kettle_height").jqxNumberInput('decimal')), |
350 kettle_height: parseFloat($("#kettle_height").jqxNumberInput('decimal')), |
298 lauter_height: parseFloat($("#lauter_height").jqxNumberInput('decimal')), |
|
299 mash_volume: parseFloat($("#mash_volume").jqxNumberInput('decimal')), |
351 mash_volume: parseFloat($("#mash_volume").jqxNumberInput('decimal')), |
300 efficiency: parseFloat($("#efficiency").jqxNumberInput('decimal')) |
352 efficiency: parseFloat($("#efficiency").jqxNumberInput('decimal')) |
301 }; |
353 }; |
302 $('#jqxgrid').jqxGrid('updaterow', rowID, row); |
354 $('#jqxgrid').jqxGrid('updaterow', rowID, row); |
303 $("#popupWindow").jqxWindow('hide'); |
355 $("#popupWindow").jqxWindow('hide'); |
308 name: $("#name").val(), |
360 name: $("#name").val(), |
309 boil_size: parseFloat($("#boil_size").jqxNumberInput('decimal')), |
361 boil_size: parseFloat($("#boil_size").jqxNumberInput('decimal')), |
310 batch_size: parseFloat($("#batch_size").jqxNumberInput('decimal')), |
362 batch_size: parseFloat($("#batch_size").jqxNumberInput('decimal')), |
311 tun_volume: parseFloat($("#tun_volume").jqxNumberInput('decimal')), |
363 tun_volume: parseFloat($("#tun_volume").jqxNumberInput('decimal')), |
312 tun_weight: parseFloat($("#tun_weight").jqxNumberInput('decimal')), |
364 tun_weight: parseFloat($("#tun_weight").jqxNumberInput('decimal')), |
|
365 tun_specific_heat: parseFloat($("#tun_specific_heat").jqxNumberInput('decimal')), |
|
366 tun_material: $("#tun_material").val(), |
|
367 tun_height: parseFloat($("#tun_height").jqxNumberInput('decimal')), |
|
368 top_up_water: parseFloat($("#top_up_water").jqxNumberInput('decimal')), |
313 trub_chiller_loss: parseFloat($("#trub_chiller_loss").jqxNumberInput('decimal')), |
369 trub_chiller_loss: parseFloat($("#trub_chiller_loss").jqxNumberInput('decimal')), |
314 evap_rate: parseFloat($("#evap_rate").jqxNumberInput('decimal')), |
370 evap_rate: parseFloat($("#evap_rate").jqxNumberInput('decimal')), |
315 boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), |
371 boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), |
316 lauter_deadspace: parseFloat($("#lauter_deadspace").jqxNumberInput('decimal')), |
372 calc_boil_volume: $("#calc_boil_volume").val(), |
317 top_up_kettle: parseFloat($("#top_up_kettle").jqxNumberInput('decimal')), |
373 top_up_kettle: parseFloat($("#top_up_kettle").jqxNumberInput('decimal')), |
318 hop_utilization: parseFloat($("#hop_utilization").jqxNumberInput('decimal')), |
374 hop_utilization: parseFloat($("#hop_utilization").jqxNumberInput('decimal')), |
319 notes: $("#notes").val(), |
375 notes: $("#notes").val(), |
320 lauter_volume: parseFloat($("#lauter_volume").jqxNumberInput('decimal')), |
376 lauter_volume: parseFloat($("#lauter_volume").jqxNumberInput('decimal')), |
|
377 lauter_height: parseFloat($("#lauter_height").jqxNumberInput('decimal')), |
|
378 lauter_deadspace: parseFloat($("#lauter_deadspace").jqxNumberInput('decimal')), |
321 kettle_volume: parseFloat($("#kettle_volume").jqxNumberInput('decimal')), |
379 kettle_volume: parseFloat($("#kettle_volume").jqxNumberInput('decimal')), |
322 tun_material: $("#tun_material").val(), |
|
323 tun_height: parseFloat($("#tun_height").jqxNumberInput('decimal')), |
|
324 kettle_height: parseFloat($("#kettle_height").jqxNumberInput('decimal')), |
380 kettle_height: parseFloat($("#kettle_height").jqxNumberInput('decimal')), |
325 lauter_height: parseFloat($("#lauter_height").jqxNumberInput('decimal')), |
|
326 mash_volume: parseFloat($("#mash_volume").jqxNumberInput('decimal')), |
381 mash_volume: parseFloat($("#mash_volume").jqxNumberInput('decimal')), |
327 efficiency: parseFloat($("#efficiency").jqxNumberInput('decimal')) |
382 efficiency: parseFloat($("#efficiency").jqxNumberInput('decimal')) |
328 }; |
383 }; |
329 $('#jqxgrid').jqxGrid('addrow', null, newrow); |
384 $('#jqxgrid').jqxGrid('addrow', null, newrow); |
330 $("#popupWindow").jqxWindow('hide'); |
385 $("#popupWindow").jqxWindow('hide'); |