2015-05-22 16:44:23 +02:00
|
|
|
#!/usr/bin/python
|
2015-07-13 10:19:45 +02:00
|
|
|
# -*- coding: UTF-8 -*-
|
2015-05-22 16:44:23 +02:00
|
|
|
|
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
|
2015-05-22 16:44:23 +02:00
|
|
|
config = 0
|
|
|
|
|
script_path = ""
|
2015-06-25 17:10:31 +02:00
|
|
|
log_path = ""
|
2015-05-22 16:44:23 +02:00
|
|
|
|
2015-06-14 20:21:21 +02:00
|
|
|
# double alarm
|
2015-06-28 22:28:21 +02:00
|
|
|
doubleList = []
|
2015-05-22 16:44:23 +02:00
|
|
|
|
2015-06-14 20:21:21 +02:00
|
|
|
# pluginLoader
|
2015-05-23 08:47:05 +02:00
|
|
|
pluginList = {}
|
|
|
|
|
|
2015-06-14 20:21:21 +02:00
|
|
|
# filter
|
2015-06-05 21:49:51 +02:00
|
|
|
filterList = []
|
|
|
|
|
|
2015-06-14 20:21:21 +02:00
|
|
|
# idDescribing
|
2015-06-05 21:49:51 +02:00
|
|
|
fmsDescribtionList = {}
|
|
|
|
|
zveiDescribtionList = {}
|
2015-07-02 07:33:27 +02:00
|
|
|
ricDescribtionList = {}
|
|
|
|
|
|
2015-07-02 07:48:17 +02:00
|
|
|
# returns the version or build date
|
2015-07-02 07:33:27 +02:00
|
|
|
# function -> read only in script
|
|
|
|
|
def getVers(mode="vers"):
|
|
|
|
|
if mode == "vers":
|
2015-07-27 20:55:50 +02:00
|
|
|
return "2.1-dev"
|
2015-07-02 07:33:27 +02:00
|
|
|
elif mode == "date":
|
2015-07-27 20:55:50 +02:00
|
|
|
return "2015/07/27"
|