Add paramter to change between main-ric and sub-ric

This commit is contained in:
Lars Gremme 2020-04-22 20:24:54 +02:00
parent 23e7406f48
commit 6912c59785
2 changed files with 8 additions and 0 deletions

View file

@ -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: