import shutil import wx from gnosis.xml.pickle import * from gnosis.xml.pickle.util import setParanoia import util.paths as paths from util.TranslationCatalogs import AddCatalog from ConfigTreeNode import ConfigTreeNode from PLCControler import \ LOCATION_CONFNODE, \ LOCATION_VAR_MEMORY try: from nodelist import NodeList except ImportError: base_folder = paths.AbsParentDir(__file__, 2) CanFestivalPath = os.path.join(base_folder, "CanFestival-3") sys.path.append(os.path.join(CanFestivalPath, "objdictgen")) from nodelist import NodeList from nodemanager import NodeManager import gen_cfile import eds_utils import canfestival_config as local_canfestival_config from commondialogs import CreateNodeDialog from subindextable import IECTypeConversion, SizeConversion from canfestival import config_utils from canfestival.SlaveEditor import SlaveEditor, MasterViewer from canfestival.NetworkEditor import NetworkEditor
def __init__(self): self.controller = PLCControler() # PLCControler.__init__(self) self.BuildPath = None self.DefaultBuildPath = paths.AbsParentDir(__file__) self.RefreshConfNodesBlockLists()