Atualização automática - 2026-06-24 11:32:52
This commit is contained in:
@@ -188,11 +188,11 @@ export function validateCertificateAgainstStandard(extractedReport: ReportData,
|
||||
if (propLower.includes('yield') || propLower.includes('escoamento')) {
|
||||
minLimit = mechLimits['limite_escoamento_min'] || mechLimits['yield_strength_min'] || null;
|
||||
maxLimit = mechLimits['limite_escoamento_max'] || mechLimits['yield_strength_max'] || null;
|
||||
} else if (propLower.includes('tensile') || propLower.includes('resistencia')) {
|
||||
minLimit = mechLimits['limite_resistencia_min'] || mechLimits['tensile_strength_min'] || null;
|
||||
maxLimit = mechLimits['limite_resistencia_max'] || mechLimits['tensile_strength_max'] || null;
|
||||
} else if (propLower.includes('tensile') || propLower.includes('resistencia') || propLower.includes('tração') || propLower.includes('tracao')) {
|
||||
minLimit = mechLimits['limite_resistencia_min'] || mechLimits['resistencia_tracao_min'] || mechLimits['tensile_strength_min'] || null;
|
||||
maxLimit = mechLimits['limite_resistencia_max'] || mechLimits['resistencia_tracao_max'] || mechLimits['tensile_strength_max'] || null;
|
||||
} else if (propLower.includes('elongation') || propLower.includes('alongamento')) {
|
||||
minLimit = mechLimits['alongamento_min'] || mechLimits['elongation_min'] || null;
|
||||
minLimit = mechLimits['alongamento_min'] || mechLimits['alongamento_min_50mm'] || mechLimits['elongation_min'] || null;
|
||||
}
|
||||
|
||||
let status: 'OK' | 'FALHA' = 'OK';
|
||||
|
||||
Reference in New Issue
Block a user