| | |
| | | using System.IO; |
| | | using WIDESEA_Model.Models; |
| | | using System; |
| | | using WIDESEA_IBasicService; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers |
| | | { |
| | |
| | | private readonly IInboundService _inboundService; |
| | | private readonly IOutboundService _outboundService; |
| | | private readonly ITaskService _taskService; |
| | | private readonly IErpApiService _erpApiService; |
| | | |
| | | public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService) |
| | | public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService,IErpApiService erpApiService) |
| | | { |
| | | _inboundService = inboundService; |
| | | _outboundService = outboundService; |
| | | _taskService = taskService; |
| | | _erpApiService = erpApiService; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("GetMaterialUnitAsync"), AllowAnonymous] |
| | | public Task GetMaterialUnitAsync() |
| | | { |
| | | return _erpApiService.GetMaterialUnitAsync(); |
| | | } |
| | | } |
| | | } |