Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public static bool IsResolved(LotAttributeValues attributeValue)
 {
     return(attributeValue != null && attributeValue.HasResolvedDefects);
 }