示例#1
0
            public List <APORTSTATION> loadAGVPortStationCanUnload(CMDBLL cmdBLL, string zoneID)
            {
                var port_stations = loadAGVPortStation();

                return(port_stations.Where(port => port.IsInPutMode &&
                                           port.PortReady &&
                                           !port.CSTPresenceMismatch &&
                                           !port.IsCSTPresence &&
                                           SCUtility.isMatche(port.ZONE_ID, zoneID) &&
                                           !cmdBLL.hasExcuteCMDByDestinationPort(port.PORT_ID)).ToList());
            }
示例#2
0
            public APORTSTATION getAGVPortStationCanUnloadForCycleRun(CMDBLL cmdBLL, string zoneID)
            {
                var port_stations = loadAGVPortStation();

                return(port_stations.Where(port => port.IncludeCycleTest &&
                                           port.IsInPutMode &&
                                           port.PortReady &&
                                           !port.CSTPresenceMismatch &&
                                           !port.IsCSTPresence &&
                                           SCUtility.isMatche(port.ZONE_ID, zoneID) &&
                                           !cmdBLL.hasExcuteCMDByDestinationPort(port.PORT_ID)).FirstOrDefault());
            }