| | |
| | | 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; |
| | |
| | | { |
| | | |
| | | } |
| | | [HttpGet, Route("GetProcess"), AllowAnonymous] |
| | | public WebResponseContent GetProcess(string gruop) |
| | | |
| | | [HttpGet, Route("GetSleeveandStep"), AllowAnonymous] |
| | | public WebResponseContent GetSleeveandStep(string grops) |
| | | { |
| | | return Service.GetProcess(gruop); |
| | | return Service.GetSleeveandStep(grops); |
| | | } |
| | | |
| | | [HttpPost, Route("AddOrUpdateProcess"), AllowAnonymous] |
| | | public WebResponseContent AddOrUpdateProcess([FromBody] AddProcessDTO addProcessDTO) |
| | | { |
| | | return Service.AddOrUpdateProcess(addProcessDTO); |
| | | } |
| | | |
| | | |
| | | [HttpGet, Route("Getcircuit"), AllowAnonymous] |
| | | public WebResponseContent Getcircuit(string group, string takeid) |
| | | { |
| | | return Service.Getcircuit(group,takeid); |
| | | |
| | | |
| | | } |
| | | |
| | | [HttpPost, Route("Nextprocess"), AllowAnonymous] |
| | | public WebResponseContent Nextprocess([FromBody] SetpDTO setpDTO, bool flag) |
| | | { |
| | | return Service.Nextprocess(setpDTO, flag); |
| | | } |
| | | |
| | | [HttpPost, Route("PreviousProcess"), AllowAnonymous] |
| | | public WebResponseContent PreviousProcess([FromBody] SetpDTO setpDTO) |
| | | { |
| | | return Service.PreviousProcess(setpDTO); |
| | | } |
| | | |
| | | } |
| | | } |