From 7e7424b2662e5b27dcc1c0d37f43e909e0b15ee1 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期四, 02 十一月 2023 16:47:38 +0800 Subject: [PATCH] feat: 轮询plc/设备/调整集群状态组件/title组件加图标 --- src/api/task.ts | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/api/task.ts b/src/api/task.ts index a939691..521f229 100644 --- a/src/api/task.ts +++ b/src/api/task.ts @@ -16,6 +16,7 @@ startTime: number endTime: number Status: number + finishNumber: number } export interface Procedure { @@ -48,7 +49,7 @@ workHours: string inputMaterials: string outputMaterials: string - workers: Workers[] + workers: Worker[] allProcedureNames: string[] channel: number } @@ -62,7 +63,7 @@ CanStarted: boolean } -export interface Workers { +export interface Worker { workerId: string workerName: string phoneNum: string @@ -78,7 +79,24 @@ export interface TasksResponse { Tasks: Task[] TaskCount: number - workers: Workers[] + workers: Worker[] Prompt: Prompt ChannelAmount: number } + +export interface TasksGroupByChannel { + [channel: number]: TasksResponse +} + +/** + * 宸ヨ壓鍙傛暟 + */ +export interface CraftParam { + Key: string + Value: string +} + +export interface CraftParamsResponse { + number: string + Params: CraftParam[] +} -- Gitblit v1.8.0