etherlab/extension.py
author Edouard Tisserant
Fri, 05 Apr 2013 21:47:37 +0900
changeset 2117 accc4cbca8d3
parent 2111 f2cffda17d00
permissions -rw-r--r--
Now failure in template based part of C code also release the master for later use...
import features

def GetEtherLabLibClass():
    from EthercatMaster 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))