diff -r 24db1e592e20 -r e40f3914e55f etherlab/ConfigEditor.py --- a/etherlab/ConfigEditor.py Fri Sep 28 19:25:18 2018 +0300 +++ b/etherlab/ConfigEditor.py Fri Sep 28 19:30:16 2018 +0300 @@ -45,6 +45,7 @@ colname.append(_("Position")) return colname + [_("Name"), _("Index"), _("SubIndex"), _("Type"), _("Access")] + ACCESS_TYPES = { 'ro': 'R', 'wo': 'W', @@ -57,6 +58,7 @@ value += ", PDO: %s" % pdo_mapping return value + VARIABLES_FILTERS = [ (_("All"), (0x0000, 0xffff)), (_("Communication Parameters"), (0x1000, 0x1fff)), @@ -328,6 +330,7 @@ event.Skip() # ------------------------------------------------------------------------------------------------------- + CIA402NodeEditor = NodeEditor @@ -595,6 +598,7 @@ entries = self.Controler.GetNodesVariables(**args) self.RefreshVariablesGrid(entries) + NODE_POSITION_FILTER_FORMAT = _("Node Position: %d")