Requires: IP-Symcon >= 5.1
void RegisterAttributeInteger (string $Name, integer $DefaultValue)
Name | Name of the attribute |
DefaultValue | Default value of the attribute |
No Return |
This function creates an attribute of the type integer with the name Name and the default value DefaultValue
This function can only be called in the Create method!
public function Create() { // Don't delete or change this line. parent::Create(); $this->RegisterAttributeInteger("SequenceCounter", 0); }