| | |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_DTO.System; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Model; |
| | | using WIDESEA_Model.Models.System.Request; |
| | | using WIDESEA_Model.Models.System.Reponse; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.System |
| | | { |
| | |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _sys_JobService = service; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¯å¨æå¡ |
| | | /// 忥æ¯äºè¿ªWMSæ¡ç ä¸»æ°æ® |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("StartServe"), AllowAnonymous] |
| | | public WebResponseContent StartServe() |
| | | [HttpPost, Route("SyncLabMaster"), AllowAnonymous] |
| | | public WebResponseContent SyncLabMaster() |
| | | { |
| | | return _sys_JobService.StartServe(); |
| | | return _sys_JobService.SyncLabMaster(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å
³éæå¡ |
| | | /// åè°æ¯äºè¿ªWMS䏿¶ç»æåä¼ |
| | | /// </summary> |
| | | /// <param name="putAway"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CloseServe"), AllowAnonymous] |
| | | public WebResponseContent CloseServe() |
| | | [HttpPost, Route("CallPutAway"), AllowAnonymous] |
| | | public WebResponseContent CallPutAway([FromBody] PutAwayRequest putAway) |
| | | { |
| | | return _sys_JobService.CloseServe(); |
| | | return _sys_JobService.CallPutAway(putAway); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¯äºè¿ªåºåºæä»¤æ¥å£ |
| | | /// </summary> |
| | | /// <param></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("SelectOutStoreOrder"), AllowAnonymous] |
| | | public WebResponseContent SelectOutStoreOrder() |
| | | { |
| | | return _sys_JobService.SelectOutStoreOrder(); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// åè°æ¯äºè¿ªWMSåºåºå®æä¿¡æ¯æ¥å£ |
| | | /// </summary> |
| | | /// <param name="pickAndPost"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CallPickAndPost"), AllowAnonymous] |
| | | public WebResponseContent CallPickAndPost([FromBody] PickAndPostRequest pickAndPost) |
| | | { |
| | | return _sys_JobService.CallPickAndPost(pickAndPost); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// åè°æ¯äºè¿ªWMS使ååºå®æä¿¡æ¯æ¥å£ |
| | | /// </summary> |
| | | /// <param name="putAway"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CallPutAwayReturn"), AllowAnonymous] |
| | | public WebResponseContent CallPutAwayReturn([FromBody] PutAwayReturnRequest putAwayReturn) |
| | | { |
| | | return _sys_JobService.CallPutAwayReturn(putAwayReturn); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |