def __init__(self, obj, system, components):
    Base.__init__(self, obj)
    obj.addProperty('App::PropertyLink', 'System', 'Component', 'System this connection belongs to.')
    obj.System = system
    obj.couplings = self.couplings
    obj.makeCoupling = self.makeCoupling
    obj.updateCouplings = self.updateCouplings
    obj.addCouplings = self.addCouplings
    obj.addProperty('App::PropertyLinkList', 'Components', 'Connection', 'Components that are connected via this connection.')
    obj.Frequency = system.Frequency
    obj.addProperty('App::PropertyFloatList', 'ImpedanceJunction', 'Connection', 'Total impedance at the junction.')
    obj.setEditorMode('ImpedanceJunction', 1)
    obj.Components = components
    obj.updateCouplings()
def __init__(self, obj, system, components):
    Base.__init__(self, obj)
    obj.addProperty('App::PropertyLink', 'System', 'Component', 'System this connection belongs to.')
    obj.System = system
    obj.couplings = self.couplings
    obj.makeCoupling = self.makeCoupling
    obj.updateCouplings = self.updateCouplings
    obj.addCouplings = self.addCouplings
    obj.addProperty('App::PropertyLinkList', 'Components', 'Connection', 'Components that are connected via this connection.')
    obj.Frequency = system.Frequency
    obj.addProperty('App::PropertyFloatList', 'ImpedanceJunction', 'Connection', 'Total impedance at the junction.')
    obj.setEditorMode('ImpedanceJunction', 1)
    obj.Components = components
    obj.updateCouplings()