Fixed add unit web interface

Sat, 16 Aug 2014 15:38:45 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 16 Aug 2014 15:38:45 +0200
changeset 243
ab75ff8e26e1
parent 242
d3fe84ece349
child 244
2f868eaefec2

Fixed add unit web interface

www-thermferm/units.php file | annotate | diff | comparison | revisions
--- a/www-thermferm/units.php	Fri Aug 15 14:43:32 2014 +0200
+++ b/www-thermferm/units.php	Sat Aug 16 15:38:45 2014 +0200
@@ -519,6 +519,16 @@
     $outstr .= '        <td class="editfield"><input type="text" name="Name" size="50" value=""></td>'.PHP_EOL;
     $outstr .= '        <td class="editsub"><input type="submit" value="Add" name="key"></td>'.PHP_EOL;
     $outstr .= '<input type="hidden" value="0.0" name="Volume">';
+    $outstr .= '<input type="hidden" value="" name="AirAddress">';
+    $outstr .= '<input type="hidden" value="" name="BeerAddress">';
+    $outstr .= '<input type="hidden" value="" name="HeaterAddress">';
+    $outstr .= '<input type="hidden" value="" name="CoolerAddress">';
+    $outstr .= '<input type="hidden" value="" name="FanAddress">';
+    $outstr .= '<input type="hidden" value="" name="DoorAddress">';
+    $outstr .= '<input type="hidden" value="1.0" name="TempSetMin">';
+    $outstr .= '<input type="hidden" value="30.0" name="TempSetMax">';
+    $outstr .= '<input type="hidden" value="-1.0" name="IdleRangeL">';
+    $outstr .= '<input type="hidden" value="1.0" name="IdleRangeH">';
     $outstr .= '<input type="hidden" value="testdata" name="action">';
     $outstr .= '<input type="hidden" value="add" name="command">';
     $outstr .= '<input type="hidden" value="00000000-0000-0000-0000-000000000000" name="UUID">';

mercurial