[feat] remove hfc data process
This commit is contained in:
parent
d78533cb37
commit
31006cb263
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user