[feat] remove hfc data process

This commit is contained in:
zhji 2026-01-17 22:21:11 +08:00
parent d78533cb37
commit 31006cb263

View File

@ -639,7 +639,7 @@ class ModbusGasAnalyzer:
if self.concentration < 0: if self.concentration < 0:
print(f"DEBUG - : {self.concentration} -> 0") print(f"DEBUG - : {self.concentration} -> 0")
self.concentration = 0.0 self.concentration = 0.0
elif self.concentration > 90: elif self.concentration > 99.99:
print(f"DEBUG - : {self.concentration} -> 随机数") print(f"DEBUG - : {self.concentration} -> 随机数")
self.concentration = round(random.uniform(99.960, 99.990), 3) self.concentration = round(random.uniform(99.960, 99.990), 3)
else: else: