etherlab/extension.py
author Laurent Bessard
Thu, 16 May 2013 23:21:01 +0200
changeset 2149 7f473761c932
parent 2111 f2cffda17d00
permissions -rw-r--r--
Added icon for Ethercat extension root and Ethercat master node
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))