交互对象动作触发
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
iotId | string | 是 | — | 原生模型和孪生体自定义的iotid |
actionName | string | 是 | — | 动作名 |
props | string | 是 | — | 参数 |
调用
typescript
piclient.emit("iot.objectAction",{
iotId: "",//原生模型和孪生体自定义的iotid
actionName: "",//动作名
props: "",//参数
})