update : 29.04.2025 9:38:40,47
This commit is contained in:
parent
5414964e91
commit
bb7e2359f7
@ -674,6 +674,8 @@ def load_sotekom():
|
||||
element.lon = 0 if position[4] is None else position[4]
|
||||
element.speed = 0 if position[8] is None else position[8]
|
||||
element.save()
|
||||
if element.lat==0 or element.lon==0:
|
||||
continue
|
||||
element_trecking = EquipmentTracking.objects.filter(equipment=element).filter(time=element.time).first()
|
||||
if element_trecking is None:
|
||||
element_trecking = EquipmentTracking.objects.create(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user