feat: standardize algorithm measurement results

This commit is contained in:
2026-08-14 00:12:53 +08:00
parent ac1387debc
commit 185dd36bf3
15 changed files with 1273 additions and 19 deletions

View File

@@ -0,0 +1,72 @@
{
"schemaVersion": 1,
"measurementContractVersion": "1.0",
"status": "completed",
"message": "头车车钩偏转与左右梁挠度测量完成",
"context": {
"inspectionObject": "head",
"inspectionObjectName": "头车"
},
"measurements": [
{
"taskNo": "5",
"metricCode": "underframe.longitudinal_beam.vertical_deflection",
"name": "纵向梁到直线的垂直偏差(挠度)",
"position": "左梁",
"value": 0.265,
"unit": "mm",
"tolerance": 7.0,
"toleranceLabel": "±7 mm",
"status": "pass"
},
{
"taskNo": "5",
"metricCode": "underframe.longitudinal_beam.vertical_deflection",
"name": "纵向梁到直线的垂直偏差(挠度)",
"position": "右梁",
"value": 0.270,
"unit": "mm",
"tolerance": 12.0,
"toleranceLabel": "±12 mm",
"status": "pass"
},
{
"taskNo": "8",
"metricCode": "coupler.panel.reference_plane.right_deflection",
"name": "车钩面板到参考面的右偏转角",
"value": 0.022,
"unit": "mm",
"baseline": 375.0,
"tolerance": 0.8,
"toleranceLabel": "0.8/375 mm",
"status": "pass"
},
{
"taskNo": "10",
"metricCode": "coupler.panel.longitudinal_center.right_deflection",
"name": "车钩面板到纵向中心的右偏转角",
"value": 0.073,
"unit": "mm",
"baseline": 700.0,
"tolerance": 1.0,
"toleranceLabel": "1/700 mm",
"status": "pass"
}
],
"extra": {
"intermediateMetrics": [
{
"metricCode": "coupler.panel.dx_y_max",
"name": "Y 方向计算用最大 X 偏差",
"value": 0.010,
"unit": "mm"
},
{
"metricCode": "coupler.panel.dx_z_max",
"name": "Z 方向计算用最大 X 偏差",
"value": 0.010,
"unit": "mm"
}
]
}
}

View File

@@ -0,0 +1,27 @@
{
"schemaVersion": 1,
"measurementContractVersion": "1.0",
"status": "completed",
"measurements": [
{
"name": "任务46_车体横断面对角线差值",
"metricCode": "vehicle.diagonal.delta",
"value": 0.592,
"unit": "mm",
"status": "info"
}
],
"extra": {
"intermediateMetrics": [
{
"taskNo": "debug-1",
"metricCode": "coupler.panel.dx_y_max",
"name": "最大 x 偏差 dx_y",
"value": 0.01,
"unit": "mm",
"status": "pass",
"tolerance": 1.0
}
]
}
}