From f391144114bedefe44c700a590bd50272ff067ec Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 10 三月 2025 09:05:26 +0800
Subject: [PATCH] 后端

---
 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 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 45abc87..3589ccc 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"
@@ -3,6 +3,7 @@
 using Microsoft.AspNetCore.Mvc;
 using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
+using WIDESEAWCS_DTO.SerialPort;
 using WIDESEAWCS_DTO.TaskInfo;
 using WIDESEAWCS_ITaskInfoService;
 using WIDESEAWCS_Model.Models;
@@ -24,6 +25,30 @@
             return Service.GetProcess(gruop);
         }
 
+        [HttpGet, Route("GetSleeveandStep"), AllowAnonymous]
+        public WebResponseContent GetSleeveandStep(string grops)
+        {
+            return Service.GetSleeveandStep(grops);
+        }
+
+        [HttpPost, Route("AddProcess"), AllowAnonymous]
+        public WebResponseContent AddProcess([FromBody] AddProcessDTO addProcessDTO)
+        {
+            return Service.AddProcess(addProcessDTO);
+        }
+
+        [HttpPut, Route("Upprocess"), AllowAnonymous]
+        public WebResponseContent Upprocess([FromBody] PutProcessDTO addProcessDTO)
+        {
+            return Service.Upprocess(addProcessDTO);
+        }
+
+
+        [HttpGet, Route("Getcircuit"), AllowAnonymous]
+        public WebResponseContent Getcircuit(string groups)
+        {
+            return Service.Getcircuit(groups);
+        }
 
     }
 }

--
Gitblit v1.9.3