www/js/profile_setup.js

changeset 446
ee7bcfb8e270
parent 289
4082c41f45e9
child 494
af28ebe4a779
--- a/www/js/profile_setup.js	Wed Aug 21 14:03:08 2019 +0200
+++ b/www/js/profile_setup.js	Wed Aug 21 16:28:54 2019 +0200
@@ -46,6 +46,7 @@
 	$("#factor_pellet").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van hop pellets.' });
 	$("#factor_plug").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van hop plugs.' });
 	$("#factor_wethop").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van nat geplukte hop.' });
+	$("#factor_cryohop").jqxTooltip({ content: 'Het efficientie percentage bij gebruik van Cryo Hop®.' });
 	$("#brix_correction").jqxTooltip({ content: 'Omzettingsfactor voor Plato naar Brix' });
 	$("#grain_absorbtion").jqxTooltip({ content: 'Absorbtie van water door graan (L/Kg)' });
 
@@ -61,6 +62,7 @@
 			{ name: 'factor_pellet', type: 'number' },
 			{ name: 'factor_plug', type: 'number' },
 			{ name: 'factor_wethop', type: 'number' },
+			{ name: 'factor_cryohop', type: 'number' },
 			{ name: 'ibu_method', type: 'int' },
 			{ name: 'color_method', type: 'int' },
 			{ name: 'brix_correction', type: 'float' },
@@ -81,6 +83,7 @@
 			$("#factor_pellet").val(dataRecord.factor_pellet);
 			$("#factor_plug").val(dataRecord.factor_plug);
 			$("#factor_wethop").val(dataRecord.factor_wethop);
+			$("#factor_cryohop").val(dataRecord.factor_cryohop);
 			$("#color_method").val(dataRecord.color_method);
 			$("#ibu_method").val(dataRecord.ibu_method);
 			$("#brix_correction").val(dataRecord.brix_correction);
@@ -98,6 +101,7 @@
 	$("#factor_pellet").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 20, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
 	$("#factor_plug").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0, max: 20, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
 	$("#factor_wethop").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: -98, max: -20, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
+	$("#factor_cryohop").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: -20, max: 150, decimalDigits: 0, spinButtons: true, symbol: '%', symbolPosition: 'right'  });
 	$("#brix_correction").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 1.00, max: 1.05, decimalDigits: 2, spinButtons: true });
 	$("#grain_absorbtion").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 110, height: 23, min: 0.5, max: 1.1, decimalDigits: 2, spinButtons: true });
 	$("#color_method").jqxDropDownList({
@@ -139,6 +143,7 @@
 			factor_pellet: $("#factor_pellet").val(),
 			factor_plug: $("#factor_plug").val(),
 			factor_wethop: $("#factor_wethop").val(),
+			factor_cryohop: $("#factor_cryohop").val(),
 			color_method: $("#color_method").val(),
 			ibu_method: $("#ibu_method").val(),
 			brix_correction: parseFloat($("#brix_correction").jqxNumberInput('decimal')),

mercurial