from nodelist import NodeList
from nodemanager import NodeManager
import config_utils, gen_cfile
class _Beremiz_CanFestival_Controller(NodeList):
def __init__(self, buspath, bus_id):
NodeList.__init__(self, manager)
self.LoadProject(buspath)
def Generate_C(self, filepath, locations):
return C code for network dictionnary
master = config_utils.GenerateConciseDCF(locations, self)
res = gen_cfile.GenerateFile(filepath, master)
s = str(self.bus_id)+"_IN(){}\n"
def BlockListFactory(bmz_inst):
return _Beremiz_CanFestival_Controller()