Example #1
0
        public static bool IsDefective(LotAttributeValues attributeValue, ProductAttributeSpec productSpec)
        {
            if (attributeValue == null || productSpec == null || attributeValue.HasResolvedDefects)
            {
                return(false);
            }

            return(attributeValue.LabTestValue < productSpec.MinValue || attributeValue.LabTestValue > productSpec.MaxValue);
        }
Example #2
0
 public static bool IsResolved(LotAttributeValues attributeValue)
 {
     return(attributeValue != null && attributeValue.HasResolvedDefects);
 }