yanjinhui
2025-03-10 f391144114bedefe44c700a590bd50272ff067ec
项目代码/WIDESEAWCS_Server 正式/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);
        }
    }
}