From ce6a232b55646e8d39cb0b4861ee363608b6f9aa Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 06 九月 2024 10:48:26 +0800
Subject: [PATCH] 服务状态读数据库;报警复位功能

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

diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index 8bd165a..dde139f 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -7,6 +7,10 @@
   DetailWcsDevice = '/api/wcsDevice/detail',
   GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown',
   GeneratePos = '/api/wcsDevice/GeneratePos',
+  ListWcsDevice = '/api/wcsDevice/list',
+
+  GetWcsPackPlcList='/api/wcsDevice/WcsPackPlcList',
+  GetWcsPackStationPlcList='/api/wcsDevice/WcsPackStationPlcList',
 }
 
 // 澧炲姞璁惧淇℃伅
@@ -61,4 +65,23 @@
 	method: 'post',
 	data: params
 	});
-	
\ No newline at end of file
+	
+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