Eplan Platform API
Eplan.EplApi.DataModel.EObjects Namespace / Terminal.Bridge Class
Members Example

In This Topic
    Terminal.Bridge Class
    In This Topic
    This class represents a collection of all jumper connections attached to a given terminal or, if the terminal is part of a multi-level terminal, all jumper connections attached to one level of the multi-level terminal.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.EObjects.Terminal.Bridge

    Syntax
    public class Terminal.Bridge 
    public ref class Terminal.Bridge 
    Remarks
    When getting jumpers through TerminalStrip::Bridges property, this class represents a whole jumper which means that it contains all segments of a given type which are connected together (and not just segments connected directly to one terminal) Each jumper connection (a segment) is represented by an item in the array returned by the BridgeSegments property. (Note: a segment is two terminals connected by a single jumper connection.)
    Example
    // terminal1 - A single-level terminal or 1 level of a multi-level terminal with some jumper connections existing and connected to it
    var jumpers = terminal1.GetJumpers(false); // Returns jumpers from a terminal strip that a terminal is part of
    
     var segments = jumpers[0].BridgeSegments;  // The segments array contains as all jumper segments
                                                // of the terminal's first bridge.
                                                // All bridge connections are included: 
                                                // internal, external, saddleslot 3, saddleslot 4 and saddleslot 5
    
    var other = segments[0].BridgedTerminal;
     var connection = segments[0].Conn;
     if (other != null && connection != null)
     {
        // The 'terminal1' terminal is connected with the 'other' terminal through the 'connection' connection.
     }
    
    // terminal1Of3Level - a part of a 3-level terminal.
     jumpers = terminal1Of3Level.GetJumpers(true);      // Gets bridges from all terminal-device (considering all levels).
    
     var terminalOtherOf3Level = jumpers[2].Term;        // terminalOtherOf3Level could be the same as terminal1Of3Level or different
    other = jumpers[2].BridgeSegments[0].BridgedTerminal;
     connection = jumpers[2].BridgeSegments[0].Conn;
    if (other != null && connection != null)
    {
        // The 'terminalOtherOf3Level' - is connected with the 'other' terminal  through the _brCn_ connection.
    }
    
    
    
    Public Fields
     NameDescription
    Public FieldAn array of all jumper connections (i.e. segments) that the jumper consists of.  
    Public FieldOne of the terminal connected by the jumper.  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns information whether the jumper is 'vertical', i.e. whether it connects only different levels of the same multi-level terminal. Note: this property is valid only if the jumper object has been obtained through the TerminalStrip.Bridges_Split property of a terminal strip object. Otherwise, this property returns FALSE.  
    Public PropertyA Terminal.Bridge.Kinds of the jumper (i.e. internal, external, small, saddle slot 3, saddle slot 4 or saddle slot 5).  
    Public PropertyAn array of all terminals that the jumper connects.  
    Public PropertyA type of the jumper. Corresponds to the function definition tag of the jumper's connections.  
    Top
    See Also