| | |
| | | using WIDESEA_TaskInfoService; |
| | | using WIDESEA_DTO.ERP; |
| | | using WIDESEA_DTO.MES; |
| | | using WIDESEA_Core.Helper; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.MES |
| | | { |
| | |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("TestReturnStock"), AllowAnonymous, MethodParamsValidate] |
| | | public MesResponseContent TestReturnStock([FromBody] Root<TestToolBackModel> model) |
| | | [HttpPost, Route("TestToolBack"), AllowAnonymous, MethodParamsValidate] |
| | | public MesResponseContent TestToolBack([FromBody] Root<TestToolBackModel> model) |
| | | { |
| | | return _taskService.TestReturnStock(model.Content); |
| | | return _taskService.TestToolBack(model.Content); |
| | | } |
| | | /// <summary> |
| | | /// æµè¯æ¶æ¥åº |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("TestScrap"), AllowAnonymous, MethodParamsValidate] |
| | | [HttpPost, Route("TestToolScrap"), AllowAnonymous, MethodParamsValidate] |
| | | public MesResponseContent TestScrap([FromBody] Root<TestToolScrap> model) |
| | | { |
| | | return _taskService.TestScrap(model.Content); |
| | | } |
| | | [HttpPost, Route("TestSynStock"), AllowAnonymous] |
| | | public WebResponseContent TestSynStock([FromBody]TestToolSynInfo toolSynInfo) |
| | | { |
| | | return _taskService.TestSynStock(toolSynInfo); |
| | | } |
| | | [HttpPost, Route("testHttp"), AllowAnonymous, MethodParamsValidate] |
| | | public string TestScrap(string str) |
| | | { |
| | | return HttpMesHelper.GetStr(str); |
| | | } |
| | | } |
| | | } |