From 1d323f5377dd5f9a58d01954a6c12b9d5bd8a766 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期四, 05 九月 2024 14:33:40 +0800
Subject: [PATCH] 控制台位置实时通讯
---
Web/src/api/wcs/wcsDevice.ts | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index 8bd165a..a0f122f 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -7,6 +7,9 @@
DetailWcsDevice = '/api/wcsDevice/detail',
GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown',
GeneratePos = '/api/wcsDevice/GeneratePos',
+ ListWcsDevice = '/api/wcsDevice/list',
+
+ GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList',
}
// 澧炲姞璁惧淇℃伅
@@ -61,4 +64,16 @@
method: 'post',
data: params
});
-
\ No newline at end of file
+
+export const listWcsDevice = () =>
+ request({
+ url: Api.ListWcsDevice,
+ method: 'get'
+ });
+
+
+export const GetWcsPackPlcList = () =>
+ request({
+ url: Api.GetWcsPackPlcList,
+ method: 'get'
+ });
\ No newline at end of file
--
Gitblit v1.8.0