分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-05-07 46f7bf1ee45c97b688a370bbe45d149efb403cc1
代码管理/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs
@@ -146,10 +146,10 @@
                #region 鐢宠涓婃枡
                if (!Gantry_client.ReadByOrder<bool>("W_RequestUnload", number))
                {
                    var Station = stationinfoRepository.Find(x => x.area == area_code(number) && x.enable && x.location_state == LocationStateEnum.Stroge.ToString() && x.quantity > 0).OrderBy(x => x.lastUpdateTime).FirstOrDefault();
                    if (Station != null)
                {
                    if (!Gantry_client.ReadByOrder<bool>("W_RequestUnload", number))
                    {
                        var SNS = Station.bindSN.Split(",");
                        List<string> list = new List<string>();
@@ -211,6 +211,10 @@
                        #endregion
                    }
                }
                else
                {
                    Gantry_client.WriteByOrder("W_RequestUnload", false, number);
                }
                #endregion