FUNCTION a3ma_get_measured_type

(* SCHEMA step_merged_ap_schema; *)
-- IN AP242
FUNCTION a3ma_get_measured_type
      (ei : equivalence_measured_value_select ) : a3ma_measured_data_type_name;
   LOCAL
      type_out : SET OF STRING;
   END_LOCAL;
      type_out := TYPEOF(ei);
      IF 'STEP_MERGED_AP_SCHEMA.BOOLEAN_VALUE' IN type_out THEN
         RETURN (mdna_boolean_value);
      END_IF;
      IF 'STEP_MERGED_AP_SCHEMA.CONTEXT_DEPENDENT_MEASURE' IN type_out THEN
         RETURN (mdna_context_dependent_measure);
      END_IF;
      IF 'STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE' IN type_out THEN
         RETURN (mdna_length_measure);
      END_IF;
      IF 'STEP_MERGED_AP_SCHEMA.A3MA_LENGTH_MEASURE_AND_CONTEXT_DEPENDENT_MEASURE_PAIR' IN type_out THEN
         RETURN (mdna_length_measure_and_context_dependent_measure);
      END_IF;
      IF 'STEP_MERGED_AP_SCHEMA.PLANE_ANGLE_MEASURE' IN type_out THEN
         RETURN (mdna_plane_angle_measure);
      END_IF;
      IF 'STEP_MERGED_AP_SCHEMA.VOLUME_MEASURE' IN type_out THEN
         RETURN (mdna_volume_measure);
      END_IF;
      RETURN (mdna_others);
END_FUNCTION;

Referenced By

Defintion a3ma_get_measured_type is references by the following definitions:
DefinitionType
 a3ma_validate_measured_type FUNCTION


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00