From 6c741f0281d29f2b689172f1cea8c398ca378a17 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期六, 07 九月 2024 15:57:50 +0800
Subject: [PATCH] 分拣任务新增功能增加物料选择;开发分拣码垛的绑定任务功能、结批功能
---
Web/src/api/wcs/wcsDevice.ts | 31 ++++++++++++++++++++++++++++---
1 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index a0f122f..4561735 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -10,6 +10,9 @@
ListWcsDevice = '/api/wcsDevice/list',
GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList',
+ GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList',
+ BindTaskForPLC='/api/WcsCheckTask/BindTaskForPLC',
+ CloseTaskForPLC='/api/WcsCheckTask/CloseTaskForPLC',
}
// 澧炲姞璁惧淇℃伅
@@ -74,6 +77,28 @@
export const GetWcsPackPlcList = () =>
request({
- url: Api.GetWcsPackPlcList,
- method: 'get'
- });
\ No newline at end of file
+ url: Api.GetWcsPackPlcList,
+ method: 'get'
+});
+
+export const GetWcsPackStationPlcList = (params?: any) =>
+ request({
+ url: Api.GetWcsPackStationPlcList,
+ method: 'get',
+ data: params
+});
+
+// 鎵嬪姩缁戝畾浠诲姟鍒癙LC
+export const BindTaskForPLC = (params?: any) =>
+ request({
+ url: Api.BindTaskForPLC,
+ method: 'post',
+ data: params,
+});
+//浠诲姟缁撴壒
+export const CloseTaskForPLC = (params?: any) =>
+ request({
+ url: Api.CloseTaskForPLC,
+ method: 'post',
+ data: params,
+});
\ No newline at end of file
--
Gitblit v1.8.0