分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-07-03 a05b17c400067475a256071c2e92a9f1b3abe343
´úÂë¹ÜÀí/PCS/WCS_Server/WIDESEA_WCS/Common/Gantry.cs
@@ -27,7 +27,7 @@
namespace WIDESEA_WCS
{
    public class Gantry
    public class Gantry : Gantry2
    {
        #region æŸ¥è¯¢è½¦è½®æ•°æ®
        /// <summary>
@@ -627,7 +627,8 @@
                                if (!Stations.Where(x => x.enable && x.stationCode != NGStation && x.location_state != LocationStateEnum.Stroge.ToString()).Any())
                                {
                                    var station = Stations.Where(x => x.enable && x.stationCode != NGStation && x.location_state == LocationStateEnum.Stroge.ToString()).OrderBy(x => x.lastUpdateTime).FirstOrDefault();
                                    agvtask(stationinfoRepository, station, Work, name == "3单元下料区" ? "TaskType_OutsourceInbound" : "TaskType_Inbound");
                                    if (station != null)
                                        agvtask(stationinfoRepository, station, Work, name == "3单元下料区" ? "TaskType_OutsourceInbound" : "TaskType_Inbound");
                                }
                                #endregion
                            }