Admin
2026-03-28 346e8eafb9e91deb770d098ba5456aa533c015a1
ÏîÄ¿´úÂë/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/WMSTaskService.cs
@@ -185,9 +185,16 @@
                    //是否有货
                    int StationStatus = conveyorLine.Communicator.Read<ushort>(StationNumProDTO.DeviceProAddress);
                    if(DeStateName=="F01" || DeStateName == "F06" || DeStateName == "F07")
                    {
                    //有货,可进信号
                    statusValue = ((portStatus == 1 && StationStatus == 1) || (portStatus == 2 && StationStatus == 0)) ? 1 : (portStatus == 0) ? 0 : 0;
                    }
                    else
                    {
                        statusValue = StationStatus == 1 ? 0 : 1;
                    }
                    portStatusDict[DeStateName] = statusValue;
                }