1. vibration_threshold
机床健康管理后台管理中心
  • common
    • List Prediction Windows
      GET
    • Create Prediction Window
      POST
    • Get Prediction Window
      GET
    • Update Prediction Window
      PUT
    • Delete Prediction Window
      DELETE
    • List M Devices
      GET
    • Create M Device
      POST
    • Get M Device
      GET
    • Update M Device
      PUT
    • Delete M Device
      DELETE
    • List Train Windows
      GET
    • Create Train Window
      POST
    • Get Train Window
      GET
    • Update Train Window
      PUT
    • Delete Train Window
      DELETE
    • Init Train Window Table
      POST
    • Process Ready Train Window Now
      POST
    • Init Prediction Window Table
      POST
    • Process Ready Prediction Window Now
      POST
  • axis_waveform
    • Get Axis Waveform
  • device
    • List Devices
    • Create Device
    • Get Device
    • Update Device
    • Delete Device
  • device_channel
    • List Measure Points
    • List Monitor Axes
    • List Monitor Directions
    • List Frequency Config Types
    • List Axis Frequency Config Types
    • List Device Frequency Configs
    • Create Device Frequency Config
    • Get Device Frequency Config
    • Update Device Frequency Config
    • Delete Device Frequency Config
    • List Device Channels
    • Create Device Channel
    • Page Prediction Windows
    • List Axis Channels
    • Get Device Channel
    • Update Device Channel
    • Delete Device Channel
  • sensor
    • List Sensors
    • Create Sensor
    • Get Sensor
    • Update Sensor
    • Delete Sensor
  • vibration_threshold
    • List Vibration Stat Thresholds
      GET
    • Create Vibration Stat Threshold
      POST
    • Get Vibration Stat Threshold
      GET
    • Update Vibration Stat Threshold
      PUT
    • Delete Vibration Stat Threshold
      DELETE
    • List Vibration Frequency Thresholds
      GET
    • 添加阀值Create Vibration Frequency Threshold
      POST
    • Get Vibration Frequency Threshold
      GET
    • Update Vibration Frequency Threshold
      PUT
    • Delete Vibration Frequency Threshold
      DELETE
    • Get Window Waveform Stats
      GET
  • vibration_alarm
    • List Vibration Alarms
    • Vibration Alarm Statistics
    • Vibration Alarm Dashboard Summary
    • Export Vibration Alarms
    • Confirm All Vibration Alarms
    • Confirm Vibration Alarm
    • Create Work Order For Alarm
    • Get Vibration Alarm
    • List Vibration Work Orders
    • Diagnose Alarm Endpoint
    • Diagnose Window Endpoint
    • Purge Waveforms Endpoint
  • Health Check
    GET
  • Proxy Text Query Stream
    POST
  • Get Latest Device Acceleration
    GET
  • Train Component Model
    POST
  • Predict Component Model
    POST
  • Predict Component Model All
    POST
  • Analyze Future Trends
    POST
  • Analyze Future Trends By Device
    POST
  • Get Acceleration Window Image
    GET
  • Get Acceleration Window Excel
    GET
  • Download Diagnostic Report
    GET
  • 设备综合pdf
    GET
  • 数据模型
    • AccelerationRecord
    • AlarmBatchConfirmRequest
    • AlarmConfirmRequest
    • Body_proxy_text_query_stream_app_text_query_stream_post
    • DeviceChannelCreateRequest
    • DeviceChannelUpdateRequest
    • DeviceCreateRequest
    • DeviceFrequencyConfigCreateRequest
    • DeviceFrequencyConfigUpdateRequest
    • DevicePredictionWindowRequest
    • DeviceUpdateRequest
    • FutureTrendRequest
    • HTTPValidationError
    • MDeviceCreateRequest
    • MDeviceUpdateRequest
    • MySQLModelPredictRequest
    • MySQLModelTrainRequest
    • PredictionWindowCreateRequest
    • PredictionWindowUpdateRequest
    • SensorCreateRequest
    • SensorUpdateRequest
    • TrainWindowCreateRequest
    • TrainWindowUpdateRequest
    • ValidationError
    • VibrationFrequencyThresholdCreateRequest
    • VibrationFrequencyThresholdUpdateRequest
    • VibrationStatThresholdCreateRequest
    • VibrationStatThresholdUpdateRequest
    • WorkOrderCreateRequest
默认模块预测性维护
默认模块预测性维护
  1. vibration_threshold

Get Window Waveform Stats

GET
/vibration_threshold/window_waveform_stats
按预测窗口的时段,统计该通道在 device_time_domain 里的时域指标。
窗口行给出 device_guid / device_channel / start_time / end_time;
只统计同一通道、create_time 落在该时段内(含两端)的波形,同一台设备的
其它通道不参与。
每条波形先算 8 个指标 —— 平均值(mean)、最大值(max)、最小值(min)、
RMS 有效值(rms)、峰峰值(peak_to_peak)、波形峭度(kurtosis)、
波峰因数(crest_factor)、裕度因数(clearance_factor)—— 再在窗口内对每个
指标取平均 / 最大 / 最小。
时段内没有波形时返回 waveform_count = 0 与空 metrics,不报错:窗口本身
是存在的,只是这段时间没采到数据。波形条数超过 MAX_WINDOW_WAVEFORMS 时只
统计最早的这么多条,并在 truncated 里标出来。

请求参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/vibration_threshold/window_waveform_stats?window_id=undefined' \
--header 'Token: {{TOKEN}}' \
--header 'kb-code: kb_2ae3fc0a00a0' \
--header 'timestamp: 1791523850' \
--header 'sign: cd3ec4b2b941c77cc425689efcf29b3f'

返回响应

🟢200
application/json
Successful Response
Bodyapplication/json

示例
null
🟠422
修改于 2026-10-29 00:37:36
上一页
Delete Vibration Frequency Threshold
下一页
List Vibration Alarms
Built with