From 8ea7380ee486d842bdd96824ac490ba53b454b58 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期三, 30 十月 2024 08:22:59 +0800
Subject: [PATCH] 修改问题
---
Web/src/api/wcs/wcsDevice.ts | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index 4561735..33f31fb 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -8,12 +8,23 @@
GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown',
GeneratePos = '/api/wcsDevice/GeneratePos',
ListWcsDevice = '/api/wcsDevice/list',
+ WriteValue = '/api/wcsdevice/writeValue',
GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList',
GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList',
BindTaskForPLC='/api/WcsCheckTask/BindTaskForPLC',
CloseTaskForPLC='/api/WcsCheckTask/CloseTaskForPLC',
+
+
+ WriteInfo = '/api/wcsDevice/WriteInfo',
}
+// 澧炲姞璁惧淇℃伅
+export const WriteInfo = (params?: any) =>
+ request({
+ url: Api.WriteInfo,
+ method: 'post',
+ data: params,
+ });
// 澧炲姞璁惧淇℃伅
export const addWcsDevice = (params?: any) =>
@@ -101,4 +112,11 @@
url: Api.CloseTaskForPLC,
method: 'post',
data: params,
+});
+//鍐欏叆鍊�
+export const writeValue = (params?: any) =>
+ request({
+ url: Api.WriteValue,
+ method: 'post',
+ data: params,
});
\ No newline at end of file
--
Gitblit v1.8.0