Lot of small changes

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@605 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2010-03-23 09:03:04 +00:00
parent dd9367d953
commit 5a1f0c0cf6
7 changed files with 224 additions and 153 deletions

View File

@@ -347,6 +347,7 @@ FileLog_Get($@)
$data{"min$j"} = $min[$i] == 999999 ? "undef" : $min[$i];
$data{"max$j"} = $max[$i] == -999999 ? "undef" : $max[$i];
$data{"avg$j"} = $cnt[$i] ? sprintf("%0.1f", $sum[$i]/$cnt[$i]) : "undef";
$data{"sum$j"} = $sum[$i];
$data{"cnt$j"} = $cnt[$i] ? $cnt[$i] : "undef";
$data{"currval$j"} = $lastv[$i];
$data{"currdate$j"} = $lastd[$i];