etherlab/extension.py
author Laurent Bessard
Fri, 26 Apr 2013 13:59:43 +0200
changeset 2135 ca1c34ff6c10
parent 2111 f2cffda17d00
permissions -rw-r--r--
Fixed order of LocationCFilesAndCFLAGS, master was called after slaves in PLC init and retrieve functions
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))