Updatetimer für Bits hinzugefühgt
This commit is contained in:
@@ -25,6 +25,7 @@ class CC100_HW extends IPSModule
|
||||
|
||||
// Timer für PT1 und PT2 einrichten
|
||||
$this->RegisterTimer("ReadPTValues", 30000, 'IPS_RequestAction(' . $this->InstanceID . ', "DOUT_ReadPTValues", "");');
|
||||
$this->RegisterTimer("WriteBits", 1000, 'IPS_RequestAction(' . $this->InstanceID . ', "DOUT_ReadPTValues", "");');
|
||||
|
||||
}
|
||||
|
||||
@@ -40,7 +41,9 @@ class CC100_HW extends IPSModule
|
||||
case "DOUT_ReadPTValues":
|
||||
$this->DOUT_ReadPTValues();
|
||||
break;
|
||||
|
||||
case "UpdateFile":
|
||||
$this->UpdateFile();
|
||||
break;
|
||||
default:
|
||||
throw new Exception("Invalid Ident");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user