BOSWatch/includes/globals.py

37 lines
541 B
Python
Raw Normal View History

#!/usr/bin/python
# -*- coding: cp1252 -*-
2015-05-27 07:48:24 +02:00
"""
Global variables
2015-05-31 12:40:43 +02:00
@author: Jens Herrmann
2015-05-27 07:48:24 +02:00
@author: Bastian Schroll
"""
2015-06-14 20:21:21 +02:00
# Global variables
config = 0
script_path = ""
log_path = ""
2015-06-14 20:21:21 +02:00
# double alarm
doubleList = []
2015-06-14 20:21:21 +02:00
# pluginLoader
pluginList = {}
2015-06-14 20:21:21 +02:00
# filter
filterList = []
2015-06-14 20:21:21 +02:00
# idDescribing
fmsDescribtionList = {}
zveiDescribtionList = {}
ricDescribtionList = {}
2015-07-02 07:48:17 +02:00
# returns the version or build date
# function -> read only in script
def getVers(mode="vers"):
if mode == "vers":
return "2.0-RC"
elif mode == "date":
2015-07-06 10:36:35 +02:00
return " 2015/07/06"