author | Laurent Bessard |
Thu, 07 Feb 2013 00:59:50 +0100 | |
changeset 2096 | c9b0340ea0f5 |
parent 2086 | 8e4992e0f147 |
child 2111 | f2cffda17d00 |
permissions | -rw-r--r-- |
2048
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
1 |
import features |
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
2 |
|
2086
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
3 |
def GetEtherLabLibClass(): |
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
4 |
from etherlab import EtherlabLibrary |
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
5 |
return EtherlabLibrary |
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
6 |
|
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
7 |
features.libraries.append( |
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
8 |
('Etherlab', GetEtherLabLibClass)) |
8e4992e0f147
Adding block library for SDO download and SDO upload
Laurent Bessard
parents:
2048
diff
changeset
|
9 |
|
2048
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
10 |
def GetEtherLabClass(): |
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
11 |
from etherlab import RootClass |
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
12 |
return RootClass |
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
13 |
|
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
14 |
features.catalog.append( |
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
15 |
('etherlab', _('EtherCat Master'), _('Map located variables over EtherCat'), GetEtherLabClass)) |
5726f2bbdace
reflected changes in beremiz extension mechanism
Edouard Tisserant
parents:
diff
changeset
|
16 |