getBindRuleList
Requires:
@ray-js/ray≥1.4.61
Method signature
getBindRuleList(params: )Description
Query scenes bound to the device condition
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Query parameters |
Return Value
Type: Promise<IBindRuleListItem[]>
List of bound rules
Referenced Types
interface
IBindRuleListItem| Property | Type | Description |
|---|---|---|
associativeEntityId | AssociativeEntityId | Establish a binding with a panel/device, typically using a device ID, DP, group, rule, or dpId#value |
| List of associated entity values | ||
bindId | number | Binding ID, typically used for unbinding |
bizDomain | string | Business domain |
enable | boolean | Whether enabled |
sourceEntityId | string | Device ID |
enum
EntityType| Value | Actual Value | Description |
|---|---|---|
EntityType.DEVICE | 1 | Associated entity is a device |
EntityType.RULE | 2 | Associated entity is a linkage rule |
type
AssociativeEntityIdValid Values
EntityType
| Value | Description | Since |
|---|---|---|
1 | Associated entity is a device | - |
2 | Associated entity is a linkage rule | - |