etherlab/extension.py
author Laurent Bessard
Wed, 06 Mar 2013 19:25:20 +0100
changeset 2102 90031b8db62d
parent 2086 8e4992e0f147
child 2111 f2cffda17d00
permissions -rw-r--r--
Added specific add menu for directly choose slave type while adding new slave
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))