controls/DebugVariablePanel/DebugVariableViewer.py
changeset 1207 fb9799a0c0f7
parent 1206 35046bc74554
child 1209 953a8f14040a
equal deleted inserted replaced
1206:35046bc74554 1207:fb9799a0c0f7
   133         Return if list of items displayed by Viewer is empty
   133         Return if list of items displayed by Viewer is empty
   134         @return: True if list is empty
   134         @return: True if list is empty
   135         """
   135         """
   136         return len(self.Items) == 0
   136         return len(self.Items) == 0
   137     
   137     
   138     def UnsubscribeObsoleteData(self):
   138     def SubscribeAllDataConsumers(self):
   139         """
   139         """
   140         Function that unsubscribe and remove every item that store values of
   140         Function that unsubscribe and remove every item that store values of
   141         a variable that doesn't exist in PLC anymore
   141         a variable that doesn't exist in PLC anymore
   142         """
   142         """
   143         for item in self.ItemsDict.values()[:]:
   143         for item in self.ItemsDict.values()[:]: