wxw
2025-03-11 8cd6bb29fe8e46930ad199c4edfbec216475a988
Wms/WMS.BLL/BllTransServer/RcsServer.cs
@@ -27,6 +27,8 @@
{
    public class RcsServer:IRcsServer
    {
        private readonly object RcsLock = new object();
        private static readonly SqlSugarScope Db = DataContext.Db;
        /// <summary>
        ///  RCS叫桶
@@ -36,6 +38,8 @@
        /// <param name="taskNo"></param>
        /// <exception cref="Exception"></exception>
        public void GetPalletNo(Pallnetmsg model, string url, out string taskNo)
        {
            lock (RcsLock)
        {            
            try
            {
@@ -433,6 +437,7 @@
                throw new Exception(ex.Message);
            }
        }
        }
        /// <summary>
        /// 申请储位
@@ -442,6 +447,8 @@
        /// <param name="taskNo"></param>
        /// <exception cref="Exception"></exception>
        public void ApplyLocatNo(Pallnetmsg model, string url, out string taskNo)
        {
            lock (RcsLock)
        {            
            try
            {
@@ -713,6 +720,7 @@
                throw new Exception(ex.Message);
            }
        }
        }
        /// <summary>
        /// 获取空储位
        /// </summary>