Overview Schemas Index

PHYSICAL_NODE_REQUIREMENT_TO_IMPLEMENTING_COMPONENT_ALLOCATION_XIM (jsdai.SPhysical_node_requirement_to_implementing_component_allocation_xim)


FUNCTION get_pctr
          (ac : assembly_component_armx, imjb : SET [0:?] OF interface_mounted_join_armx) : SET [0:?] OF packaged_connector_terminal_relationship_armx;

LOCAL
      cf   : Component_feature_armx;
      pctr : SET OF packaged_connector_terminal_relationship_armx := [];
    END_LOCAL;

    cf := imjb[1].connection_to_interconnect_module_component;
    IF  ac :=: cf.associated_component THEN
      IF ('PHYSICAL_NODE_REQUIREMENT_TO_IMPLEMENTING_COMPONENT_ALLOCATION_xim.PACKAGED_PART_INTERFACE_TERMINAL' IN TYPEOF(cf.definition)) THEN
        pctr := cf.definition.external_connector_function;
        RETURN(pctr);
      ELSE
        RETURN(pctr);
      END_IF;
    ELSE
      RETURN(pctr);
    END_IF;

END_FUNCTION; -- get_pctr

public class FGet_pctr
          public static Value run(SdaiContext _context, Value ac, Value imjb)