From 75a1cfdc9b88519fa7a2af57e8b7d615c063b656 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期三, 04 九月 2024 11:28:50 +0800 Subject: [PATCH] Merge branch 'master' into wxw --- Web/src/api/wcs/wcsDevice.ts | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts index 985447f..a0f122f 100644 --- a/Web/src/api/wcs/wcsDevice.ts +++ b/Web/src/api/wcs/wcsDevice.ts @@ -6,6 +6,10 @@ PageWcsDevice = '/api/wcsDevice/page', DetailWcsDevice = '/api/wcsDevice/detail', GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown', + GeneratePos = '/api/wcsDevice/GeneratePos', + ListWcsDevice = '/api/wcsDevice/list', + + GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList', } // 澧炲姞璁惧淇℃伅 @@ -54,3 +58,22 @@ method: 'get' }); +export const generatePos = (params?: any) => + request({ + url: Api.GeneratePos, + method: 'post', + data: params + }); + +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