dialogs/PouActionDialog.py
changeset 1739 ec153828ded2
parent 1736 7e61baa047f0
child 1740 b789b695b5c6
equal deleted inserted replaced
1738:d2e979738700 1739:ec153828ded2
    27 
    27 
    28 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
    28 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
    29 
    29 
    30 
    30 
    31 def GetActionLanguages():
    31 def GetActionLanguages():
    32     _ = lambda x : x
    32     _ = lambda x: x
    33     return [_("IL"), _("ST"), _("LD"), _("FBD")]
    33     return [_("IL"), _("ST"), _("LD"), _("FBD")]
    34 ACTION_LANGUAGES_DICT = dict([(_(language), language) for language in GetActionLanguages()])
    34 ACTION_LANGUAGES_DICT = dict([(_(language), language) for language in GetActionLanguages()])
    35 
    35 
    36 
    36 
    37 class PouActionDialog(wx.Dialog):
    37 class PouActionDialog(wx.Dialog):