yangpeixing
9 天以前 4fc31b41c205507607c91ab3afe10fbc06a9aa09
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Task/TaskController.cs
@@ -1,4 +1,5 @@
using WIDESEA_DTO;
using Org.BouncyCastle.Asn1.Mozilla;
using WIDESEA_DTO;
namespace WIDESEA_WMSServer.Controllers.Task;
@@ -62,6 +63,13 @@
        return await Service.RequestInboundTaskAsync(input);
    }
    [HttpPost, HttpGet, AllowAnonymous, Route("RequestRelocationTaskAsync")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })]
    public Task<WebResponseContent> RequestRelocationTaskAsync(string SourceAddress, string TargetAddress)
    {
        return Service.RequestRelocationTaskAsync(SourceAddress, TargetAddress);
    }
    /// <summary>
    /// ç©ºæ‰˜ç›˜æ»¡ç›˜å‡ºåº“请求
    /// </summary>
@@ -81,9 +89,9 @@
    /// <returns></returns>
    [HttpPost, HttpGet, AllowAnonymous, Route("OutBoundTaskAsync")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 2 })]
    public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark)
    public Task<WebResponseContent> OutBoundTaskAsync(string palletCode, string remark, int doubleTray)
    {
        return Service.OutBoundTaskAsync(palletCode, remark);
        return Service.OutBoundTaskAsync(palletCode, remark, doubleTray);
    }
    [HttpPost, HttpGet, AllowAnonymous, Route("OtherOutBoundTaskAsync")]
@@ -151,12 +159,6 @@
        return await Service.AGVIsNeedRelocationAsync(taskDto);
    }
    [HttpPost, AllowAnonymous, Route("GetTaskData")]
    public async Task<WebResponseContent> GetTaskData()
    {
        return await Service.GetTaskData();
    }
    [HttpPost, AllowAnonymous, Route("UpdateStartLocationInfo")]
    public async Task<WebResponseContent> UpdateStartLocationInfo([FromBody]Dt_Task task)
    {
@@ -167,4 +169,5 @@
    {
        return Service.RequestLocation(palletCode);
    }
}