version 1.9.2
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
{ "type": "NumberSpinner", "name": "Projectnumber", "caption": "Projectnumber" },
|
||||
{ "type": "ValidationTextBox", "name": "Projectname", "caption": "Projectname" },
|
||||
{ "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":
|
||||
|
||||
@@ -17,6 +17,7 @@ class MonitoringClient extends IPSModule {
|
||||
$this->RegisterPropertyInteger("Projectyear","2023");
|
||||
$this->RegisterPropertyInteger("Updatetime","20");
|
||||
$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();
|
||||
|
||||
$this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000);
|
||||
$this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000 * 60);
|
||||
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user