コード例 #1
0
 def createPostBlockTopSubSystem(self):
     block = Block('top', 'none', 'SubSystem', None)
     block.parameters = {'MT_label__':'99', 'MT_post__Name': 'return attr_value'}
     return block
コード例 #2
0
 def createPreBlockTopSubSystem(self):
     block = Block('top', 'none', 'SubSystem',None)
     block.parameters = {'MT_label__':'99', 'MT_pre__Name': 'return True'}
     return block