no message
This commit is contained in:
@@ -233,9 +233,9 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
//$a = 2.54 * pow($V, 2) - 252 * $V + 6255.4;
|
||||
|
||||
if ($this->GetValue("Ladestrom") > 0 ) {
|
||||
if (GetValue("Ladestrom") > 0 ) {
|
||||
$V = GetValue($this->ReadPropertyInteger("Batteriespannung")) + 1;
|
||||
}elseif ($this->GetValue("Entladedestrom") > 0) {
|
||||
}elseif (GetValue("Entladedestrom") > 0) {
|
||||
$V = GetValue($this->ReadPropertyInteger("Batteriespannung")) - 1;
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user