Пример #1
0
 def __init__(self, message_data, offset, pid):
     VariableLengthResponse.__init__(self, message_data, offset, pid)
     self.items = self._get_item_bytes()
     raw_values = [self._decode_item(i) for i in self.items]
     self._create_values(raw_values)
     return
Пример #2
0
 def __init__(self, message_data, offset, pid):
     VariableLengthResponse.__init__(self, message_data, offset, pid)
     self.items = self._get_item_bytes()
     raw_values = [self._decode_item(i) for i in self.items]
     self._create_values(raw_values)
     return
Пример #3
0
 def __init__(self, message_data, offset, pid):
     VariableLengthResponse.__init__(self, message_data, offset, pid)
     self.items = self._get_item_bytes()
     dtcs = [self._decode_item(i) for i in self.items]
     self.dtcs = [d for d in dtcs if d.value]
     return
Пример #4
0
 def __init__(self, message_data, offset, pid):
     VariableLengthResponse.__init__(self, message_data, offset, pid)
     self.items = self._get_item_bytes()
     dtcs = [self._decode_item(i) for i in self.items]
     self.dtcs = [d for d in dtcs if d.value]
     return