syntaxfehler behoben...
This commit is contained in:
@@ -253,7 +253,7 @@ public function sendPowerToStation($value) {
|
||||
|
||||
public function convertPowerToCurrent($value, $Lademodus) {
|
||||
|
||||
if($Lademodus===1){
|
||||
if($Lademodus==1){
|
||||
if ($value == 0) {
|
||||
return 0;
|
||||
} elseif ($value == 4150) {
|
||||
@@ -313,7 +313,7 @@ public function convertPowerToCurrent($value, $Lademodus) {
|
||||
}
|
||||
return 0;
|
||||
|
||||
}elseif($Lademodus===0){
|
||||
}elseif($Lademodus==0){
|
||||
if ($value == 0) {
|
||||
return 0;
|
||||
} elseif ($value == 1450) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"compatibility": {
|
||||
"version": "7.1"
|
||||
},
|
||||
"version": "0.2",
|
||||
"version": "0.3",
|
||||
"build": 0,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user