Материал из Module developer
To connect a module just drag and drop it as it is shown in the image.
Here is the code:
l_oSubDevice = module.AddSubDevice("Light " + count, HDL_SERVER, false, IR.SUB_DEVICE_TYPE_THROUGH_DIMMER);
