From aeb32ca2cc420266734c782df01b27be617e6943 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期五, 07 三月 2025 13:48:37 +0800
Subject: [PATCH] 后端业务

---
 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Server/Controllers/SerialPort/ProcessController.cs |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 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/BasicInfo/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"
similarity index 62%
rename from "\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Server/Controllers/BasicInfo/ProcessController.cs"
rename to "\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 3e1e37c..45abc87 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/BasicInfo/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"
@@ -1,5 +1,4 @@
-锘縰sing System.Diagnostics;
-using Microsoft.AspNetCore.Authorization;
+锘縰sing Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
 using WIDESEAWCS_Core;
@@ -7,9 +6,9 @@
 using WIDESEAWCS_DTO.TaskInfo;
 using WIDESEAWCS_ITaskInfoService;
 using WIDESEAWCS_Model.Models;
-using WIDESEAWCS_Model.Models.SerialPort;
 
-namespace WIDESEAWCS_Server.Controllers.Task
+
+namespace WIDESEAWCS_Server.Controllers.SerialPort
 {
     [Route("api/[controller]")]
     [ApiController]
@@ -19,7 +18,12 @@
         {
 
         }
+        [HttpGet, Route("GetProcess"), AllowAnonymous]
+        public WebResponseContent GetProcess(string gruop)
+        {
+            return Service.GetProcess(gruop);
+        }
 
-        
+
     }
 }

--
Gitblit v1.9.3