Added a method to clear signals from the message.

This commit is contained in:
Christian Sltrop 2012-07-24 09:06:03 +02:00
parent 5bd3100d31
commit ffa16d0f36
2 changed files with 3 additions and 0 deletions

View file

@ -64,6 +64,9 @@ class CanMessage(object):
def removeSignal(self, CanSignalLabel): def removeSignal(self, CanSignalLabel):
self.Signals.pop(CanSignalLabel) self.Signals.pop(CanSignalLabel)
def clearSignals(self):
self.Signals = {}
def composeData(self): def composeData(self):
''' '''
Takes the CanSignals from the list in self.Signals and copies Takes the CanSignals from the list in self.Signals and copies

Binary file not shown.