no message
This commit is contained in:
@@ -30,8 +30,7 @@ class Bat_EV_SDL extends IPSModule
|
|||||||
// Optional: Voller JSON-Dump zum Debuggen/Weiterverarbeiten
|
// Optional: Voller JSON-Dump zum Debuggen/Weiterverarbeiten
|
||||||
$this->RegisterVariableString("CalcJSON", "Berechnung (JSON)", "", 99);
|
$this->RegisterVariableString("CalcJSON", "Berechnung (JSON)", "", 99);
|
||||||
|
|
||||||
// ---- Timer ----
|
|
||||||
$this->RegisterTimer("UpdateTimer", 0, 'MyModule_Update($_IPS["TARGET"]);');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===========================
|
/* ===========================
|
||||||
@@ -41,8 +40,6 @@ class Bat_EV_SDL extends IPSModule
|
|||||||
{
|
{
|
||||||
parent::ApplyChanges();
|
parent::ApplyChanges();
|
||||||
|
|
||||||
// z.B. alle 10s neu rechnen (0 = aus)
|
|
||||||
$this->SetTimerInterval("UpdateTimer", 10000);
|
|
||||||
|
|
||||||
// Sofort nach Speichern einmal rechnen
|
// Sofort nach Speichern einmal rechnen
|
||||||
$this->Update();
|
$this->Update();
|
||||||
|
|||||||
Reference in New Issue
Block a user