| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | |
| | | } |
| | | } |