Hoofdletters update
This commit is contained in:
@@ -14,7 +14,7 @@ class SensorNode(Node):
|
||||
#A private query only to be used in this class.
|
||||
__query = "INSERT INTO `Measurement` (NodeID, Type, Value) VALUES (%s, %s, %s)"
|
||||
|
||||
#all variables to be used.
|
||||
#All variables to be used.
|
||||
def __init__(self, macAdress, temp, humi, eCO2, TVOC):
|
||||
super().__init__(macAdress)
|
||||
self.temperature = temp
|
||||
@@ -22,7 +22,7 @@ class SensorNode(Node):
|
||||
self.eCO2 = eCO2
|
||||
self.TVOC = TVOC
|
||||
|
||||
#a function to connect to the database, grab the info which is given, and push this to the database.
|
||||
#A function to connect to the database, grab the info which is given, and push this to the database.
|
||||
async def processSensorNodeData(data, nodeID):
|
||||
try:
|
||||
mydb = dbLogin()
|
||||
|
Reference in New Issue
Block a user