互联测控终端
  1. 场景刀具
互联测控终端
  • 登录
    • 登录
      POST
  • 场景刀具
    • 场景(刀具)查询
      POST
    • 场景(刀具)极大值清零
      POST
    • 场景(刀具)立即生效
      POST
    • 场景(刀具)修改
      POST
    • 特殊场景
      POST
    • 恢复正常加工
      POST
    • 特殊加工延时
      POST
    • 批量场景(刀具)修改
      POST
    • 分页读取刀具
      POST
    • 使用率历史数据查询
      POST
    • 历史振动数据查询
      POST
    • 历史极大值及AI推荐值查询
      POST
    • 批量修改参数
      POST
    • 分页读取刀具 单场景读取
      POST
    • 分页读取刀具 数组
      POST
    • 分页读取刀具 区间
      POST
    • 分页读取刀具 带场景
      POST
  • 系统设置
    • 网卡设置
      POST
    • 网卡立即生效
      POST
    • 网络连接测试
      POST
    • 获取系统设置
      POST
    • 系统设置
      POST
    • 系统配置字典查询
      POST
    • 服务重启
      POST
    • 传感器固件升级
      POST
    • 服务器网络连接设置
      POST
    • 传感器设置
      POST
    • 复制参数
      POST
    • 执行shell
      POST
    • 传感器设置读取
      POST
    • 传感器属性设置
      POST
    • 传感器断电重启
      POST
    • 风扇设置
      POST
    • 添加读取NC
      POST
    • 编辑读取NC
      POST
    • 删除读取NC
      POST
    • 编辑NC读取信息
      POST
    • 配置页面NC重启
      POST
    • NC采集开关设置
      POST
    • 公用刀号设置
      POST
    • 恢复出厂设置
      POST
    • 系统操作日志查询
      POST
    • 报警模式设置
      POST
    • 设置WIFI
      POST
    • ssh远程设置
      POST
    • 上下限设置
      POST
    • 上下限读取
      POST
    • 上下限读取 Copy
      POST
    • 极性设置
      POST
    • 刀具报警统计
      POST
  • 日志
    • 日志分页查询
    • 清理日志
    • 系统运行日志
  • 实时数据
    • 上位机
    • 网页实时数据WebSocket
    • 当前场景信息查询
  1. 场景刀具

历史极大值及AI推荐值查询

开发中
POST
/api/historyAndAI/get

请求参数

Body 参数application/json
object {0}
示例
{
  "sceneNum": 1
}

示例代码

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/historyAndAI/get' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sceneNum":1
}'

返回响应

🟢200成功
application/json
Body
aiData
array
必需
aiSize
integer 
必需
cmdResult
string 
必需
code
integer 
必需
currentKnifeNum
integer 
必需
currentSceneNum
integer 
必需
detectorData
array [object {8}] 
必需
autoRatioValue
integer 
必需
dataTime
integer 
必需
detectorIndex
integer 
必需
detectorType
integer 
必需
detectorValue
integer 
必需
id
string 
必需
sceneNum
integer 
必需
sensor
integer 
必需
deviceName
string 
必需
historySize
integer 
必需
knifeNum
integer 
必需
msg
integer 
必需
sceneNum
integer 
必需
sceneSize
integer 
必需
specialSceneNum
integer 
必需
sysInfo
object 
必需
G00OutCheck
integer 
必需
G01OutCheck
integer 
必需
IOConfig
integer 
必需
adminPassword
integer 
必需
autoLearnState
integer 
必需
autoRMode
integer 
必需
autoRModeTime
integer 
必需
autoRatioState
integer 
必需
copIP
string 
必需
copMAC
string 
必需
copVersion
string 
必需
ct
array
必需
currentWarnCount
integer 
必需
currentWarnGapTime
integer 
必需
detectorMaxSize
integer 
必需
detectorSize
integer 
必需
detectors
array [object {18}] 
必需
deviceType
integer 
必需
elecKeepTime
integer 
必需
fanDuty
integer 
必需
fpgaVersion
integer 
必需
funcConfig
integer 
必需
funcVersion
integer 
必需
fwVersion
string 
必需
g01OptimSave
integer 
必需
highElecKeepTime
integer 
必需
initCurrentStep
integer 
必需
initStepCount
integer 
必需
interfaces
array [object {14}] 
必需
iotHeartState
integer 
必需
iotState
integer 
必需
isAutoRMode
integer 
必需
isSubTask
integer 
必需
knifeMode
integer 
必需
knifeMultiWarnOptimGap
integer 
必需
knifeNCWarnMode
integer 
必需
learnMode
integer 
必需
learnTime
integer 
必需
mcuIP
string 
必需
mcuMAC
string 
必需
mcuVersion
string 
必需
monitor
null 
必需
multiG01Optim
integer 
必需
multiG01OptimMAX
integer 
必需
nc
object 
必需
ncDeviceName
string 
必需
ncError
string 
必需
ncInfos
array [object {24}] 
必需
ncList
array [object {21}] 
必需
ncState
integer 
必需
ncUpdateMode
integer 
必需
ncVersion
string 
必需
netTestState
integer 
必需
pcIP
string 
必需
pcMAC
string 
必需
ratioMode
integer 
必需
restTime
array[integer]
必需
restTimeCount
integer 
必需
sceneMode
integer 
必需
schedule
integer 
必需
sensorConfig
object 
必需
sensorStatus
array [object {5}] 
必需
sensors
array [object {9}] 
必需
serverAddress
string 
必需
serverPort
integer 
必需
specialSceneCleanTime
integer 
必需
superPassword
integer 
必需
uploadGap
integer 
必需
uploadLevel
integer 
必需
version
integer 
必需
warnGapTime
integer 
必需
warnMode
integer 
必需
warnTime
integer 
必需
webVersion
string 
必需
withIoT
integer 
必需
workTime
array[integer]
必需
tabId
integer 
必需
timestamp
integer 
必需
total
integer 
必需
示例
{
  "aiData": [
    null
  ],
  "aiSize": 0,
  "cmdResult": "string",
  "code": 0,
  "currentKnifeNum": 0,
  "currentSceneNum": 0,
  "detectorData": [
    {
      "autoRatioValue": 0,
      "dataTime": 0,
      "detectorIndex": 0,
      "detectorType": 0,
      "detectorValue": 0,
      "id": "string",
      "sceneNum": 0,
      "sensor": 0
    }
  ],
  "deviceName": "string",
  "historySize": 0,
  "knifeNum": 0,
  "msg": 0,
  "sceneNum": 0,
  "sceneSize": 0,
  "specialSceneNum": 0,
  "sysInfo": {
    "G00OutCheck": 0,
    "G01OutCheck": 0,
    "IOConfig": 0,
    "adminPassword": 0,
    "autoLearnState": 0,
    "autoRMode": 0,
    "autoRModeTime": 0,
    "autoRatioState": 0,
    "copIP": "string",
    "copMAC": "string",
    "copVersion": "string",
    "ct": [
      null
    ],
    "currentWarnCount": 0,
    "currentWarnGapTime": 0,
    "detectorMaxSize": 0,
    "detectorSize": 0,
    "detectors": [
      {
        "alarm": 0,
        "autoRatioValue": 0,
        "dataIndex": 0,
        "dataLength": 0,
        "highPass": 0,
        "index": 0,
        "iot": 0,
        "isUse": 0,
        "lowPass": 0,
        "max": 0,
        "real": 0,
        "sensor": 0,
        "sensorIP": 0,
        "sensorIPLast": 0,
        "sensorMAC": 0,
        "state": 0,
        "type": 0,
        "version": 0
      }
    ],
    "deviceType": 0,
    "elecKeepTime": 0,
    "fanDuty": 0,
    "fpgaVersion": 0,
    "funcConfig": 0,
    "funcVersion": 0,
    "fwVersion": "string",
    "g01OptimSave": 0,
    "highElecKeepTime": 0,
    "initCurrentStep": 0,
    "initStepCount": 0,
    "interfaces": [
      {
        "connectionName": "string",
        "connectionState": "string",
        "dns1": "string",
        "dns2": "string",
        "gateWay": "string",
        "ip": "string",
        "ipv6Method": "string",
        "linkState": "string",
        "mac": "string",
        "method": "string",
        "name": "string",
        "netmask": "string",
        "route": "string",
        "showName": "string"
      }
    ],
    "iotHeartState": 0,
    "iotState": 0,
    "isAutoRMode": 0,
    "isSubTask": 0,
    "knifeMode": 0,
    "knifeMultiWarnOptimGap": 0,
    "knifeNCWarnMode": 0,
    "learnMode": 0,
    "learnTime": 0,
    "mcuIP": "string",
    "mcuMAC": "string",
    "mcuVersion": "string",
    "monitor": null,
    "multiG01Optim": 0,
    "multiG01OptimMAX": 0,
    "nc": {
      "DNCPassword": "string",
      "PLCPassword": "string",
      "brand": "string",
      "connectPassword": "string",
      "index": 0,
      "ip": "string",
      "isUse": 0,
      "localPort": 0,
      "machineBrand": "string",
      "machineCode": "string",
      "machineModel": "string",
      "machineType": "string",
      "machineVersion": "string",
      "model": "string",
      "ncDeviceName": "string",
      "port": 0,
      "protocol": 0,
      "remark": "string",
      "sampleInterval": 0,
      "state": 0,
      "version": "string"
    },
    "ncDeviceName": "string",
    "ncError": "string",
    "ncInfos": [
      {
        "addr": "string",
        "addrBit": 0,
        "addrInt": 0,
        "addrType": 0,
        "bias": 0,
        "byteOrder": 0,
        "dataId": 0,
        "dataProcess": 0,
        "dataProcessFormula": "string",
        "dataTime": 0,
        "dataType": 0,
        "index": 0,
        "isBit": true,
        "isUse": true,
        "length": 0,
        "mode": 0,
        "name": "string",
        "resultLength": 0,
        "resultStart": 0,
        "scale": 0,
        "send": "string",
        "sendBytesLength": 0,
        "value": 0,
        "valueStr": "string"
      }
    ],
    "ncList": [
      {
        "DNCPassword": "string",
        "PLCPassword": "string",
        "brand": "string",
        "connectPassword": "string",
        "index": 0,
        "ip": "string",
        "isUse": 0,
        "localPort": 0,
        "machineBrand": "string",
        "machineCode": "string",
        "machineModel": "string",
        "machineType": "string",
        "machineVersion": "string",
        "model": "string",
        "ncDeviceName": "string",
        "port": 0,
        "protocol": 0,
        "remark": "string",
        "sampleInterval": 0,
        "state": 0,
        "version": "string"
      }
    ],
    "ncState": 0,
    "ncUpdateMode": 0,
    "ncVersion": "string",
    "netTestState": 0,
    "pcIP": "string",
    "pcMAC": "string",
    "ratioMode": 0,
    "restTime": [
      0
    ],
    "restTimeCount": 0,
    "sceneMode": 0,
    "schedule": 0,
    "sensorConfig": {
      "alarmAccX": 0,
      "alarmAccY": 0,
      "alarmAccZ": 0,
      "code": 0,
      "curEmergencyState": 0,
      "curPauseState": 0,
      "curRatio": 0,
      "curRatioCtrlMode": 0,
      "curRatioIndex": 0,
      "curSensorFrequency": 0,
      "curSensorRange": 0,
      "deviceType": 0,
      "empty1": 0,
      "empty2": 0,
      "empty3": 0,
      "empty4": 0,
      "empty5": 0,
      "empty6": 0,
      "empty7": 0,
      "empty8": 0,
      "ip4": 0,
      "respMode": 0
    },
    "sensorStatus": [
      {
        "deviceStatus": 0,
        "deviceType": 0,
        "remark": "string",
        "sensorMAC": 0,
        "sensorStatus": 0
      }
    ],
    "sensors": [
      {
        "deviceCheck": "string",
        "deviceID": "string",
        "deviceIP": "string",
        "deviceIPInt": 0,
        "deviceName": "string",
        "deviceType": 0,
        "deviceTypeStr": "string",
        "mainVersion": "string",
        "subVersion": "string"
      }
    ],
    "serverAddress": "string",
    "serverPort": 0,
    "specialSceneCleanTime": 0,
    "superPassword": 0,
    "uploadGap": 0,
    "uploadLevel": 0,
    "version": 0,
    "warnGapTime": 0,
    "warnMode": 0,
    "warnTime": 0,
    "webVersion": "string",
    "withIoT": 0,
    "workTime": [
      0
    ]
  },
  "tabId": 0,
  "timestamp": 0,
  "total": 0
}
上一页
历史振动数据查询
下一页
批量修改参数
Built with