2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

TimeSeries.pm: removed debug messages, added Id property

git-svn-id: https://svn.fhem.de/fhem/trunk@7799 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2015-01-31 17:14:41 +00:00
parent c1656fdda7
commit 6ed7ec3bd1

View File

@ -1,4 +1,4 @@
# $Id$
# $Id $
##############################################################################
#
@ -27,7 +27,7 @@ package TimeSeries;
use warnings;
use strict;
use Data::Dumper;
#use Data::Dumper;
no if $] >= 5.017011, warnings => 'experimental::smartmatch';
@ -147,7 +147,7 @@ sub add($$$) {
# autoreset
$self->reset() if($self->elapsed($t));
main::Debug("ADD ($t,$v)"); ###
#main::Debug("ADD ($t,$v)"); ###
# count
$self->{count}++;
@ -198,7 +198,7 @@ sub add($$$) {
$self->{sd}= sqrt($self->{_S}/ ($n-1)) / $T if($n> 1);
}
}
main::Debug(Dumper($self)); ###
#main::Debug(Dumper($self)); ###
}