From 82e27d0cadbddfc73e8b978e778b802dc8e51fa1 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 29 三月 2024 10:51:36 +0800
Subject: [PATCH] 报工入参修改和工序ID修改

---
 src/api/device.ts |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/api/device.ts b/src/api/device.ts
index ceaaec2..1cd58f4 100644
--- a/src/api/device.ts
+++ b/src/api/device.ts
@@ -1,9 +1,18 @@
+export interface DeviceMap {
+  deviceID: string
+  deviceName: string
+  /** true鏃舵病鏈夊伐鑹哄弬鏁颁笉鍏佽涓嬪彂  false鏃舵病鏈夊伐鑹哄弬鏁板厑璁镐笅鍙�*/
+  needSetProcessParams: boolean
+}
+
 export interface Devices {
+  /** 鏈満璁惧缂栫爜 */
   systemDeviceID: string
   currentDeviceID: string
   systemDeviceStatus: number
-  clusterStatus: string
+  /** 闆嗙兢鐘舵�� master涓昏妭鐐� slave浠庤妭鐐�  绌轰覆浠h〃涓嶅湪闆嗙兢涓�  */
+  clusterStatus: 'master' | 'slave' | ''
   clusterNodeQuantity: number
   systemDeviceRunSince: number
-  deviceIDList: string[]
+  deviceList: DeviceMap[]
 }

--
Gitblit v1.8.0