From bae879a08fad30d45604bc4f72a9eea77080e9c3 Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期二, 01 九月 2026 13:19:17 +0800
Subject: [PATCH] 恢复实时页检测柜工步方案

---
 src/api/tests.ts |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/api/tests.ts b/src/api/tests.ts
index e94f445..7953e3f 100644
--- a/src/api/tests.ts
+++ b/src/api/tests.ts
@@ -236,6 +236,25 @@
   updatedAt: string
   sources: LiveSource[]
   exceptions: Array<Record<string, unknown>>
+  testPlan?: BtsTestSnapshot | null
+}
+
+export interface BtsTestPlanRow {
+  rowType: 'STEP' | 'CYCLE' | 'END' | string
+  stepNo: number
+  stepName: string
+  durationSeconds: number
+  voltageV: number | null
+  executionStatus: string
+  cycleCount: number | null
+  recordCount: number | null
+}
+
+export interface BtsTestSnapshot {
+  currentCycleNo: number
+  currentStepNo: number
+  plannedCycleCount: number
+  rows: BtsTestPlanRow[]
 }
 
 export async function saveLogicStepMappings(testId: number, mappings: TestLogicStepMapping[]): Promise<TestConfigurationDetail> {

--
Gitblit v1.7.1