From 2f0c81709876d76b6b120cf6ac43f05cda6dfe4c Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期六, 22 三月 2025 09:36:13 +0800
Subject: [PATCH] 修改websocket;

---
 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs |   44 ++++++++++++++++++++++++++++++++++++--------
 1 files changed, 36 insertions(+), 8 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs"
index b900d14..4315e0b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs"
@@ -19,25 +19,30 @@
         {
 
         }
-        [HttpGet, Route("GetProcess"), AllowAnonymous]
-        public WebResponseContent GetProcess(string gruop)
-        {
-            return Service.GetProcess(gruop);
-        }
 
         [HttpGet, Route("GetSleeveandStep"), AllowAnonymous]
-        public WebResponseContent GetSleeveandStep(string grops)
+        public WebResponseContent GetSleeveandStep()
         {
-            return Service.GetSleeveandStep(grops);
+            return Service.GetSleeveandStep();
         }
 
+        /// <summary>
+        /// 鏍规嵁id鏉ュ垽鏂槸娣诲姞杩樻槸鏇存柊
+        /// </summary>
+        /// <param name="addProcessDTO"></param>
+        /// <returns></returns>
         [HttpPost, Route("AddOrUpdateProcess"), AllowAnonymous]
         public WebResponseContent AddOrUpdateProcess([FromBody] AddProcessDTO addProcessDTO)
         {
             return Service.AddOrUpdateProcess(addProcessDTO);
         }
 
-
+        /// <summary>
+        /// 鑾峰彇褰撳墠浠诲姟宸ヤ綔姝ラ
+        /// </summary>
+        /// <param name="group"></param>
+        /// <param name="takeid"></param>
+        /// <returns></returns>
         [HttpGet, Route("Getcircuit"), AllowAnonymous]
         public WebResponseContent Getcircuit(string group, string takeid)
         {
@@ -46,17 +51,40 @@
         
         }
 
+        /// <summary>
+        /// 涓嬩竴姝�
+        /// </summary>
+        /// <param name="setpDTO"></param>
+        /// <param name="flag"></param>
+        /// <returns></returns>
         [HttpPost, Route("Nextprocess"), AllowAnonymous]
         public WebResponseContent Nextprocess([FromBody] SetpDTO setpDTO, bool flag)
         {
             return Service.Nextprocess(setpDTO, flag);
         }
 
+        /// <summary>
+        /// 涓婁竴姝�
+        /// </summary>
+        /// <param name="setpDTO"></param>
+        /// <returns></returns>
         [HttpPost, Route("PreviousProcess"), AllowAnonymous]
         public WebResponseContent PreviousProcess([FromBody] SetpDTO setpDTO)
         {
             return Service.PreviousProcess(setpDTO);
         }
 
+        /// <summary>
+        /// 璇诲彇褰撳墠宸ヨ壓姝ラ鐨勬壄鍔涘�间笌娆℃暟
+        /// </summary>
+        /// <param name="grop"></param>
+        /// <param name="setnum"></param>
+        /// <returns></returns>
+        [HttpPost, Route("GetValueandNumber"), AllowAnonymous]
+        public WebResponseContent GetValueandNumber(string grop, int setnum)
+        {
+            return Service.GetValueandNumber(grop, setnum);
+        }
+
     }
 }

--
Gitblit v1.9.3