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

Module.getDevice()

to get the module device by the original device name (the analog of IR.GetDevice)

Syntax

Module.getDevice(name)

input sample description
name "MyDevice" type: String
the driver name
output
Object type: Object
the reference to the driver


Example:

Module = B.getModule(ModuleID);
var device = Module.getDevice(“AV & Custom System (TCP));