@staticmethod
def makeCoupling(connection, subsystem_from, subsystem_to, sort):
    '\n        Add a coupling to system.\n        \n        :param connection: an instance of :class:`Sea.adapter.baseclasses.Connection`\n        :param component_from: an instance of a child of :class:`Sea.adapter.baseclasses.Component`\n        :param subsystem_from: string representing the type of subsystem\n        :param component_to: an instance of a child of :class:`Sea.adapter.baseclasses.Component`\n        :param subsystem_to: string representing the type of subsystem\n        :param sort: sort of coupling as specified in :class:`Sea.adapter.couplings.couplings_map`\n        \n        '
    from Sea.adapter.object_maps import couplings_map
    obj = connection.Document.addObject('App::FeaturePython', 'Coupling')
    couplings_map[sort](obj, connection, subsystem_from, subsystem_to)
    try:
        Sea.adapter.couplings.ViewProviderCoupling(obj.ViewObject)
    except AttributeError:
        pass
    obj.Label = ((((obj.ClassName + '_') + subsystem_from.ClassName.replace('Subsystem', '')) + '_to_') + subsystem_to.ClassName.replace('Subsystem', ''))
    logging.info('Sea: Created %s.', obj.Name)
    obj.Document.recompute()
    return obj
Add a coupling to system.

:param connection: an instance of :class:`Sea.adapter.baseclasses.Connection`
:param component_from: an instance of a child of :class:`Sea.adapter.baseclasses.Component`
:param subsystem_from: string representing the type of subsystem
:param component_to: an instance of a child of :class:`Sea.adapter.baseclasses.Component`
:param subsystem_to: string representing the type of subsystem
:param sort: sort of coupling as specified in :class:`Sea.adapter.couplings.couplings_map`
@staticmethod
def makeCoupling(connection, subsystem_from, subsystem_to, sort):
    '\n        Add a coupling to system.\n        \n        :param connection: an instance of :class:`Sea.adapter.baseclasses.Connection`\n        :param component_from: an instance of a child of :class:`Sea.adapter.baseclasses.Component`\n        :param subsystem_from: string representing the type of subsystem\n        :param component_to: an instance of a child of :class:`Sea.adapter.baseclasses.Component`\n        :param subsystem_to: string representing the type of subsystem\n        :param sort: sort of coupling as specified in :class:`Sea.adapter.couplings.couplings_map`\n        \n        '
    from Sea.adapter.object_maps import couplings_map
    obj = connection.Document.addObject('App::FeaturePython', 'Coupling')
    couplings_map[sort](obj, connection, subsystem_from, subsystem_to)
    try:
        Sea.adapter.couplings.ViewProviderCoupling(obj.ViewObject)
    except AttributeError:
        pass
    obj.Label = ((((obj.ClassName + '_') + subsystem_from.ClassName.replace('Subsystem', )) + '_to_') + subsystem_to.ClassName.replace('Subsystem', ))
    logging.info('Sea: Created %s.', obj.Name)
    obj.Document.recompute()
    return obj