update : 13.11.2024 10:52:32,94

This commit is contained in:
Sabron 2024-11-13 10:52:32 +07:00
parent 561843e2e9
commit 3c4410912f

View File

@ -481,7 +481,8 @@ def load_sotekom():
cursor = mssql.executeSQL(conn,SQL_QUERY)
cursor_position = cursor.fetchall()
for position in cursor_position:
#logging.message(f' position = {position}')
if position[1] == 315:
logging.message(f' position = {position}')
element.time=time=datetime.now() if position[2] is None else position[2]
# element.time = row[0]+ timedelta(hours=7)
element.lat = 0 if position[3] is None else position[3]