using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseController; using WIDESEAWCS_DTO.TaskInfo; using WIDESEAWCS_ITaskInfoService; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_Server.Controllers.SerialPort { [Route("api/[controller]")] [ApiController] public class ProcessController : ApiBaseController { public ProcessController(IProcessServer service) : base(service) { } [HttpGet, Route("GetProcess"), AllowAnonymous] public WebResponseContent GetProcess(string gruop) { return Service.GetProcess(gruop); } } }