From d1c94bb3c701d6811700ecbb26cdd187353f32c3 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 23 Feb 2024 17:50:39 +0100 Subject: [PATCH 1/3] Aggiunto script x compilazione con nuitka --- IOB-WIN-PSER/IOB-WIN-PSER.py | 1 - IOB-WIN-PSER/NuitkacreateExe.bat | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 IOB-WIN-PSER/NuitkacreateExe.bat diff --git a/IOB-WIN-PSER/IOB-WIN-PSER.py b/IOB-WIN-PSER/IOB-WIN-PSER.py index 961d2402..2676da8b 100644 --- a/IOB-WIN-PSER/IOB-WIN-PSER.py +++ b/IOB-WIN-PSER/IOB-WIN-PSER.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # IOB-WIN-PSER v. 2.7 # - porting versione interpretata su Python2 + XP a Python3 diff --git a/IOB-WIN-PSER/NuitkacreateExe.bat b/IOB-WIN-PSER/NuitkacreateExe.bat new file mode 100644 index 00000000..8ff55b10 --- /dev/null +++ b/IOB-WIN-PSER/NuitkacreateExe.bat @@ -0,0 +1,10 @@ +REM script creazione EXE da python con Nuitka + +python -m nuitka --standalone --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py +@REM python -m nuitka --standalone IOB-WIN-PSER.py +@REM python -m nuitka --onefile --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py +@REM python -m nuitka --onefile IOB-WIN-PSER.py + + +REM effettua copia delle conf x poter avviare... +xcopy CONF\*.cfg dist\CONF\ From 04efb8ec7ea98fd792eeed587bead593f41bfd4a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 23 Feb 2024 18:38:31 +0100 Subject: [PATCH 2/3] update gitignore + conf build nuitka --- .gitignore | 5 +++++ IOB-WIN-PSER/NuitkacreateExe.bat | 13 ++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c125c47d..2dec300a 100644 --- a/.gitignore +++ b/.gitignore @@ -338,3 +338,8 @@ IOB-WIN-PSER/logs/*/*.txt IOB-WIN-PSER/dist/CONF/*.cfg IOB-WIN-PSER/dist/logs/*/*.txt IOB-WIN-PSER/dist/*.exe +IOB-WIN-PSER/dist-nuitka/*.exe +IOB-WIN-PSER.build/ +IOB-WIN-PSER.dist/ +IOB-WIN-PSER.onefile-build/ + diff --git a/IOB-WIN-PSER/NuitkacreateExe.bat b/IOB-WIN-PSER/NuitkacreateExe.bat index 8ff55b10..96d54e55 100644 --- a/IOB-WIN-PSER/NuitkacreateExe.bat +++ b/IOB-WIN-PSER/NuitkacreateExe.bat @@ -1,10 +1,17 @@ REM script creazione EXE da python con Nuitka +REM https://nuitka.net/ +REM https://nuitka.net/doc/user-manual.html + +RMDIR /S /Q dist-nuitka +MKDIR dist-nuitka -python -m nuitka --standalone --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py @REM python -m nuitka --standalone IOB-WIN-PSER.py -@REM python -m nuitka --onefile --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py @REM python -m nuitka --onefile IOB-WIN-PSER.py +@REM python -m nuitka --standalone --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py +python -m nuitka --onefile --windows-icon-from-ico=SteamWare.ico IOB-WIN-PSER.py +REM sposto in folder dist +move IOB-WIN-PSER.exe dist-nuitka/IOB-WIN-PSER.exe REM effettua copia delle conf x poter avviare... -xcopy CONF\*.cfg dist\CONF\ +xcopy CONF\*.cfg dist-nuitka\CONF\ From 91986cc9722c88de38735a991f36ec5211c61abe Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 23 Feb 2024 18:38:40 +0100 Subject: [PATCH 3/3] update conf x niutka --- IOB-WIN-PSER/dist-nuitka/CONF/IOB.cfg | 65 +++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L001.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L003.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L004.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L005.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L006.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L007.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L008.cfg | 71 ++++++++++++++++++++++++++ IOB-WIN-PSER/dist-nuitka/CONF/L012.cfg | 71 ++++++++++++++++++++++++++ 9 files changed, 633 insertions(+) create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/IOB.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L001.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L003.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L004.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L005.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L006.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L007.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L008.cfg create mode 100644 IOB-WIN-PSER/dist-nuitka/CONF/L012.cfg diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/IOB.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/IOB.cfg new file mode 100644 index 00000000..d2e5fdd4 --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/IOB.cfg @@ -0,0 +1,65 @@ +[comm] +port = COM5 + + +[id] +idxMacchina = L003 + +[web] +URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +URLALIVE = http://192.168.111.104/MP/IO/IOB +URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 102400 +NUM_LOG_RETAIN = 10 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L001.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L001.cfg new file mode 100644 index 00000000..afbc71d2 --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L001.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM4 + + +[id] +idxMacchina = L001 + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +; URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +; URLALIVE = http://192.168.111.104/MP/IO/IOB +; URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +; URLADV1 = ?valore= +; URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L003.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L003.cfg new file mode 100644 index 00000000..75d5e75f --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L003.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM21 + +[id] +idxMacchina = L003 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L004.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L004.cfg new file mode 100644 index 00000000..0467c40f --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L004.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM22 + +[id] +idxMacchina = L004 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L005.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L005.cfg new file mode 100644 index 00000000..23492f1d --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L005.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM23 + +[id] +idxMacchina = L005 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L006.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L006.cfg new file mode 100644 index 00000000..bc218f6e --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L006.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM24 + +[id] +idxMacchina = L006 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L007.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L007.cfg new file mode 100644 index 00000000..d49dc2df --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L007.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM25 + +[id] +idxMacchina = L007 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L008.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L008.cfg new file mode 100644 index 00000000..1224694e --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L008.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM26 + +[id] +idxMacchina = L008 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 diff --git a/IOB-WIN-PSER/dist-nuitka/CONF/L012.cfg b/IOB-WIN-PSER/dist-nuitka/CONF/L012.cfg new file mode 100644 index 00000000..6dee57fc --- /dev/null +++ b/IOB-WIN-PSER/dist-nuitka/CONF/L012.cfg @@ -0,0 +1,71 @@ +[comm] +port = COM28 + +[id] +idxMacchina = L012 + +#[web] +#URLBASE = http://192.168.111.104/MP/IO/IOB/input/ +#URLALIVE = http://192.168.111.104/MP/IO/IOB +#URLENABLED = http://192.168.111.104/MP/IO/IOB/enabled/ +#URLADV1 = ?valore= +#URLREBO = http://192.168.111.104/MP/IO/sendReboot.aspx?idxMacchina= + +[web] +URLBASE = http://10.74.82.218/MP/IO/IOB/input/ +URLALIVE = http://10.74.82.218/MP/IO/IOB +URLENABLED = http://10.74.82.218/MP/IO/IOB/enabled/ +URLADV1 = ?valore= +URLREBO = http://10.74.82.218/MP/IO/sendReboot.aspx?idxMacchina= + +[time] +SAMPLETIME = 0.05 +TIMEOUTSHORT = 0.30 +TIMEOUTLONG = 50 +SENDURLTIME = 0.15 +NMAXSEND = 5 +WAIT_RECONN = 2 + +[log] +LOGLEVEL = 10 +LOGFILE = logfile.txt +LOGREBO = logReboot.txt +MAX_LOG_SIZE = 1048576 +NUM_LOG_RETAIN = 30 + +[redis] +REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +REDIS_DB=10 + +[blink] +MAX_COUNTER_BLINK = 30 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[invert] +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0 + +[filter] +MAX_COUNTER_FILTER = 5 +bit0 = 0 +bit1 = 0 +bit2 = 0 +bit3 = 0 +bit4 = 0 +bit5 = 0 +bit6 = 0 +bit7 = 0