def __init__(self, label, trickleCount):
    self.lock = threading.Lock()
    self.name = label
    self.lastTrickleCount = trickleCount
    self.lastMessageTime = float(time.time())
    self.batteryVoltage = None
    self.batteryCapacity = None
    self.batterySoc = None
    self.batteryConsumption = None
    self.batteryTemperature = None
    self.amountOfBTReports = 0
    self.online = True
def __init__(self, label, trickleCount):
    self.lock = threading.Lock()
    self.name = label
    self.lastTrickleCount = trickleCount
    self.lastMessageTime = float(time.time())
    self.batteryVoltage = None
    self.batteryCapacity = None
    self.batterySoc = None
    self.batteryConsumption = None
    self.batteryTemperature = None
    self.amountOfBTReports = 0
    self.online = True