etherlab/extension.py
author Laurent Bessard
Wed, 24 Apr 2013 17:27:31 +0200
changeset 2133 ba0b2ca7db26
parent 2111 f2cffda17d00
permissions -rw-r--r--
Fixed Save As... function in Beremiz
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))