From 1ee976dd4fcf8ffe32001dad8ee97404573168ce Mon Sep 17 00:00:00 2001 From: Paulus Kruger <kruger@astron.nl> Date: Wed, 1 Mar 2023 08:43:05 +0000 Subject: [PATCH] Update pypcc/opcuaserv/convert_unit.py --- pypcc/opcuaserv/convert_unit.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pypcc/opcuaserv/convert_unit.py b/pypcc/opcuaserv/convert_unit.py index 877c948..2404653 100644 --- a/pypcc/opcuaserv/convert_unit.py +++ b/pypcc/opcuaserv/convert_unit.py @@ -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 -- GitLab