no message
This commit is contained in:
@@ -567,11 +567,14 @@ class Ladestation_v2 extends IPSModule
|
||||
return $resultArray;
|
||||
|
||||
}else{
|
||||
if ($is_1_ph) {
|
||||
$resultArray[] = $this->GetValue("Mindestaldestrom") * 230;
|
||||
} else {
|
||||
$resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71;
|
||||
}
|
||||
// Schleife wie gehabt
|
||||
for ($i = (max($this->GetValue("Mindestaldestrom") + 1, 6)); $i <= $current; $i++) {
|
||||
if ($is_1_ph) {
|
||||
$resultArray[] = $i * 230;
|
||||
} else {
|
||||
$resultArray[] = $i * 400 * 1.71;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user