What can we improve?

Documentation

(Edit)

RegisterAttributeFloat

Requires: IP-Symcon >= 5.1

void RegisterAttributeFloat (string $Name, float $DefaultValue)

Parameters

Name Name of the attribute
DefaultValue Default value of the attribute

Returns

No Return

Description

This function creates an attribute of the type float with the name Name and the default value DefaultValue

This function can only be called in the Create method!

Example

public function Create() {
 
    // Don't delete or change this line.
    parent::Create();
 
    $this->RegisterAttributeFloat("Median", 0.5);
 
}
Deutsche Webseite verfügbar
Go to cart
Any questions?