- 授权相关
- 系统:字典详情管理
- 设备相关
- 领航盾,未来星,振动小卫士
- 通用
- 设备信息
- 首页
- 报警日志
- 设备状态
- 设备使用率相关
- 互联测控
- 数据大屏
查询主机每天每班历史稼动率
POST
/api/applet/getDeviceDataByStartTime
小程序设备相关接口
请求参数
Body 参数application/json
dataTimes
integer <int64>
查询日时间 ms
deviceId
integer <int64>
设备ID
scope
integer <int32>
查询天数范围
shiftNum
integer <int32>
查询班次
示例
{
"dataTimes": 0,
"deviceId": 0,
"scope": 0,
"shiftNum": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/applet/getDeviceDataByStartTime' \
--header 'Content-Type: application/json' \
--data-raw '{
"dataTimes": 0,
"deviceId": 0,
"scope": 0,
"shiftNum": 0
}'
返回响应
🟢200ok
application/json
Body
dataTime
string
日期
dataTimeLong
integer <int64>
时间Long类型
downtime
integer <int32>
停机时间
efficiency
number <double>
效率
emptyRunningTime
integer <int32>
空运行时间
machineNumber
integer <int32>
设备编号
machineQuantity
integer <int32>
总数量时间
startTime
integer <int32>
开机时间
useWorkTime
integer <int32>
切削时间
workTime
integer <int32>
开动时间
示例
{
"dataTime": "string",
"dataTimeLong": 0,
"downtime": 0,
"efficiency": 0,
"emptyRunningTime": 0,
"machineNumber": 0,
"machineQuantity": 0,
"startTime": 0,
"useWorkTime": 0,
"workTime": 0
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-04-27 09:51:20