mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
Add paramter to change between main-ric and sub-ric
This commit is contained in:
parent
23e7406f48
commit
6912c59785
|
|
@ -103,6 +103,11 @@ filter_range_end = 9999999
|
|||
# descriptions are loaded from csv/poc.csv
|
||||
idDescribed = 0
|
||||
|
||||
# Main-RIC with Subric (0 - off)
|
||||
# Only Sub-RIC (1 - on)
|
||||
# descriptions are loaded from csv/poc.csv
|
||||
onlysubric = 0
|
||||
|
||||
# Static Massages for Subrics.
|
||||
rica = Feuer
|
||||
ricb = TH
|
||||
|
|
|
|||
|
|
@ -110,6 +110,9 @@ def getDescription(typ, data):
|
|||
elif typ == "ZVEI":
|
||||
resultStr = zveiDescribtionList[data]
|
||||
elif typ == "POC":
|
||||
if globalVars.config.getint("POC", "onlysubric"):
|
||||
resultStr = ricDescribtionList[data] # only SubRIC
|
||||
else:
|
||||
resultStr = ricDescribtionList[data[:-1]] # MainRIC
|
||||
resultStr += " " + ricDescribtionList[data] # SubRIC
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue