How to create the connection between two components

I just find two behaviors named “InInterface” and “OutInterface”, and when I just import a project with pnp connection nothing happen, when I click the component for excuting the pnp command, it will add a object with connected component’s name to these behaviors. And I can’t find any property about pnp in ISimComponent instance.

            var pnpOut1 = _application.World.Components.FirstOrDefault(x => x.Name == wpList[0].NAME)
                .FindBehavior("OutInterface") as ISimInterface;
            var pnpIn1 = _application.World.Components.FirstOrDefault(x => x.Name == cList[0].NAME)
                .FindBehavior("InInterface") as ISimInterface;
            pnpOut1.Connect(pnpIn1, true);

Solved.