1
0
mirror of https://github.com/agdsn/ancient-weatherstation.git synced 2026-06-19 23:07:59 +00:00

charts in webfrontend improved

reports added to Webfrontend

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@116 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
losinshi
2006-09-19 02:23:24 +00:00
parent ae1336bec3
commit 04e4bcd3a4
19 changed files with 368 additions and 26 deletions
@@ -62,12 +62,12 @@ class Hum{
$i = 1; /* Laufvariable */
while($avData['count']<5){ /* Schleife prüft, in welchem Interval 5 Werte zusammenkommen */
$i++; /* Laufvariable erhöhen */
$avData = $this->_getAverage($sensId, $table, &$connection, ($i*15)." minutes"); /* Holt Werte mit gegebenem Interval */
$avData = $this->_getAverage($sensId, $table, &$connection, ($i*20)." minutes"); /* Holt Werte mit gegebenem Interval */
}
/* Werte den Klassenvariablen zuordnen */
$this->avVal = $avData['average'];
$this->avInter = $i*15;
$this->avInter = $i*20;
}
/* Bestimmt die Tendenz */