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):
def bool_invert(T):
return not(T);
def bool_invert_inv(T):
return not(T);
def temp_check(T):
if (T<-100) or (T>200): return float('nan')
return T;
......@@ -16,4 +19,4 @@ def int12_to_bool_inv(data):
return 1 if data else 2
def int12_to_bool(data):
return data==1
\ No newline at end of file
return data==1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment