version 1.9.2
This commit is contained in:
@@ -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":
|
||||||
|
|||||||
@@ -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
@@ -8,6 +8,6 @@
|
|||||||
"date": 1491343200
|
"date": 1491343200
|
||||||
},
|
},
|
||||||
"version": "1.9",
|
"version": "1.9",
|
||||||
"build": 1,
|
"build": 2,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user