Skip to content
Snippets Groups Projects
Commit 1ee976dd authored by Paulus Kruger's avatar Paulus Kruger
Browse files

Update pypcc/opcuaserv/convert_unit.py

parent eee3d2fc
No related branches found
No related tags found
No related merge requests found
Pipeline #44999 passed
...@@ -8,6 +8,9 @@ def period2RPM(T): ...@@ -8,6 +8,9 @@ def period2RPM(T):
def bool_invert(T): def bool_invert(T):
return not(T); return not(T);
def bool_invert_inv(T):
return not(T);
def temp_check(T): def temp_check(T):
if (T<-100) or (T>200): return float('nan') if (T<-100) or (T>200): return float('nan')
return T; return T;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment