From 2812ee9935895524e37415a056baa65b845191ff Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期四, 08 十月 2026 13:56:31 +0800
Subject: [PATCH] 实现 Ticket04:采集器登记改为手工填写并链接来源,拆除模拟器残留控制入口

---
 src/stores/deviceCollectors.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/stores/deviceCollectors.ts b/src/stores/deviceCollectors.ts
index 9182be7..102384b 100644
--- a/src/stores/deviceCollectors.ts
+++ b/src/stores/deviceCollectors.ts
@@ -5,6 +5,7 @@
 
 export interface DeviceCollectorRecord {
   id: number
+  adapterId: number | null
   deviceCode: string
   ip: string
   mac: string
@@ -19,4 +20,4 @@
   createdAt: string
 }
 
-export type CollectorPayload = Pick<DeviceCollectorRecord, 'deviceCode' | 'ip' | 'mac' | 'name' | 'manufacturer' | 'model' | 'channelCount' | 'remark' | 'onlineStatus' | 'relatedTests' | 'status'>
+export type CollectorPayload = Pick<DeviceCollectorRecord, 'adapterId' | 'deviceCode' | 'ip' | 'mac' | 'name' | 'manufacturer' | 'model' | 'channelCount' | 'remark' | 'onlineStatus' | 'relatedTests' | 'status'>

--
Gitblit v1.7.1