am-freescan/docs/real-scan-ready-20261023.json
lixiaolong 6f8a40644c feat(scanner): 完善补扫、执行监控及资源释放
完善扫描流式预览、成果归档与PLY/STL查看、补扫历史、执行步骤及日志展示,支持局域网访问和改名节点的原始组件识别。修复试运行终止后的占用释放及未采集时重复暂停SDK的问题,增加终止中交互与回归验证。

验证:后端1114项通过、18项既有跳过;前端109项通过,类型检查及构建通过;Python脚本54项通过;模拟扫描设备7组试运行/终止接口回归通过。
2026-10-26 11:04:07 +08:00

170 lines
4.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"prefix": "REAL-SCAN-20261023-001",
"retainedForUser": true,
"caseId": "99372a77dff34171b80a54812d5afd89",
"itemId": "505b4dea21716a59560d4033b697c0bc",
"versionId": "bae2895bba095122056bfe3decd6a608",
"versionNo": 3,
"robotId": "am-freescan-station-001",
"deviceId": "am-freescan-scanner-001",
"scannerUrl": "http://192.168.0.121:18888",
"durationSeconds": 60,
"taskUrl": "http://localhost:5180/lab/scan-task/2113506576820039682",
"precheck": {
"passed": false,
"items": [
{
"code": "TASK",
"passed": true,
"message": "检查通过"
},
{
"code": "RECEIPT",
"passed": false,
"message": "请确认已接收实物样件"
},
{
"code": "RELEASE",
"passed": true,
"message": "检查通过"
},
{
"code": "FIXTURE",
"passed": false,
"message": "请确认夹具与装夹"
},
{
"code": "PARAMETERS",
"passed": true,
"message": "检查通过"
},
{
"code": "RESOURCE_SCHEDULE",
"passed": true,
"message": "检查通过"
},
{
"code": "RESOURCES",
"passed": true,
"message": "检查通过"
}
]
},
"preparationOnly": true,
"scannerControlCommandsSent": 0,
"publishNote": "用户保留的真实扫描任务;运行时新建Trak工程,采集60秒,在采集期间保存三维快照,再停止采集;电机尚未接入。",
"verification": {
"validatedScannerNodeParameters": 6,
"scannerDeviceOnline": true,
"projectReady": true,
"scanning": false,
"busy": false,
"taskExecutionCount": 0,
"taskOccupationCount": 0,
"platformScannerCommandCount": 4,
"regressionTestsPassed": 39,
"checkedAt": "2026-10-23T13:44:28.725823+08:00",
"remainingRequiredInformation": [
"操作人实际收样确认",
"操作人现场装夹确认"
],
"physicalSceneRetestRequired": true,
"sceneDataFailureFix": "新增工程;快照先于停止。SDK实际数据仍需现场复测,禁止伪造或跳过失败。",
"flowRegressionTestsPassed": 3
},
"fixtureId": "2113457799425912834",
"preparationDefaults": {
"source": "用户授权合理预设,非现场实测",
"lengthMm": 100,
"widthMm": 80,
"heightMm": 50,
"weightKg": 0.5,
"support": "通用台面支承",
"supportMaxLengthMm": 300,
"supportMaxWidthMm": 300,
"supportMaxHeightMm": 200,
"supportMaxWeightKg": 5,
"physicalReceiptConfirmed": false,
"physicalFixtureConfirmed": false,
"operatorLoadedConfirmationRequiredAtStart": true
},
"previousTasks": [
{
"taskId": "2113454402702372866",
"taskNo": "T-20261023-0001",
"batchId": "2113454401255337986",
"batchNo": "IB-20261023-0001",
"versionId": "f4b529ab27d2fc078fdd8ae3ee5ece3e",
"status": "CANCELLED",
"executionIds": [
"2113504832933294082"
],
"reason": "缺少独立工程;停止后快照未收到SDK场景数据"
}
],
"externalTaskNo": "REAL-SCAN-20261023-001-R1",
"carriedPreparation": {
"requireFixture": true,
"fixtureId": "2113457799425912834",
"lengthMm": 100.0,
"widthMm": 80.0,
"heightMm": 50.0,
"weightKg": 0.5,
"runParams": {},
"robotId": "am-freescan-station-001",
"runtimeAssignments": [
{
"members": [
{
"devices": {
"scanner": "am-freescan-scanner-001"
},
"robotId": "am-freescan-station-001",
"memberKey": "scanner_1"
}
],
"roleKey": "scanner"
}
],
"expectedMinutes": 10,
"laboratoryId": null,
"requireLaboratory": false
},
"batchId": "2113506573246492673",
"batchNo": "IB-20261023-0002",
"taskId": "2113506576820039682",
"taskNo": "T-20261023-0002",
"projectCreation": {
"mode": "trak",
"nameStrategy": "扫描服务自动分配独立工程编号",
"when": "用户开始执行后"
},
"failureDiagnosis": {
"executionId": "2113504832933294082",
"supplierError": "scene_data_unavailable",
"supplierMessage": "No actual requested SDK scene data arrived within ten seconds.",
"successfulOperations": [
"PREVIEW_START",
"SCAN_START",
"SCAN_STOP"
],
"sceneSummary": {
"available": false,
"reason": "no_scene_snapshot"
},
"rootCauseConfirmed": false,
"changedWorkflowOrder": [
"START",
"SCANNER_STATUS",
"SCANNER_CREATE_PROJECT",
"SCANNER_PREVIEW_START",
"SCANNER_START",
"SLEEP",
"SCANNER_SNAPSHOT",
"SCANNER_STOP",
"END"
],
"actualSDKRetestPassed": false
}
}