equal
deleted
inserted
replaced
29 # ----------------------------------------------------------------------- |
29 # ----------------------------------------------------------------------- |
30 from etherlab.EtherCATManagementEditor import EtherCATManagementTreebook, MasterStatePanelClass |
30 from etherlab.EtherCATManagementEditor import EtherCATManagementTreebook, MasterStatePanelClass |
31 # ----------------------------------------------------------------------- |
31 # ----------------------------------------------------------------------- |
32 |
32 |
33 [ETHERCAT_VENDOR, ETHERCAT_GROUP, ETHERCAT_DEVICE] = range(3) |
33 [ETHERCAT_VENDOR, ETHERCAT_GROUP, ETHERCAT_DEVICE] = range(3) |
34 |
|
35 |
|
36 def AppendMenu(parent, help, id, kind, text): |
|
37 if wx.VERSION >= (2, 6, 0): |
|
38 parent.Append(help=help, id=id, kind=kind, text=text) |
|
39 else: |
|
40 parent.Append(helpString=help, id=id, kind=kind, item=text) |
|
41 |
34 |
42 |
35 |
43 def GetVariablesTableColnames(position=False): |
36 def GetVariablesTableColnames(position=False): |
44 _ = NoTranslate |
37 _ = NoTranslate |
45 colname = ["#"] |
38 colname = ["#"] |