plugins/canfestival/canfestival.py
changeset 106 9810689febb0
parent 105 434aed8dc58d
child 118 185d0d371ea4
equal deleted inserted replaced
105:434aed8dc58d 106:9810689febb0
   130           <xsd:attribute name="CAN_Driver" type="xsd:string" use="required"/>
   130           <xsd:attribute name="CAN_Driver" type="xsd:string" use="required"/>
   131         </xsd:complexType>
   131         </xsd:complexType>
   132       </xsd:element>
   132       </xsd:element>
   133     </xsd:schema>
   133     </xsd:schema>
   134     """
   134     """
   135     PlugChildsTypes = [("CanOpenNode",_NodeListPlug)]
   135     PlugChildsTypes = [("CanOpenNode",_NodeListPlug, "CanOpen node")]
   136     def GetParamsAttributes(self, path = None):
   136     def GetParamsAttributes(self, path = None):
   137         infos = PlugTemplate.GetParamsAttributes(self, path = None)
   137         infos = PlugTemplate.GetParamsAttributes(self, path = None)
   138         for element in infos:
   138         for element in infos:
   139             if element["name"] == "CanFestivalInstance":                         
   139             if element["name"] == "CanFestivalInstance":                         
   140                 for child in element["children"]:
   140                 for child in element["children"]: