ProjectController.py
changeset 1517 30692ab8b5c7
parent 1515 da8bf5aa275f
child 1524 70fc5688741e
equal deleted inserted replaced
1516:9db0b436fbb3 1517:30692ab8b5c7
   851                             attrs["C_path"] = '__'.join(parts[1:])
   851                             attrs["C_path"] = '__'.join(parts[1:])
   852                     else:
   852                     else:
   853                         attrs["C_path"] = '__'.join(parts)
   853                         attrs["C_path"] = '__'.join(parts)
   854                         if attrs["vartype"] == "FB":
   854                         if attrs["vartype"] == "FB":
   855                             config_FBs[tuple(parts)] = attrs["C_path"]
   855                             config_FBs[tuple(parts)] = attrs["C_path"]
   856                     if attrs["vartype"] != "FB":
   856                     if attrs["vartype"] != "FB" and attrs["type"] in DebugTypesSize:
   857                         # Push this dictionnary into result.
   857                         # Push this dictionnary into result.
   858                         self._DbgVariablesList.append(attrs)
   858                         self._DbgVariablesList.append(attrs)
   859                         # Fill in IEC<->C translation dicts
   859                         # Fill in IEC<->C translation dicts
   860                         IEC_path=attrs["IEC_path"]
   860                         IEC_path=attrs["IEC_path"]
   861                         self._IECPathToIdx[IEC_path]=(Idx, attrs["type"])
   861                         self._IECPathToIdx[IEC_path]=(Idx, attrs["type"])