diff --git a/libs/VerbraucherBasisTrait.php b/libs/VerbraucherBasisTrait.php new file mode 100644 index 0000000..5fc25a5 --- /dev/null +++ b/libs/VerbraucherBasisTrait.php @@ -0,0 +1,35 @@ +RegisterPropertyInteger('PrioritaetPV', 0); + $this->RegisterPropertyInteger('PrioritaetPeak', 0); + $this->RegisterPropertyInteger('Meldeintervall', 10); + $this->RegisterPropertyInteger('VorgabeTimeout', 30); + $this->RegisterPropertyBoolean('EinstellungenInVisu', false); + $this->RegisterPropertyBoolean('LoggingEin', false); + + $this->RegisterVariableBoolean('Aktiv', 'Aktiv', '~Switch', 10); + $this->EnableAction('Aktiv'); + $this->RegisterVariableFloat('Istleistung', 'Istleistung', '', 20); + $this->RegisterVariableInteger('Leistungsquelle', 'Leistungsquelle', '', 30); + $this->RegisterVariableInteger('Sollleistung', 'Sollleistung', '', 40); + $this->RegisterVariableBoolean('SollwertGueltig', 'Sollwert gueltig', '~Switch', 50); + $this->RegisterVariableBoolean('Verfuegbar', 'Verfuegbar', '~Switch', 60); + $this->RegisterVariableBoolean('AenderungMoeglich', 'Aenderung moeglich', '~Switch', 70); + $this->RegisterVariableBoolean('Stoerung', 'Stoerung', '', 80); + $this->RegisterVariableString('Stoertext', 'Stoertext', '', 90); + } +}