From c4f8cc1f88a83de4784b5fc90496ff79d377e321 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期五, 06 九月 2024 16:51:35 +0800 Subject: [PATCH] 设备监控设置 --- Web/src/api/wcs/wcsDevice.ts | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts index 985447f..dde139f 100644 --- a/Web/src/api/wcs/wcsDevice.ts +++ b/Web/src/api/wcs/wcsDevice.ts @@ -6,6 +6,11 @@ PageWcsDevice = '/api/wcsDevice/page', DetailWcsDevice = '/api/wcsDevice/detail', GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown', + GeneratePos = '/api/wcsDevice/GeneratePos', + ListWcsDevice = '/api/wcsDevice/list', + + GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList', + GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList', } // 澧炲姞璁惧淇℃伅 @@ -54,3 +59,29 @@ 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' +}); + +export const GetWcsPackStationPlcList = (params?: any) => + request({ + url: Api.GetWcsPackStationPlcList, + method: 'get', + data: params +}); \ No newline at end of file -- Gitblit v1.8.0