Admin
2026-01-16 d5fe80c5cb7dc0b209d8fea9faa84c7ca5b20324
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Common.CommonEnum;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_DTO.Stock;
using WIDESEA_DTO.Task;
using WIDESEA_ITaskInfoService;
using WIDESEA_Model.Models;
 
namespace WIDESEA_WMSServer.Controllers.TaskInfo
{
    /// <summary>
    /// 任务
    /// </summary>
    [Route("api/WCSTask")]
    [ApiController]
    public class WCSTaskController : ApiBaseController<ITaskService, Dt_Task>
    {
        public WCSTaskController(ITaskService service) : base(service)
        {
        }
 
        //输送线任务下发
        [HttpPost, Route("PLC_IssueTasks")]
        public WCSginseng PLC_IssueTasks(int TaskId, int AreaNo, string TransNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint, string ToStation)
        {
            return Service.PLC_IssueTasks(TaskId, AreaNo, TransNo, ContainerNo, ContainerType, FromPoint, ToPoint, ToStation);
        }
 
        //堆垛机任务下发
        [HttpGet, Route("SC_IssueTasks")]
        public WCSginseng SC_IssueTasks(int TaskId, int AreaNo, string TransNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint, string ToStation)
        {
            return Service.SC_IssueTasks(TaskId, AreaNo, TransNo, ContainerNo, ContainerType, FromPoint, ToPoint, ToStation);
        }
 
    }
}