getGroupDpsInfos
Requires:
@ray-js/ray≥1.5.2
Method signature
getGroupDpsInfos(groupId: string)Description
Get all DP information for a group device, typically to retrieve group DP names, used with updateGroupDpName
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
groupId | string | Yes | Group ID |
Return Value
Type: Promise<IGetGroupDpsInfosResponse>
DP info object containing code, dpId, value, name, time, type
Referenced Types
interface
IGetGroupDpsInfosResponse| Property | Type | Description |
|---|---|---|
code | string | DP Code |
dpId | number | DP ID |
value | string | DP value |
name | string | DP name |
time | number | Most recent DP report time |
type | string | DP type |