From c56d28d684cee010f291295dbe851bab64c1b6a6 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 03 九月 2024 09:52:22 +0800
Subject: [PATCH] 设备监控绑定plc数据
---
Web/src/api/wcs/wcsDevice.ts | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index 985447f..f531fe1 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -6,6 +6,8 @@
PageWcsDevice = '/api/wcsDevice/page',
DetailWcsDevice = '/api/wcsDevice/detail',
GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown',
+ GeneratePos = '/api/wcsDevice/GeneratePos',
+ ListWcsDevice = '/api/wcsDevice/list',
}
// 澧炲姞璁惧淇℃伅
@@ -54,3 +56,15 @@
method: 'get'
});
+export const generatePos = (params?: any) =>
+ request({
+ url: Api.GeneratePos,
+ method: 'post',
+ data: params
+ });
+
+export const listWcsDevice = () =>
+ request({
+ url: Api.ListWcsDevice,
+ method: 'get'
+ });
\ No newline at end of file
--
Gitblit v1.8.0