| | |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_DTO.Task; |
| | | using WIDESEA_Common.AGVEunm; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.TaskInfo |
| | | { |
| | |
| | | { |
| | | return Service.OutboundTask(taskDTO); |
| | | } |
| | | /// <summary> |
| | | /// åææåºåºç¡®è®¤ |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("RequestInbound"), AllowAnonymous] |
| | | public WebResponseContent RequestInbound([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.RequestInbound(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// åºåºä»»å¡ |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("OutboundTasks")] |
| | | public WebResponseContent OutboundTasks([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.OutboundTasks(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// å
¥åºä»»å¡ |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("InboundTask")] |
| | | public WebResponseContent InboundTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.InboundTask(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// 空æå
¥åº |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("EmptyInTask"), AllowAnonymous] |
| | | public WebResponseContent EmptyInTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.EmptyInTask(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// 空æåºåº |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("EmptyOutTask"), AllowAnonymous] |
| | | public WebResponseContent EmptyOutTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.EmptyOutTask(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// åæååè´§ |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("PartiallyTask"), AllowAnonymous] |
| | | public WebResponseContent PartiallyTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.PartiallyTask(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// 确认æ¶è´§ |
| | | /// </summary> |
| | | /// <param name="saveModel"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("ConfirmTask"), AllowAnonymous] |
| | | public WebResponseContent ConfirmTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.ConfirmTask(saveModel); |
| | | } |
| | | |
| | | |
| | | [HttpPost, Route("UpdateAgvTask"), AllowAnonymous] |
| | | public WCSback UpdateAgvTask([FromBody] AGVTaskFeedback feedback) |
| | | { |
| | | return Service.UpdateAgvTask(feedback); |
| | | } |
| | | [HttpPost, Route("AGVTaskrevokes"), AllowAnonymous] |
| | | public WebResponseContent AGVTaskrevokes(int taskNum) |
| | | { |
| | | return Service.AGVTaskrevokes(taskNum); |
| | | } |
| | | |
| | | [HttpPost, Route("AGVTaskConts"), AllowAnonymous] |
| | | public WebResponseContent AGVTaskConts(int taskNum) |
| | | { |
| | | return Service.AGVTaskConts(taskNum); |
| | | } |
| | | [HttpPost, Route("AGVTaskEnds"), AllowAnonymous] |
| | | public WebResponseContent AGVTaskEnds(int taskNum) |
| | | { |
| | | return Service.AGVTaskEnds(taskNum); |
| | | } |
| | | [HttpPost, Route("AGVTaskSuspends"), AllowAnonymous] |
| | | public WebResponseContent AGVTaskSuspends(int taskNum) |
| | | { |
| | | return Service.AGVTaskSuspends(taskNum); |
| | | } |
| | | [HttpPost, Route("AGVTaskRecoverys"), AllowAnonymous] |
| | | public WebResponseContent AGVTaskRecoverys(int taskNum) |
| | | { |
| | | return Service.AGVTaskRecoverys(taskNum); |
| | | } |
| | | [HttpPost, Route("GetAGVTaskData"), AllowAnonymous] |
| | | public WebResponseContent GetAGVTaskData([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.GetAGVTaskData(saveModel); |
| | | } |
| | | [HttpPost, Route("GetAGVTaskDataCP"), AllowAnonymous] |
| | | public WebResponseContent GetAGVTaskDataCP([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.GetAGVTaskDataCP(saveModel); |
| | | } |
| | | |
| | | [HttpPost, Route("CacheStatus"), AllowAnonymous] |
| | | public WebResponseContent CacheStatus([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.CacheStatus(saveModel); |
| | | } |
| | | [HttpPost, Route("LEDloctionList"), AllowAnonymous] |
| | | public WebResponseContent LEDloctionList() |
| | | { |
| | | return Service.LEDloctionList(); |
| | | } |
| | | [HttpPost, Route("EquipmentTask"), AllowAnonymous] |
| | | public WCSback EquipmentTask([FromBody] AGVTaskEquipment saveModel) |
| | | { |
| | | return Service.EquipmentTask(saveModel); |
| | | } |
| | | [HttpPost, Route("GetConfig"), AllowAnonymous] |
| | | public WebResponseContent GetConfig() |
| | | { |
| | | return Service.GetConfig(); |
| | | } |
| | | [HttpPost, Route("PrintStatusUp")] |
| | | public WebResponseContent PrintStatusUp(int tasknum, string printCode) |
| | | { |
| | | return Service.PrintStatusUp(tasknum,printCode); |
| | | } |
| | | |
| | | } |
| | | } |