etherlab/extension.py
author Laurent Bessard
Thu, 15 Nov 2012 22:43:44 +0100
changeset 2092 c9776ae8b5d0
parent 2086 8e4992e0f147
child 2111 f2cffda17d00
permissions -rw-r--r--
Adding support for Etherlab specific function blocks for MCL 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))