交互对象属性变更
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
iotId | string | 是 | — | 原生模型和孪生体自定义的iotid |
propName | string | 是 | — | 原生模型和孪生体属性名称 |
propValue | string | 是 | — | 原生模型和孪生体属性值 |
调用
typescript
piclient.emit("iot.objectPropertyChange",{
iotId: "",//原生模型和孪生体自定义的iotid
propName: "",//原生模型和孪生体属性名称
propValue: "",//原生模型和孪生体属性值
})