06.01.2013 Aufrufe

Migration - Smarthome-Components

Migration - Smarthome-Components

Migration - Smarthome-Components

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

IPS_GetVariableProfile<br />

array IPS_GetVariableProfile ( string $ProfilName )<br />

Parameterliste<br />

ProfilName Name des Variablenprofils<br />

Rückgabewerte<br />

Folgende Informationen stehen als key => value Paare zur Verfügung:<br />

Index Typ Beschreibung<br />

Associations array Array mit Wert, Name, Icon Paaren<br />

Icon string Icon des Variablenprofils<br />

IsReadOnly boolean TRUE, wenn es ein systemerstelltes Profil ist, welches nicht geändert werden kann.<br />

MaxValue float Maximalwert für die Visualisierung<br />

MinValue float Minimalwert für die Visualisierung<br />

StepSize float Schrittweite für die Visualisierung; 0, wenn Assoziationstabelle genutzt werden soll<br />

Digits integer Anzahl der Nachkommastellen<br />

Prefix array Präfix für die Visualisierung<br />

Suffix integer Suffix für die Visualisierung<br />

ProfileName string Name des Profils (~ = Systemprofil)<br />

ProfileType integer Typ des Profils (Siehe VariablenTyp)<br />

Beschreibung<br />

Der Befehl liefert ein Array mit Informationen über das Variableprofil mit dem Namen ProfilName.<br />

Beispiel<br />

print_r( IPS_GetVariableProfile("~WindDirection") );<br />

/* liefert z.B.:<br />

Array<br />

(<br />

)<br />

[Associations] => Array<br />

(<br />

)<br />

[Digits] => 1<br />

[Icon] => WindDirection<br />

[IsReadOnly] => 1<br />

[MaxValue] => 360<br />

[MinValue] => 0<br />

[Prefix] =><br />

[ProfileName] => ~WindDirection<br />

[ProfileType] => 2<br />

[StepSize] => 60<br />

[Suffix] => °

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!