- 授权相关
- 系统:字典详情管理
- 设备相关
- 领航盾,未来星,振动小卫士
- 通用
- 设备信息
- 首页
- 报警日志
- 设备状态
- 设备使用率相关
- 互联测控
- 数据大屏
根据机床id获取报警日志分页
GET
/api/wzDeviceLogData
小程序设备相关接口
请求参数
Query 参数
machineId
integer
机床ID
page
integer
页码
size
integer
页容量
sort
string
排序规则
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/wzDeviceLogData?machineId=&page&size&sort'
返回响应
🟢200ok
application/json
Body
content
array [object {41}]
必需
autoRatioState
integer
自适应加工状态
complexChannelNum
integer
复合通道
currentSchedule
integer
当前班次
dataTime
integer
报警时间
detectorHigh
integer
高通
detectorLow
integer
低通
detectorOffset
integer
G00补偿
detectorState
integer
继电器输出配置
detectorType
integer
探测器类型
detectorWarn
integer
探测器报警界限
deviceName
string
设备名称
g01MultiWarnAdd
integer
G01多次报警补偿
id
integer
自增id
isInitiativePull
boolean
是否允许主动拉取
isStop
boolean
是否停机
isUnusual
boolean
是否异常0正常1异常
isVideoExists
boolean
是否存在报警视频
isVideoValid
boolean
是否有效报警视频
knifeDia
integer
刀具直径
knifeLen
integer
刀具长度
knifeNum
integer
刀具ID
knifeR
integer
刀具R角
knifeRemark
string
刀具备注
knifeType
integer
刀具类型
logId
string
日志ID,唯一索引
mark
string
备注
material
integer
加工材料
maxChannelNum
integer
最大值通道
netTime
integer
网络时间
newestLogAddr
integer
最新日志位置
pushKnifeTime
integer
抬刀时间
realValue
integer
报警实际值
sceneChangeDelay
integer
场景切换延时
sceneControl
integer
减倍率4b_加倍率3b_场景自学习1b
sceneLearnTime
integer
场景自学时长
sceneName
string
场景名称
sceneNum
integer
场景号
specialSceneNum
integer
特殊场景编号
state
boolean
状态
workMode
integer
加工模式
deviceLocation
string
设备位置
totalElements
integer
总条数
示例
{
"content": [
{
"autoRatioState": 1,
"complexChannelNum": 5,
"currentSchedule": 1,
"dataTime": 1714822557014,
"detectorHigh": 0,
"detectorLow": 0,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 5,
"detectorWarn": 347,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3143976,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 21,
"knifeR": 0,
"knifeRemark": "T21",
"knifeType": 2,
"logId": "4831472271989987837",
"mark": "磨损",
"material": 7,
"maxChannelNum": 5,
"netTime": 1714822557000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 348,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T21",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 6
},
{
"autoRatioState": 1,
"complexChannelNum": 3,
"currentSchedule": 1,
"dataTime": 1714808144671,
"detectorHigh": 0,
"detectorLow": 0,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 9,
"detectorWarn": 4161,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3143753,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 21,
"knifeR": 0,
"knifeRemark": "T21",
"knifeType": 2,
"logId": "491967529468110637",
"mark": "刀粒崩",
"material": 7,
"maxChannelNum": 3,
"netTime": 1714808144000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 4614,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T21",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 6
},
{
"autoRatioState": 1,
"complexChannelNum": 4,
"currentSchedule": 1,
"dataTime": 1714723510993,
"detectorHigh": 90,
"detectorLow": 10,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 6,
"detectorWarn": 10050,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3143277,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 1,
"knifeR": 0,
"knifeRemark": "T1",
"knifeType": 1,
"logId": "8232893099339420204",
"mark": "更换刀粒",
"material": 6,
"maxChannelNum": 4,
"netTime": 1714723511000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 10219,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T1",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 5
},
{
"autoRatioState": 1,
"complexChannelNum": 4,
"currentSchedule": 1,
"dataTime": 1714262762103,
"detectorHigh": 90,
"detectorLow": 10,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 6,
"detectorWarn": 10050,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3141750,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 1,
"knifeR": 0,
"knifeRemark": "T1",
"knifeType": 1,
"logId": "8029637746621244910",
"mark": "有铁块",
"material": 6,
"maxChannelNum": 4,
"netTime": 1714262762000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 10076,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T1",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 5
},
{
"autoRatioState": 1,
"complexChannelNum": 4,
"currentSchedule": 1,
"dataTime": 1714262720223,
"detectorHigh": 90,
"detectorLow": 10,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 6,
"detectorWarn": 10050,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3141747,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 1,
"knifeR": 0,
"knifeRemark": "T1",
"knifeType": 1,
"logId": "5683142726957391310",
"mark": "异常",
"material": 6,
"maxChannelNum": 4,
"netTime": 1714262720000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 10133,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T1",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 5
},
{
"autoRatioState": 1,
"complexChannelNum": 2,
"currentSchedule": 2,
"dataTime": 1714147949478,
"detectorHigh": 0,
"detectorLow": 0,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 8,
"detectorWarn": 5566,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3141190,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 21,
"knifeR": 0,
"knifeRemark": "T21",
"knifeType": 2,
"logId": "8243629765431701806",
"mark": "刀粒异常",
"material": 7,
"maxChannelNum": 2,
"netTime": 1714147949000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 5664,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T21",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 6
},
{
"autoRatioState": 1,
"complexChannelNum": 5,
"currentSchedule": 1,
"dataTime": 1714122459249,
"detectorHigh": 0,
"detectorLow": 0,
"detectorOffset": 100,
"detectorState": 1,
"detectorType": 5,
"detectorWarn": 182,
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 100,
"id": 3141119,
"isInitiativePull": false,
"isStop": true,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeDia": 0,
"knifeLen": 0,
"knifeNum": 29,
"knifeR": 0,
"knifeRemark": "T29",
"knifeType": 0,
"logId": "3688671681969240333",
"mark": "刀具磨损",
"material": 0,
"maxChannelNum": 5,
"netTime": 1714122459000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 183,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T29",
"sceneNum": 1,
"specialSceneNum": 0,
"state": true,
"workMode": 0
},
{
"autoRatioState": 1,
"complexChannelNum": 5,
"currentSchedule": 1,
"dataTime": 1712464030255,
"detectorHigh": 0,
"detectorLow": 0,
"detectorOffset": 100,
"detectorState": 217,
"detectorType": 5,
"detectorWarn": 425,
"deviceLocation": "0",
"deviceName": "aee94c7cbc3b",
"g01MultiWarnAdd": 0,
"id": 3125938,
"isInitiativePull": false,
"isStop": false,
"isUnusual": true,
"isVideoExists": true,
"isVideoValid": true,
"knifeNum": 1,
"logId": "473877050117784702",
"mark": "刀具磨损",
"maxChannelNum": 5,
"netTime": 1712464030000,
"newestLogAddr": 0,
"pushKnifeTime": 0,
"realValue": 480,
"sceneChangeDelay": 0,
"sceneControl": 0,
"sceneLearnTime": 0,
"sceneName": "T1",
"sceneNum": 1,
"state": true
}
],
"totalElements": 8
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-05-08 11:49:02