Fix commenti
This commit is contained in:
@@ -405,7 +405,6 @@ def RiAvviaSeriale():
|
||||
sys.stdout.write (f'\n{PROGRAM_NAME} | err 12 - reopening serial\n\n{str(exc)}\n\n')
|
||||
time.sleep(WAIT_RECONN)
|
||||
RiAvviaSeriale()
|
||||
# ChiudiSerialeEsci()
|
||||
#---------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -416,14 +415,11 @@ def SendWatchDog():
|
||||
# invio su redis stato
|
||||
adesso = datetime.now()
|
||||
redIobMan.lastUpdate = adesso.strftime("%Y-%m-%d %H:%M:%S")
|
||||
# redIobMan.lastDataIn=adesso.strftime("%Y-%m-%d %H:%M:%S")
|
||||
# redIobMan.lastDataOut=adesso.strftime("%Y-%m-%d %H:%M:%S")
|
||||
# verificare sia DAVVERO online...
|
||||
# verificare sia DAVVERO online verso server...
|
||||
redIobMan.online = (onLine == '1')
|
||||
rawVal = redIobMan.toJSON()
|
||||
redSrv0.set(f'IOB-WIN-PSER:IOB:{IOB_NAME}', rawVal)
|
||||
# redSrv0.set(f'Python:IobWinStatus:{IOB_CONF}', adesso.strftime("%H:%M:%S"))
|
||||
logSnd.debug('Invio a REDIS')
|
||||
logPro.debug('Invio a REDIS')
|
||||
#---------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
REM script creazione EXE da python
|
||||
|
||||
python -m PyInstaller --onefile --icon SteamWare.ico IOB-WIN-PSER-TEST.py
|
||||
@REM python -m PyInstaller --onefile --icon SteamWare.ico IOB-WIN-PSER-TEST.py
|
||||
python -m PyInstaller --onefile --icon SteamWare.ico IOB-WIN-PSER.py
|
||||
|
||||
REM effettua copia delle conf x poter avviare...
|
||||
|
||||
Reference in New Issue
Block a user