evt fehler behoben
This commit is contained in:
@@ -109,11 +109,11 @@ public function RequestAction($Ident, $Value)
|
||||
|
||||
|
||||
if ($power >= 0) {
|
||||
SetValue($this->GetIDForIdent("Ladeleistung"), $power);
|
||||
SetValue($this->GetIDForIdent("Entladeleistung"), 0);
|
||||
$this->SetValue("Ladeleistung", $power);
|
||||
$this->SetValue("Entladeleistung", 0);
|
||||
} else {
|
||||
SetValue($this->GetIDForIdent("Entladeleistung"), abs($power));
|
||||
SetValue($this->GetIDForIdent("Ladeleistung"), 0);
|
||||
$this->SetValue("Entladeleistung", abs($power));
|
||||
$this->SetValue("Ladeleistung", 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user