65 LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY |
65 LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY |
66 from PLCOpenEditor import IDEFrame, ProjectDialog |
66 from PLCOpenEditor import IDEFrame, ProjectDialog |
67 |
67 |
68 havecanfestival = False |
68 havecanfestival = False |
69 try: |
69 try: |
70 from confnodes.canfestival import RootClass as CanOpenRootClass |
70 from canfestival import RootClass as CanOpenRootClass |
71 from confnodes.canfestival.canfestival import _SlaveCTN, _NodeListCTN, NodeManager |
71 from canfestival.canfestival import _SlaveCTN, _NodeListCTN, NodeManager |
72 havecanfestival = True |
72 havecanfestival = True |
73 except: |
73 except: |
74 havecanfestival = False |
74 havecanfestival = False |
75 |
75 |
76 |
76 |
77 #------------------------------------------------------------------------------- |
77 #------------------------------------------------------------------------------- |
78 # CANFESTIVAL CONFNODE HACK |
78 # CANFESTIVAL CONFNODE HACK |
79 #------------------------------------------------------------------------------- |
79 #------------------------------------------------------------------------------- |
80 # from confnodes.canfestival import canfestival |
80 # from canfestival import canfestival |
81 # class LPC_canfestival_config: |
81 # class LPC_canfestival_config: |
82 # def getCFLAGS(self, *args): |
82 # def getCFLAGS(self, *args): |
83 # return "" |
83 # return "" |
84 # |
84 # |
85 # def getLDFLAGS(self, *args): |
85 # def getLDFLAGS(self, *args): |