From bc56ea2c4c79ac0251b2e9303b93bd31fe9bae12 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 10 九月 2024 08:17:27 +0800
Subject: [PATCH] 设备监控设置页面写入功能和与后台通讯交互逻辑

---
 Web/src/api/wcs/wcsDevice.ts |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index 4561735..fe7baa5 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -8,6 +8,7 @@
   GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown',
   GeneratePos = '/api/wcsDevice/GeneratePos',
   ListWcsDevice = '/api/wcsDevice/list',
+  WriteValue = '/api/wcsdevice/writeValue',
 
   GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList',
   GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList',
@@ -101,4 +102,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