mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-05 06:25:10 +00:00
rename globals to globalVars
to prevent to redifine an builtin function
This commit is contained in:
parent
e8e870849d
commit
f8fcda94b6
30 changed files with 115 additions and 115 deletions
35
exampleAddOns/alarmMonitorRPi/globalData.py
Normal file
35
exampleAddOns/alarmMonitorRPi/globalData.py
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: UTF-8 -*-
|
||||
#
|
||||
|
||||
# configparser (Configparser)
|
||||
config = 0
|
||||
|
||||
# control-params (Boolean)
|
||||
running = True
|
||||
showDisplay = False
|
||||
abort = False
|
||||
|
||||
# color of display-boarder
|
||||
screenBackground = ""
|
||||
|
||||
# navigation = ""
|
||||
navigation = "alarmPage"
|
||||
|
||||
# enable display until (Timestamp)
|
||||
enableDisplayUntil = 0
|
||||
|
||||
# data-structure (Dict)
|
||||
data = {}
|
||||
|
||||
# last alarm shown (Timestamp)
|
||||
lastAlarm = 0
|
||||
|
||||
# alarm history (List)
|
||||
alarmHistory = []
|
||||
|
||||
# statusPage
|
||||
startTime = 0
|
||||
countAlarm = 0
|
||||
countTestAlarm = 0
|
||||
countKeepAlive = 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue