syntaxfehler behoben...

This commit is contained in:
2024-07-17 14:34:56 +02:00
parent a1cdf89f7a
commit 257aef2eab
2 changed files with 3 additions and 3 deletions

View File

@@ -253,7 +253,7 @@ public function sendPowerToStation($value) {
public function convertPowerToCurrent($value, $Lademodus) { public function convertPowerToCurrent($value, $Lademodus) {
if($Lademodus===1){ if($Lademodus==1){
if ($value == 0) { if ($value == 0) {
return 0; return 0;
} elseif ($value == 4150) { } elseif ($value == 4150) {
@@ -313,7 +313,7 @@ public function convertPowerToCurrent($value, $Lademodus) {
} }
return 0; return 0;
}elseif($Lademodus===0){ }elseif($Lademodus==0){
if ($value == 0) { if ($value == 0) {
return 0; return 0;
} elseif ($value == 1450) { } elseif ($value == 1450) {

View File

@@ -6,7 +6,7 @@
"compatibility": { "compatibility": {
"version": "7.1" "version": "7.1"
}, },
"version": "0.2", "version": "0.3",
"build": 0, "build": 0,
"date": 0 "date": 0
} }