beremiz

Runtime: Fix IEC/ctypes/python3 type mapping

2023-05-22, Edouard Tisserant
6f3e20690172
Runtime: Fix IEC/ctypes/python3 type mapping
#!/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"]