wangxinhui
2025-12-31 edc7293bf81729ebaa2d7cdd9a1f3aeaf567f538
ÏîÄ¿´úÂë/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -201,9 +201,9 @@
        /// <param name="palletCode"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("AssignYLRoadwayNo"), AllowAnonymous]
        public WebResponseContent AssignYLRoadwayNo(string palletCode)
        public WebResponseContent AssignYLRoadwayNo(string palletCode,int wide = 0, int thickness = 0, int weight = 0)
        {
            string roadWay= Service.AssignYLRoadwayNo(palletCode);
            string roadWay= Service.AssignYLRoadwayNo(palletCode, wide, thickness, wide);
            if (string.IsNullOrEmpty(roadWay))
            {
                return WebResponseContent.Instance.Error("未找到可分配巷道");
@@ -251,13 +251,13 @@
        }
        /// <summary>
        /// åŽŸæ–™ç§»åº“ä»»åŠ¡
        /// ç§»åº“任务
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("Relocation"), AllowAnonymous]
        public WebResponseContent IsRelocation(string startAddress, string endAddress, string roadWay)
        public WebResponseContent IsRelocation([FromBody] RelocationDTO relocationDTO)
        {
            return Service.IsRelocation(startAddress, endAddress, roadWay);
            return Service.IsRelocation(relocationDTO);
        }
        /// <summary>
        /// åŽŸæ–™å··é“é—´ç§»åº“ä»»åŠ¡
@@ -300,5 +300,31 @@
        {
            return Service.PrintInbound(saveModel);
        }
        /// <summary>
        /// ç©ºæ‰˜å ç›˜å‡ºåº“
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("PlateOutbound"), AllowAnonymous]
        public WebResponseContent PlateOutbound(string stationCode)
        {
            return Service.PlateOutbound(stationCode);
        }
        /// <summary>
        /// å¯ç”¨AGV站点
        /// </summary>
        /// <param name="keys"></param>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("EnableStatus")]
        public WebResponseContent EnableStatus([FromBody] int[] keys)
        {
            return Service.EnableStatus(keys);
        }
        [HttpPost, HttpGet, Route("DisableStatus")]
        public WebResponseContent DisableStatus([FromBody] int[] keys)
        {
            return Service.DisableStatus(keys);
        }
    }
}