www/profile_mash.php

Thu, 10 Jan 2019 20:22:06 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 10 Jan 2019 20:22:06 +0100
changeset 185
4c25db9e8102
parent 45
95251bedfab4
child 213
b0d484a5525e
permissions
-rw-r--r--

Added configuration settings for MQTT in config.php. Finished screen box sizes for the fermenters monitor. Select beername and code from the current brew products and send it to the fermenter. Added switch commands to the fermenter. Delay data get from the fermenter after sending any command so there is time to process the commands. Turn switches off when the mode changes. Removed 0.2 degrees setpoint diffs for low and high, the fermenter must deal with it. Prevent turning the heater and cooler together on.

<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php');
page_header('Maisch schemas', 'profile_mash');
?>

   <div id="jqxgrid"></div>
   <div style="margin-top: 30px;">
    <div id="cellbegineditevent"></div>
    <div style="margin-top: 10px;" id="cellendeditevent"></div>
   </div>

   <!-- Popup editor window. -->
   <div id="popupWindow">
    <div>Wijzig maisch schema.</div>
    <div style="overflow: hidden;">
     <table>
      <tr>
       <td align="right" style="vertical-align: top;">Schema naam:</td>
       <td align="left" colspan="3" style="vertical-align: top;"><input id="name" /></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Opmerkingen:</td>
       <td align="left" colspan="3"><textarea id="notes"></textarea></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Stappen:</td>
       <td align="left" colspan="3"><div id="grid">Graat</div></td>
      </tr>
      <tr>
       <td style="padding-top: 10px;" align="right"><input type="button" id="Delete" value="Delete" /></td>
       <td align="right"></td>
       <td align="right"></td>
       <td style="padding-top: 10px;" align="right">
        <input style="margin-right: 5px;" type="button" id="Save" value="Save" />
        <input id="Cancel" type="button" value="Cancel" />
       </td>
      </tr>
     </table>
    </div>
   </div>

<?php
confirm_delete();
page_footer();
?>

mercurial