1
hutongqing
2024-09-24 a89c018c3afa43a529f9eb54725bc92ed2b996e8
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs
@@ -1,34 +1,41 @@
锘縰sing Microsoft.AspNetCore.Http;
锘縰sing Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.Inbound;
using WIDESEA_IInboundService;
using WIDESEA_IOutboundService;
using WIDESEA_ITaskInfoService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/PDA")]
    [ApiController]
    public class PDAController : ApiBaseController<ITaskService, Dt_Task>
    [Authorize, ApiController]
    public class PDAController : Controller
    {
        private readonly IInboundService _inboundService;
        public PDAController(ITaskService service, IInboundService inboundService) : base(service)
        private readonly IOutboundService _outboundService;
        private readonly ITaskService _taskService;
        public PDAController(ITaskService taskService, IInboundService inboundService,IOutboundService outboundService)
        {
            _inboundService = inboundService;
            _outboundService = outboundService;
            _taskService = taskService;
        }
        [HttpPost, Route("CallMateriel")]
        public WebResponseContent CallMateriel(string endPoint)
        {
            return Service.CallMateriel(endPoint);
            return _taskService.CallMateriel(endPoint);
        }
        [HttpPost, Route("MaterielCarry")]
        public WebResponseContent MaterielCarry(string startPoint)
        {
            return Service.MaterielCarry(startPoint);
            return _taskService.MaterielCarry(startPoint);
        }
        [HttpPost, Route("MaterielGroup")]