wangxinhui
2025-12-29 d0cc37c3c11859cc55f30624692dca55be2b8a32
项目代码/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("鏈壘鍒板彲鍒嗛厤宸烽亾");
@@ -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);
        }
    }
}