beremiz
Clone
Summary
Browse
Changes
Graph
Use static library for Modbus
2018-08-20, Andrey Skvortsov
d1359cbfa28a
Use static library for Modbus
It makes easier deployment of projects with Modbus (similar to BACnet implementation)
#!/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"]