# HG changeset patch # User Michiel Broek # Date 1618325666 -7200 # Node ID 23d972f5d784d2ddbd32168c3d528bca57bd6871 # Parent 2a90ffaf04b78db5ef8c55317cec68f10d34d50b Added new dry-yeast parameters to the recipe editor. diff -r 2a90ffaf04b7 -r 23d972f5d784 www/js/rec_edit.js --- a/www/js/rec_edit.js Tue Apr 13 16:53:14 2021 +0200 +++ b/www/js/rec_edit.js Tue Apr 13 16:54:26 2021 +0200 @@ -1589,6 +1589,10 @@ { name: 'y_pitch_temperature', type: 'float' }, { name: 'y_pofpos', type: 'int' }, { name: 'y_zymocide', type: 'int' }, + { name: 'y_gr_hl_lo', type: 'int' }, + { name: 'y_sg_lo', type: 'float' }, + { name: 'y_gr_hl_hi', type: 'int' }, + { name: 'y_sg_hi', type: 'float' }, { name: 'y_avail', type: 'int' } ], addrow: function(rowid, rowdata, position, commit) { commit(true); }, @@ -1653,6 +1657,10 @@ row['y_pitch_temperature'] = datarecord.pitch_temperature; row['y_pofpos'] = datarecord.pofpos; row['y_zymocide'] = datarecord.zymocide; + row['y_gr_hl_lo'] = datarecord.gr_hl_lo; + row['y_sg_lo'] = datarecord.sg_lo; + row['y_gr_hl_hi'] = datarecord.gr_hl_hi; + row['y_sg_hi'] = datarecord.sg_hi; $('#yeastGrid').jqxGrid('addrow', null, row); } $('#yaddrowbutton').jqxDropDownList('clearSelection'); @@ -3610,6 +3618,10 @@ y_pitch_temperature: yeastData.y_pitch_temperature, y_pofpos: yeastData.y_pofpos, y_zymocide: yeastData.y_zymocide, + y_gr_hl_lo: yeastData.y_gr_hl_lo, + y_sg_lo: yeastData.y_sg_lo, + y_gr_hl_hi: yeastData.y_gr_hl_hi, + y_sg_hi: yeastData.y_sg_hi, y_avail: yeastData.y_avail }; $('#yeastGrid').jqxGrid('updaterow', rowID, row); @@ -3663,6 +3675,10 @@ yeastData.y_pitch_temperature = datarecord.pitch_temperature; yeastData.y_pofpos = datarecord.pofpos; yeastData.y_zymocide = datarecord.zymocide; + yeastData.y_gr_hl_lo = datarecord.gr_hl_lo; + yeastData.y_sg_lo = datarecord.sg_lo; + yeastData.y_gr_hl_hi = datarecord.gr_hl_hi; + yeastData.y_sg_hi = datarecord.sg_hi; if (yeastData.y_form == 0) { $('#wy_pmpt_amount').html('Pak(ken):'); } else if (yeastData.y_form == 1 || yeastData.y_form == 6) {