Prepared for playback engine

This commit is contained in:
h3cx committed 2026-09-11 23:45:27 +02:00
1 parent 19b356a94d
commit bbc5aac891
14 files changed
+955 -189

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ class ValueBuffer:
for timestamp, signal_id, value in self._samples
]
def sort(self) -> None:
with self._lock:
self._samples.sort(key=lambda sample: sample[0])
def export_csv(self) -> str:
with self._lock:
samples = list(self._samples)