From 6a4ca47df73d99e952d926f6103bcccea1ecea89 Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期一, 28 九月 2026 15:15:25 +0800
Subject: [PATCH] 展示检测柜数据来源与最近数据时间

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

diff --git a/src/api/tests.ts b/src/api/tests.ts
index 565e49d..2379456 100644
--- a/src/api/tests.ts
+++ b/src/api/tests.ts
@@ -220,6 +220,10 @@
     unit?: string
     observedAt?: number
     sampleIntervalMs?: number
+    /** 通道工作状态;读库来源下为 UNOBSERVABLE,界面按“无法观测”展示。 */
+    workStatus?: string
+    /** 来源里最近一次采样行的设备时间(毫秒);没有采样行时为空。 */
+    lastDataAt?: number | null
     measurements?: Array<Record<string, unknown>>
     units?: string[]
     [key: string]: unknown

--
Gitblit v1.7.1