diff --git a/Belevo_Bezahl_Modul/module.php b/Belevo_Bezahl_Modul/module.php index 432fae6..6f3daa6 100644 --- a/Belevo_Bezahl_Modul/module.php +++ b/Belevo_Bezahl_Modul/module.php @@ -7,9 +7,12 @@ class Belevo_Bezahl_Modul extends IPSModule { // Die Standard-Create() Methode aufrufen parent::Create(); + $this->RegisterPropertyInteger("Reservate", 0); + $this->RegisterPropertyInteger("GetAmount", 0); + $this->RegisterPropertyInteger("HTMLBox", 0); + $this->RegisterVariableInteger("ReservationAmount", "ReservationAmount", '', 0); $this->RegisterVariableInteger("ReservationAmount", "ReservationAmount", '', 0); $this->RegisterVariableBoolean("AmountIsReserved", "AmountIsReserved", '', false); - $this->RegisterVariableString("HTMLContent", "HTMLContent", '', ''); // Initiales HTML setzen $this->SetHTMLContent(); @@ -104,7 +107,7 @@ class Belevo_Bezahl_Modul extends IPSModule '; - SetValue($this->GetIDForIdent("HTMLContent"), $html); // Baut das HTML auf + SetValue($this->ReadPropertyInteger("HTMLBox"), $html); // Baut das HTML auf } } ?> \ No newline at end of file diff --git a/library.json b/library.json index 23a79c2..aa840e4 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.014", + "version": "1.015", "build": 0, "date": 0 } \ No newline at end of file