$r->getSyntheseSaisonTable($_GET['id']); break; case "getAnnotationByDay": $r->getAnnotationByDay($_GET['day']); break; } break; case "rt": $rt = new realTime(); switch ($_GET['action']) { case "getIndic": $rt->getIndic(); break; case "getData": if (isset($_GET['idgraphe'])) { $rt->getData($_GET['idgraphe']); } break; case "getBoilerMode": if (isset($_GET['way'])) { $rt->getBoilerMode($_GET['way']); } break; case "setBoilerMode": if (isset($_GET['mode']) && isset($_GET['way'])) { $rt->setBoilerMode($_GET['mode']); break; } } break; }
$r->getAnnotationByDay($_GET['jour']); break; } break; case "rt": $rt = new realTime(); switch ($_GET['action']) { case "getIndic": $rt->getIndic(); break; case "setOkoLogin": $rt->setOkoLogin($_POST['user'], $_POST['pass']); break; case "getData": if (isset($_GET['id'])) { $rt->getData($_GET['id']); } break; case "getSensorInfo": $rt->getSensorInfo($_POST['sensor']); break; case "saveBoilerConfig": $rt->saveBoilerConfig($_POST['config'], $_POST['description'], $_POST['date']); break; case "getListConfigBoiler": $rt->getListConfigBoiler(); break; case "deleteConfigBoiler": $rt->deleteConfigBoiler($_POST['timestamp']); break; case "getConfigBoiler":