author | Edouard Tisserant |
Fri, 12 Apr 2013 15:41:22 +0900 | |
changeset 2121 | 11102245e1d4 |
parent 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(): |
2111 | 4 |
from EthercatMaster import EtherlabLibrary |
2086
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 |