www-thermferm/simulator.php

changeset 262
d0014ccec615
parent 260
ef1469dd92e7
child 397
00ca08f5a6f8
--- a/www-thermferm/simulator.php	Sat Aug 23 12:48:55 2014 +0200
+++ b/www-thermferm/simulator.php	Sat Aug 23 23:38:18 2014 +0200
@@ -92,11 +92,11 @@
      * Build the update command
      */
     if ($_POST['key'] == 'Delete') {
-	send_cmd("DEVICE DEL ".$_POST['UUID']);
+	send_cmd("SIMULATOR DEL ".$_POST['UUID']);
     }
 
     if ($_POST['key'] == 'Save') {
-	$cmd = array("DEVICE PUT ".$_POST['UUID']);
+	$cmd = array("SIMULATOR PUT ".$_POST['UUID']);
 	$cmd[] = "NAME,".$_POST['Name'];
 	$cmd[] = "VOLUME_AIR,".$_POST['VolumeAir'];
 	$cmd[] = "VOLUME_BEER,".$_POST['VolumeBeer'];

mercurial