temporary disable SFC transitions in IL, because matiec can't compile it
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 28 Dec 2016 17:10:04 +0300
changeset 1617 3f3d97be9a9f
parent 1616 3638463d6e02
child 1618 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
dialogs/PouTransitionDialog.py
--- 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):