etherlab/extension.py
author Laurent Bessard
Fri, 16 Nov 2012 00:23:35 +0100
changeset 2093 3fdf9d56d803
parent 2086 8e4992e0f147
child 2111 f2cffda17d00
permissions -rw-r--r--
Fix bug in support for Etherlab specific fieldbus interface function blocks
import features

def GetEtherLabLibClass():
    from etherlab import EtherlabLibrary
    return EtherlabLibrary

features.libraries.append(
    ('Etherlab', GetEtherLabLibClass))

def GetEtherLabClass():
    from etherlab import RootClass
    return RootClass

features.catalog.append(
    ('etherlab', _('EtherCat Master'), _('Map located variables over EtherCat'), GetEtherLabClass))