version 1.9.2

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-03-04 09:24:38 +01:00
parent 049fe016e8
commit f6fd92255e
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -10,7 +10,8 @@
{ "type": "NumberSpinner", "name": "Projectnumber", "caption": "Projectnumber" }, { "type": "NumberSpinner", "name": "Projectnumber", "caption": "Projectnumber" },
{ "type": "ValidationTextBox", "name": "Projectname", "caption": "Projectname" }, { "type": "ValidationTextBox", "name": "Projectname", "caption": "Projectname" },
{ "type": "NumberSpinner", "name": "ISP", "caption": "ISP-Number" }, { "type": "NumberSpinner", "name": "ISP", "caption": "ISP-Number" },
{ "type": "NumberSpinner", "name": "Updatetime", "caption": "Updatetime","suffix": "seconds","minimum ": "10" } { "type": "NumberSpinner", "name": "Updatetime", "caption": "Updatetime","suffix": "seconds","minimum ": "10" },
{ "type": "NumberSpinner", "name": "Updatetime", "caption": "Force Updatetime","suffix": "minutes","minimum ": "30" }
], ],
"actions": "actions":
+2
View File
@@ -17,6 +17,7 @@ class MonitoringClient extends IPSModule {
$this->RegisterPropertyInteger("Projectyear","2023"); $this->RegisterPropertyInteger("Projectyear","2023");
$this->RegisterPropertyInteger("Updatetime","20"); $this->RegisterPropertyInteger("Updatetime","20");
$this->RegisterTimer("Update", 0, 'SEMC_SendTopic('.$this->InstanceID.');'); $this->RegisterTimer("Update", 0, 'SEMC_SendTopic('.$this->InstanceID.');');
$this->RegisterTimer("Update", 0, 'ForceSendTopic('.$this->InstanceID.');');
} }
@@ -26,6 +27,7 @@ class MonitoringClient extends IPSModule {
parent::ApplyChanges(); parent::ApplyChanges();
$this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000); $this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000);
$this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000 * 60);
} }
/** /**
+1 -1
View File
@@ -8,6 +8,6 @@
"date": 1491343200 "date": 1491343200
}, },
"version": "1.9", "version": "1.9",
"build": 1, "build": 2,
"date": 0 "date": 0
} }