Home > LIB_Device > get
LIB_Device.get() 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.
获取器件的所有属性
Signature
typescript
get(deviceUuid: string, libraryUuid?: string): Promise<ILIB_DeviceItem | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
deviceUuid | string | 器件 UUID |
libraryUuid | string | (Optional) 库 UUID,默认为系统库,可以使用 LIB_LibrariesList 内的接口获取 |
Returns
Promise<ILIB_DeviceItem | undefined>
器件属性