etherlab/extension.py
author Laurent Bessard
Tue, 24 Sep 2013 15:18:25 +0200
changeset 2159 93797d4303a3
parent 2111 f2cffda17d00
permissions -rw-r--r--
Fixed bug when compiling
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))