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:
@@ -61,12 +61,12 @@ class Press{
|
||||
$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 */
|
||||
|
||||
Reference in New Issue
Block a user