示例#1
0
 def __init__(self, parent, type, attrs):
     listmemberobject.__init__(self, parent, type, attrs)
     self.name = self.attrs['EVENT_NAME']
     num = int(self.attrs['EVENT_NUMBER'])
     self.num = num
示例#2
0
 def __init__(self, parent, type, attrs):
     listmemberobject.__init__(self, parent, type, attrs)
     self.start_bit = int(self.attrs['START_BIT'])
     self.num_bits = int(self.attrs['NUM_BITS'])
示例#3
0
 def __init__(self, parent, type, attrs):
     listmemberobject.__init__(self, parent, type, attrs)
     self.name = self.attrs['VAR_NAME']
示例#4
0
 def __init__(self, parent, type, attrs):
     listmemberobject.__init__(self, parent, type, attrs)
     self.name = self.attrs['CMD_MNEMONIC']