etherlab/extension.py
author Laurent Bessard
Mon, 29 Apr 2013 11:03:06 +0200
changeset 2139 1565239349a8
parent 2111 f2cffda17d00
permissions -rw-r--r--
Added support for module extra params in EthercatCFileGenerator
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))