runtime/PlcStatus.py
author Edouard Tisserant
Tue, 18 Jun 2019 14:09:23 +0200
changeset 2618 4eca95f91cba
parent 2416 1ca207782dde
permissions -rw-r--r--
Merged workaround for loading bug happening after automatic resize of function blocks. It appears that some code in GraphicCommons.py loop endlessly when wires coordinate do not align with x or y axis. Those erroneous coordinate are now filtered out when loaded in the view.
# -*- coding: utf-8 -*-

# See COPYING.Runtime file for copyrights details.


def _(x):
    """No translation"""
    return x


Broken = _("Broken")
Started = _("Started")
Stopped = _("Stopped")
Disconnected = _("Disconnected")
Empty = _("Empty")