Exemple #1
0
             break;
         case "getIndicByDay":
             if (isset($_GET['timeStart']) && isset($_GET['timeEnd'])) {
                 $r->getIndicByDay($_GET['day'], $_GET['timeStart'], $_GET['timeEnd']);
             } else {
                 $r->getIndicByDay($_GET['day']);
             }
             break;
         case "getIndicByMonth":
             $r->getIndicByMonth($_GET['month'], $_GET['year']);
             break;
         case "getHistoByMonth":
             $r->getHistoByMonth($_GET['month'], $_GET['year']);
             break;
         case "getTotalSaison":
             $r->getTotalSaison($_GET['id']);
             break;
         case "getSyntheseSaison":
             $r->getSyntheseSaison($_GET['id']);
             break;
         case "getSyntheseSaisonTable":
             $r->getSyntheseSaisonTable($_GET['id']);
             break;
         case "getAnnotationByDay":
             $r->getAnnotationByDay($_GET['day']);
             break;
     }
     break;
 case "rt":
     $rt = new realTime();
     switch ($_GET['action']) {
Exemple #2
0
             }
             break;
         case "getIndicByMonth":
             $r->getIndicByMonth($_GET['month'], $_GET['year']);
             break;
         case "getStockStatus":
             $r->getStockStatus();
             break;
         case "getAshtrayStatus":
             $r->getAshtrayStatus();
             break;
         case "getHistoByMonth":
             $r->getHistoByMonth($_GET['month'], $_GET['year']);
             break;
         case "getTotalSaison":
             $r->getTotalSaison($_GET['saison']);
             break;
         case "getSyntheseSaison":
             $r->getSyntheseSaison($_GET['saison']);
             break;
         case "getSyntheseSaisonTable":
             $r->getSyntheseSaisonTable($_GET['saison']);
             break;
         case "getAnnotationByDay":
             $r->getAnnotationByDay($_GET['jour']);
             break;
     }
     break;
 case "rt":
     $rt = new realTime();
     switch ($_GET['action']) {