Added new dry-yeast parameters to the recipe editor.

Tue, 13 Apr 2021 16:54:26 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 13 Apr 2021 16:54:26 +0200
changeset 735
23d972f5d784
parent 734
2a90ffaf04b7
child 736
d3d8e3b30a34

Added new dry-yeast parameters to the recipe editor.

www/js/rec_edit.js file | annotate | diff | comparison | revisions
--- 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) {

mercurial