beremiz
Clone
Summary
Browse
Changes
Graph
PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
svghmi
2019-09-18, Edouard Tisserant
cdf23b10b8f7
PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
#!/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"]