dengjunjie
2025-04-19 9e579eda4601ed7b492b9d19a24e8146f6ebdf8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Net;
using WIDESEA_Core;
using WIDESEA_DTO.WCSInfo;
using WIDESEA_ITaskInfoService;
using WIDESEAWCS_DTO.WCSInfo;
 
namespace WIDESEA_WMSServer.Controllers
{
    [Route("api/ProductionLine")]
    [AllowAnonymous, ApiController]
    public class ProductionLineController : Controller
    {
        private readonly ITaskService _taskService;
        public ProductionLineController(ITaskService taskService)
        {
            _taskService = taskService;
        }
        [HttpPost, Route("ProductionlineRequest")]
        public WebResponseContent ProductionlineRequest([FromBody] ProductionlineDTO lineDTO)
        {
            return _taskService.ProductionlineRequest(lineDTO);
        }
    }
}