beremiz

Parents 3638463d6e02
Children 474de7fdcfd9
temporary disable SFC transitions in IL, because matiec can't compile it

matiec freezes in this case.
See https://bitbucket.org/mjsousa/matiec/issues/58/iec2c-freezes-if-sfc-transition-is-in-il
--- a/dialogs/PouTransitionDialog.py Wed Dec 28 16:33:50 2016 +0300
+++ b/dialogs/PouTransitionDialog.py Wed Dec 28 17:10:04 2016 +0300
@@ -32,7 +32,12 @@
def GetTransitionLanguages():
_ = lambda x : x
- return [_("IL"), _("ST"), _("LD"), _("FBD")]
+ #
+ # IL language is temporary disabled because
+ # matiec freezes if transition is written in IL
+ #
+ # return [_("IL"), _("ST"), _("LD"), _("FBD")]
+ return [ _("ST"), _("LD"), _("FBD")]
TRANSITION_LANGUAGES_DICT = dict([(_(language), language) for language in GetTransitionLanguages()])
class PouTransitionDialog(wx.Dialog):