fun checkT1Value(eventData: EventData?) { if(eventData.a == 3.9) { if(eventData.received_at - Tbuffer_firstReading!! >= 200000) //