| | |
| | | return returnResult; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 模拟AGV回报任务状态(指定下一个状态,用于需要分段测试的场景)<br/> |
| | | /// 性能相对较差,仅用于测试,一般不使用 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Route("AgvReports")] |
| | | public ReturnResults AgvReports(AgvReportsInfo model) { |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 模拟Erp下发出库计划单 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Route("TestErpSendOutboundPlan")] |
| | | public ErpResult TestErpSendOutboundPlan(TestErpSendOutboundPlanInfo model) { |
| | |
| | | return ApiHelper.ErpSendOutboundPlan(erpModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// (内部方法请勿调用)模拟取货完成反馈Erp回报结果(默认为success) |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Route("PickUpReturn")] |
| | | public TestErpResult PickUpReturn(PickUpReturnErpInfo model) { |
| | |
| | | }; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// (内部方法请勿调用)模拟任务创建完成反馈Erp回报结果(默认为success) |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Route("CreateTaskReturn")] |
| | | public TestErpResult CreateTaskReturn(CreateTaskReturnErpInfo model) { |