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) {
|
||||
|
||||
Reference in New Issue
Block a user