dengjunjie
2024-11-27 5be0f5bc3b9a83a3b30c9915bd5309279d140244
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);
        }
    }
}