graphics/FBD_Objects.py
changeset 388 7ea1f5094df3
parent 383 25ffba02b6a8
child 526 79900abdfa3c
equal deleted inserted replaced
387:fcae4e40f296 388:7ea1f5094df3
   814     # Returns the connection type
   814     # Returns the connection type
   815     def GetType(self):
   815     def GetType(self):
   816         return self.Type
   816         return self.Type
   817     
   817     
   818     def GetConnectionResultType(self, connector, connectortype):
   818     def GetConnectionResultType(self, connector, connectortype):
       
   819         if self.Type == CONTINUATION:
       
   820             connector = self.Parent.GetConnectorByName(self.Name)
       
   821             if connector is not None:
       
   822                 return connector.Connector.GetConnectedType()
   819         return connectortype
   823         return connectortype
   820     
   824     
   821     # Changes the connection name
   825     # Changes the connection name
   822     def SetName(self, name):
   826     def SetName(self, name):
   823         self.Name = name
   827         self.Name = name