This commit is contained in:
@@ -139,6 +139,7 @@ class LadestationStandAlone extends IPSModule implements VerbraucherSchnittstell
|
||||
|
||||
$this->initialisiereLokaleEinstellungen();
|
||||
$this->aktualisiereVariablen();
|
||||
$this->bereinigeUngueltigenSollwert();
|
||||
|
||||
// Ein persistiertes Ladeende nach Neueinrichtung oder Modulupdate einmal neu pruefen.
|
||||
$this->setzeZustand('FahrzeugGeladen', false);
|
||||
@@ -190,7 +191,7 @@ class LadestationStandAlone extends IPSModule implements VerbraucherSchnittstell
|
||||
$this->starteRegeluebergang();
|
||||
} else {
|
||||
$this->beendeRegeluebergang();
|
||||
$this->setzeZustand('SollwertGueltig', false);
|
||||
$this->verwerfeSollwert();
|
||||
}
|
||||
$this->aktualisiere(true);
|
||||
return;
|
||||
@@ -203,7 +204,7 @@ class LadestationStandAlone extends IPSModule implements VerbraucherSchnittstell
|
||||
$this->starteRegeluebergang();
|
||||
} else {
|
||||
$this->beendeRegeluebergang();
|
||||
$this->setzeZustand('SollwertGueltig', false);
|
||||
$this->verwerfeSollwert();
|
||||
}
|
||||
$this->aktualisiere(true);
|
||||
return;
|
||||
@@ -224,7 +225,7 @@ class LadestationStandAlone extends IPSModule implements VerbraucherSchnittstell
|
||||
|
||||
case 'VorgabeTimeout':
|
||||
$this->SetTimerInterval('VorgabeTimeout', 0);
|
||||
$this->setzeZustand('SollwertGueltig', false);
|
||||
$this->verwerfeSollwert();
|
||||
$this->aktualisiere(true);
|
||||
return;
|
||||
|
||||
@@ -275,7 +276,7 @@ class LadestationStandAlone extends IPSModule implements VerbraucherSchnittstell
|
||||
if ((bool) $this->leseZustand('SollwertGueltig')
|
||||
&& !in_array((int) $this->leseZustand('Sollleistung'), $this->leseLeistungsangebot(), true)
|
||||
) {
|
||||
$this->setzeZustand('SollwertGueltig', false);
|
||||
$this->verwerfeSollwert();
|
||||
$this->aktualisiere(false, false);
|
||||
}
|
||||
$this->SetTimerInterval('RueckmeldungVerzoegert', 100);
|
||||
@@ -560,7 +561,7 @@ class LadestationStandAlone extends IPSModule implements VerbraucherSchnittstell
|
||||
if (in_array($sollleistung, $angebot, true)) {
|
||||
return $sollleistung;
|
||||
}
|
||||
$this->setzeZustand('SollwertGueltig', false);
|
||||
$this->verwerfeSollwert();
|
||||
$ersatz = 0;
|
||||
foreach ($angebot as $leistungswert) {
|
||||
if ($leistungswert > $sollleistung) {
|
||||
|
||||
Reference in New Issue
Block a user