tslV2QueryAllProperties 全属性(properties)查询(物模型2.0)

tslV2QueryAllProperties ^8.13.1

全属性(properties)查询(物模型2.0)

#请求参数

Prop Type Default Comment
applianceCode String N/A 设备编码
sync Number N/A 是否同步 1/0

#接口调用示例

const params = {
  applianceCode: '5123791273891273', //设备编码
  sync: 1
}
this.$bridge
  .tslV2QueryAllProperties(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#返回参数

Prop Type Default Description
code Number N/A 0: 请求成功
data Array N/A 物模型返回的数据
  • data 对象属性
Prop Type Default Description
requestId String N/A 请求ID
data String N/A "data":
posted on 2024-12-21 14:46  AtlasLapetos  阅读(6)  评论(0)    收藏  举报