etherlab/extension.py
author Laurent Bessard
Fri, 16 Nov 2012 23:43:45 +0100
changeset 2094 72b74099b873
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))