Материал из Module developer
Перейти к: навигация, поиск

var l_nConditionID = l_oCondition.ID; //Getting a condition l_oSubDevice.GetCondition(l_nConditionID); </syntaxhighlight> |attentions= }}

SubDevice.AddSettingsFunction

{{API Function/ru |description=Setting a funtion to set a subdevice. It is used for additional settings of a sundevice. It it called by pressing the gear icon in the app.
i3 lite -> "Configurator" -> "Devices " -> Select the required device -> The setting button is in the top right corner (the gear icon). |constructor= SubDevice.AddSettingsFunction(callback, space); |input =

callback function(){...} type: function
Callback function
space this type: object
Pointer to an object that services a function.

|output=