public Wrr GetWrr(IHeadIndexable record) { record.StdfFile.GetRecordsEnumerable().Any(); var waferExtents = _WafersMap.GetExtents((StdfRecord)record); if (waferExtents == null) { return(null); } return(_AllRecords[waferExtents.EndIndex] as Wrr); }
/// <summary> /// Gets the <see cref="Wrr"/> for the current head /// </summary> public static Wrr GetWrr(this IHeadIndexable record) { return((from wrr in record.StdfFile.GetRecords().OfExactType <Wrr>() where wrr.HeadNumber == record.HeadNumber select wrr).FirstOrDefault()); }