diff --git a/opcuaserv/convert_unit.py b/opcuaserv/convert_unit.py new file mode 100644 index 0000000000000000000000000000000000000000..599033d6aa1a6cc3754d15447223b6ff0a5c65e6 --- /dev/null +++ b/opcuaserv/convert_unit.py @@ -0,0 +1,6 @@ +def Kelvin2Celsius(T): + return T-273.15; + +def period2RMS(T): + if T==0: return 0. + return 60./T; diff --git a/start.sh b/start.sh new file mode 100644 index 0000000000000000000000000000000000000000..87a13ec1614c73dc9927d4dfec3e13fee2076935 --- /dev/null +++ b/start.sh @@ -0,0 +1,7 @@ +tmux new -s translators 'cd ~/pypcc;python3 pypcc2.py -p 4840 -c RECVTR' \; \ + new-window 'cd ~/pypcc;python3 pypcc2.py -p 4841 -c UNB2TR' \; \ + new-window 'cd ~/pypcc;python3 pypcc2.py -p 4842 -c APSPUTR' \; \ + new-window 'cd ~/pypcc;python3 pypcc2.py -p 4843 -c APSCTTR' \; \ + detach-client +#\ +# detach-client