1
yangpeixing
2025-12-04 63e1ee997a5318e628b992f969bdac2fec6dbf14
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Dt_TaskService.cs
@@ -17,6 +17,7 @@
using System.Reflection;
using System.Reflection.Metadata;
using System.Security.Policy;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using WIDESEA_Cache;
@@ -95,6 +96,26 @@
        _wareAreaInfoRepository = wareAreaInfoRepository;
        _inventoryRecordRepository = inventoryRecordRepository;
    }
    #region 鍒濆鍖栨彁鍗囨満
    public async Task<WebResponseContent> InitializationElevator()
    {
        WebResponseContent content = new WebResponseContent();
        try
        {
            var address = GetWCSIPAddress("WCSIPAddress","InitializationElevator");
            if (address != null)
            {
                await HttpHelper.PostAsync(address, "");
                return content.OK("鎴愬姛");
            }
            return content.Error("澶辫触");
        }
        catch (Exception ex)
        {
            return content.Error(ex.Message);
        }
    }
    #endregion
    #region 澶栭儴鎺ュ彛鏂规硶