def new(self):
     self.model = plt_model.PltHeader()
     self.model.childs = [
         plt_model.PltStart(),
         plt_model.PltJobs(),
         plt_model.PltEnd()
     ]
예제 #2
0
 def new(self):
     self.model = plt_model.PltHeader()
     childs = []
     childs.append(plt_model.PltStart())
     childs.append(plt_model.PltJobs())
     childs.append(plt_model.PltEnd())
     self.model.childs = childs