beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: Extend widget labels parsing to allow expressing widget's accepted types in labels
svghmi
2021-05-03, Edouard Tisserant
e4e27c4efb96
SVGHMI: Extend widget labels parsing to allow expressing widget's accepted types in labels
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]