Материал из Module developer
Перейти к: навигация, поиск
  • To remove an action of the subdevice.

You can use the following method to remove actions from subdevices:
SubDevice.removeAction(in_ActionName)
The input parameter is in_ActionName - the action name (Name).
The output parameter of the method is True or False (successful or not).

  • To receive the subdevice .

This method is used to get data about subdevices (wrapping):
module.getSubDevice(in_SubDeviceName)
The input parameter of the method is in_SubDeviceName - the subdevice name.
The input parameter of the method is a subdevice object.

  • To remove a subdevice.

You can use the following method to remove subdevices:
module.removeSubDevice(in_SubDevice)
The input parameter of the method is in_SubDevice - a subdevice object.
The output parameter of the method is True or False (successful or not).