[TOC]
简要描述
请求URL
android/spore/propertyList
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
deviceNumber |
是 |
string |
设备编码 |
返回示例
{
"msg": "操作成功",
"code": 200,
"data": [
{
"id": 25,
"deviceId": 29,
"deviceNumber": "120593101316001",
"type": null,
"setName": "相机分辨率参数",
"setChar": "camera_ratio",
"setValue": "2000",
"propertyStatus": 1,
"createdAt": "2023-09-04T07:48:56.000+0000",
"updatedAt": "2023-09-04T08:23:53.151+0000"
},
{
"id": 26,
"deviceId": 29,
"deviceNumber": "120593101316001",
"type": null,
"setName": "高温报警阈值",
"setChar": "high_threshold",
"setValue": "35",
"propertyStatus": 1,
"createdAt": "2023-09-04T07:48:56.000+0000",
"updatedAt": "2023-09-04T08:23:53.256+0000"
},
{
"id": 27,
"deviceId": 29,
"deviceNumber": "120593101316001",
"type": null,
"setName": "载玻带电机使能",
"setChar": "belt_motor_enable",
"setValue": "1",
"propertyStatus": 1,
"createdAt": "2023-09-04T07:48:56.000+0000",
"updatedAt": "2023-09-04T08:23:53.393+0000"
}
]
}
返回参数说明
参数名 |
类型 |
说明 |
msg |
string |
消息 |
code |
int |
状态码 成功200失败500 |
data |
array |
数据集合 |
deviceId |
int |
设备ID |
deviceNumber |
int |
设备编码 |
setName |
string |
属性名称 |
setChar |
string |
属性字段 |
setValue |
string |
属性值 |
propertyStatus |
int |
属性状态1=使用,0=禁止 |
createdAt |
date |
添加时间 |
updatedAt |
date |
修改时间 |
备注