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.
设置在扩展 API 中 Power 网络标识关联的器件 UUID
Signature
typescript
setNetFlagComponentUuid_Power(component: {
libraryUuid: string;
uuid: string;
} | ILIB_DeviceItem): Promise<boolean>;
1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
---|---|---|
component | { libraryUuid: string; uuid: string; } | ILIB_DeviceItem | 关联库器件 |
Returns
Promise<boolean>
操作是否成功