From b51ba798274bee2439e0ae815ec1fa2bbf6b7808 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 13 九月 2024 08:50:23 +0800
Subject: [PATCH] 写入值

---
 Web/src/api/wcs/wcsPlc.ts |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/Web/src/api/wcs/wcsPlc.ts b/Web/src/api/wcs/wcsPlc.ts
index 22483d2..cfccaff 100644
--- a/Web/src/api/wcs/wcsPlc.ts
+++ b/Web/src/api/wcs/wcsPlc.ts
@@ -5,7 +5,9 @@
   UpdateWcsPlc = '/api/wcsPlc/update',
   PageWcsPlc = '/api/wcsPlc/page',
   DetailWcsPlc = '/api/wcsPlc/detail',
-  ListStatus='/api/wcsPlc/ListStatus'
+  ListWcsPlc = '/api/wcsPlc/list',
+  ListStatus = '/api/wcsPlc/ListStatus',
+  ListPosition = 'api/wcsPlc/ListPosition'
 }
 
 // 澧炲姞PLC
@@ -47,7 +49,13 @@
 			method: 'get',
 			data: { id },
 		});
-
+// 鍒嗛〉鏌ヨPLC
+export const listWcsPlc = (params?: any) => 
+	request({
+			url: Api.ListWcsPlc,
+			method: 'get',
+			data: params,
+		});
 
 // 鑾峰彇PLC杩炴帴鐘舵�佸拰鏈嶅姟鐘舵��
 export const listStatus = () => 
@@ -56,3 +64,9 @@
 			method: 'get'
 		});
 
+// 鑾峰彇浣嶇疆涓婃湁娌℃湁涓滆タ
+export const listPosition = () => 
+	request({
+			url: Api.ListPosition,
+			method: 'get'
+		});

--
Gitblit v1.8.0