06.01.2013 Aufrufe

Migration - Smarthome-Components

Migration - Smarthome-Components

Migration - Smarthome-Components

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

if ($finished)<br />

{<br />

}<br />

IPS_LogMessage('Reaggregation', 'Reaggregation completed!');<br />

IPS_SetScriptTimer($_IPS['SELF'], $finished ? 0 : 60);<br />

function CreateVariableByName($id, $name, $type, $profile = "")<br />

{<br />

}<br />

$vid = @IPS_GetVariableIDByName($name, $id);<br />

if($vid === false)<br />

{<br />

}<br />

$vid = IPS_CreateVariable($type);<br />

IPS_SetParent($vid, $id);<br />

IPS_SetName($vid, $name);<br />

IPS_SetInfo($vid, "this variable was created by script #".$_IPS['SELF']);<br />

if($profile !== "")<br />

{<br />

}<br />

return $vid;<br />

IPS_SetVariableCustomProfile($vid, $profile);

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

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!