Home > SCH_PrimitiveComponent > setNetFlagComponentUuid_Power
SCH_PrimitiveComponent.setNetFlagComponentUuid_Power() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Set the device UUID associated with the Power net flag in the extension API
Signature
typescript
function setNetFlagComponentUuid_Power(
component: { libraryUuid: string; uuid: string } | ILIB_DeviceItem | ILIB_DeviceSearchItem,
): Promise<boolean>;1
2
3
2
3
Parameters
Parameter | Type | Description |
|---|---|---|
component | { libraryUuid: string; uuid: string } | ILIB_DeviceItem | ILIB_DeviceSearchItem | Associate library device |
Returns
Promise<boolean>
Whether the operation is successful