| | |
| | | { |
| | | |
| | | } |
| | | [HttpGet, Route("GetProcess"), AllowAnonymous] |
| | | public WebResponseContent GetProcess(string gruop) |
| | | { |
| | | 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) |
| | | [HttpPost, Route("AddOrUpdateProcess"), AllowAnonymous] |
| | | public WebResponseContent AddOrUpdateProcess([FromBody] AddProcessDTO addProcessDTO) |
| | | { |
| | | return Service.AddProcess(addProcessDTO); |
| | | } |
| | | |
| | | [HttpPut, Route("Upprocess"), AllowAnonymous] |
| | | public WebResponseContent Upprocess([FromBody] PutProcessDTO addProcessDTO) |
| | | { |
| | | return Service.Upprocess(addProcessDTO); |
| | | return Service.AddOrUpdateProcess(addProcessDTO); |
| | | } |
| | | |
| | | |
| | |
| | | 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); |
| | | } |
| | | |
| | | } |