FUNCTION a3ma_validate_detected_difference_types
(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION a3ma_validate_detected_difference_types
(ei : data_equivalence_inspection_report;
cr : a3m_equivalence_criterion_for_assembly ) : LOGICAL;
LOCAL
deiir : data_equivalence_inspection_instance_report;
eiriwei : equivalence_instance_report_item_with_notable_instances;
END_LOCAL;
IF 'STEP_MERGED_AP_SCHEMA.DATA_EQUIVALENCE_INSPECTION_INSTANCE_REPORT' IN TYPEOF(ei) THEN
deiir := ei;
REPEAT i := 1 TO SIZEOF(deiir.inspected_instances);
IF 'STEP_MERGED_AP_SCHEMA.EQUIVALENCE_INSTANCE_REPORT_ITEM_WITH_NOTABLE_INSTANCES' IN TYPEOF(deiir.inspected_instances[i]) THEN
eiriwei := deiir.inspected_instances[i];
REPEAT j := 1 TO SIZEOF(eiriwei.notable_instances);
IF NOT (a3ma_get_detected_difference_type(eiriwei.notable_instances[j].comparing_elements) IN cr.detected_difference_types) THEN
RETURN (FALSE);
END_IF;
IF NOT (a3ma_get_detected_difference_type(eiriwei.notable_instances[j].compared_elements) IN cr.detected_difference_types) THEN
RETURN (FALSE);
END_IF;
END_REPEAT;
END_IF;
END_REPEAT;
END_IF;
RETURN (FALSE);
END_FUNCTION;
Referenced By
Defintion a3ma_validate_detected_difference_types is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00