微振物联网平台(对外)
  1. 加工数据
微振物联网平台(对外)
  • 授权相关
    • 通过accessKey和accessKeySecret获取Authorization
      POST
  • 系统:字典详情管理
    • 查询字典详情
      GET
    • 查询多个字典详情
      GET
  • 设备相关
    • 领航盾,未来星,振动小卫士
      • 加工数据
        • 根据设备ID查询设备振动数据
          POST
    • 通用
      • 设备信息
        • 根据ID查询面板配置
        • 查询主机信息
        • 根据设备Mac查询主机信息
        • 查询显示配置详情
      • 首页
        • 后台首页
      • 报警日志
        • 根据机床id获取报警日志详情
        • 根据机床id获取报警日志分页
        • 根据报警日志logId获取报警视频列表
      • 设备状态
        • 查询主机工作状态(区间)
        • 查询主机工作状态
      • 设备使用率相关
        • 实时数据
          • 设备指定时间当天每半小时使用率
          • 根据设备ID查询设备实时稼动率信息
          • 根据设备名称查询最新稼动率数据
          • 根据主机ID查询主机实时数据
          • 根据机床ID或Mac查询设备指定日期历史数据
        • 历史统计数据
          • 查询主机日周月报信息按部门分组
          • 查询主机月报信息按部门分组
          • 查询主机日周月报信息按设备分组
          • 查询操机员月报信息
          • 查询主机月报信息
          • 日报查询主机信息
          • 查询主机每天每班历史稼动率
        • 快照
          • 根据ID查询快照通知详情
    • 互联测控
      • 加工数据
        • 查询指定日期班次程序号使用情况
        • 根据设备Mac获取sensor列表
        • 根据机床ID或设备Mac查询设备振动数据
        • 根据设备列表查询探测器索引列表
        • 查询探测器索引设置列表
      • 主机数据
        • 获取主机刀具或场景信息
    • 数据大屏
      • 查询大屏全局配置
      • 查询主机日周月报信息大屏按部门分组
      • 根据部门ID获取稼动率看板数据(动态看板)
      • 根据设备ID查询主机多天稼动率
      • 根据设备Mac查询设备使用率最新历史信息
      • 根据设备Mac查询设备使用率历史记录
  1. 加工数据

根据设备ID查询设备振动数据

POST
/api/wzDeviceHistoryData/selectByDeviceId
设备历史数据管理

请求参数

Body 参数application/json
dataTime
array[integer <int64>]
必需
查询开始时间和结束时间
deviceId
integer <int64>
必需
设备ID,与设备名称 必填一个
deviceName
string 
设备Mac地址
可选
示例
{
    "dataTime": [
        0
    ],
    "deviceId": 0,
    "deviceName": "string"
}

示例代码

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/wzDeviceHistoryData/selectByDeviceId' \
--header 'Content-Type: application/json' \
--data-raw '{
    "dataTime": [
        0
    ],
    "deviceId": 0,
    "deviceName": "string"
}'

返回响应

🟢200ok
application/json
Body
detectorFourInfo
object (设备振动值出参) 
可选
actualData
array[integer <int32>]
振动实际值
可选
warnData
array[integer <int32>]
报警值
可选
detectorOneInfo
object (设备振动值出参) 
可选
detectorThreeInfo
object (设备振动值出参) 
可选
detectorTwoInfo
object (设备振动值出参) 
可选
historyData
array[object (设备加工历史数据) {35}] 
可选
currentDayStartTime
integer <int32>
当日开机时间
可选
currentDayUseWorkTime
integer <int32>
当日切削时间
可选
currentDayWorkTime
integer <int32>
当日开动时间
可选
currentSchedule
integer <int32>
当前班次类型
可选
dataTime
integer <int64>
数据时间
可选
detectorFourState
integer <int32>
探测器四状态
可选
detectorFourType
integer <int32>
探测器四类型
可选
detectorFourValue
integer <int32>
探测器四实时值
可选
detectorFourWarn
integer <int32>
探测器四报警值
可选
detectorG00Offset
integer <int32>
探测器G00补偿
可选
detectorOneState
integer <int32>
探测器一状态
可选
detectorOneType
integer <int32>
探测器一类型
可选
detectorOneValue
integer <int32>
探测器一实时值
可选
detectorOneWarn
integer <int32>
探测器一报警值
可选
detectorThreeState
integer <int32>
探测器三状态
可选
detectorThreeType
integer <int32>
探测器三类型
可选
detectorThreeValue
integer <int32>
探测器三实时值
可选
detectorThreeWarn
integer <int32>
探测器三报警值
可选
detectorTwoState
integer <int32>
探测器二状态
可选
detectorTwoType
integer <int32>
探测器二类型
可选
detectorTwoValue
integer <int32>
探测器二实时值
可选
detectorTwoWarn
integer <int32>
探测器二报警值
可选
electricRelayOutConfig
integer <int32>
继电器输出配置
可选
g01MultiWarnAdd
integer <int32>
G01多次报警补偿
可选
id
integer <int64>
ID
可选
knifeNum
integer <int32>
刀号
可选
rawX
integer <int64>
原始X轴值
可选
rawY
integer <int64>
原始Y轴值
可选
rawZ
integer <int64>
原始Z轴值
可选
sceneNum
integer <int32>
场景编号
可选
schedule
integer <int32>
班次类型
可选
sensorState
integer <int32>
传感器状态
可选
specialSceneName
string 
特殊场景名称
可选
specialSceneNum
integer <int32>
特殊场景编号
可选
workStartTime
integer <int32>
早班开始时间
可选
rawX
array[integer <int64>]
原始X轴值
可选
rawY
array[integer <int64>]
原始Y轴值
可选
rawZ
array[integer <int64>]
原始Z轴值
可选
timeData
array[string]
时间序列值
可选
示例
{
    "detectorFourInfo": {
        "actualData": [
            0
        ],
        "warnData": [
            0
        ]
    },
    "detectorOneInfo": {
        "actualData": [
            0
        ],
        "warnData": [
            0
        ]
    },
    "detectorThreeInfo": {
        "actualData": [
            0
        ],
        "warnData": [
            0
        ]
    },
    "detectorTwoInfo": {
        "actualData": [
            0
        ],
        "warnData": [
            0
        ]
    },
    "historyData": [
        {
            "currentDayStartTime": 0,
            "currentDayUseWorkTime": 0,
            "currentDayWorkTime": 0,
            "currentSchedule": 0,
            "dataTime": 0,
            "detectorFourState": 0,
            "detectorFourType": 0,
            "detectorFourValue": 0,
            "detectorFourWarn": 0,
            "detectorG00Offset": 0,
            "detectorOneState": 0,
            "detectorOneType": 0,
            "detectorOneValue": 0,
            "detectorOneWarn": 0,
            "detectorThreeState": 0,
            "detectorThreeType": 0,
            "detectorThreeValue": 0,
            "detectorThreeWarn": 0,
            "detectorTwoState": 0,
            "detectorTwoType": 0,
            "detectorTwoValue": 0,
            "detectorTwoWarn": 0,
            "electricRelayOutConfig": 0,
            "g01MultiWarnAdd": 0,
            "id": 0,
            "knifeNum": 0,
            "rawX": 0,
            "rawY": 0,
            "rawZ": 0,
            "sceneNum": 0,
            "schedule": 0,
            "sensorState": 0,
            "specialSceneName": "string",
            "specialSceneNum": 0,
            "workStartTime": 0
        }
    ],
    "rawX": [
        0
    ],
    "rawY": [
        0
    ],
    "rawZ": [
        0
    ],
    "timeData": [
        "string"
    ]
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
上一页
查询多个字典详情
下一页
根据ID查询面板配置
Built with