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()); }
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()); }