| | |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_Entity.DomainModels.Mes; |
| | | using WIDESEA_WMS.Services; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | |
| | | { |
| | | return _service.addNgTask(request); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鏆傚仠浠诲姟 |
| | | /// </summary> |
| | | /// <param name="parm"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Authorize, Route("PauseTask"), AllowAnonymous] |
| | | public WebResponseContent PauseTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return dt_agvtaskService.Instance.PauseTask(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 缁х画浠诲姟 |
| | | /// </summary> |
| | | /// <param name="parm"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Authorize, Route("ContinueTask"), AllowAnonymous] |
| | | public WebResponseContent ContinueTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return dt_agvtaskService.Instance.ContinueTask(saveModel); |
| | | } |
| | | } |
| | | } |