Esempio n. 1
0
 def __str__(self):
     retString = "<{0}>".format(self.name)
     if (self.scalar != None):
         retString += "Has scalar tag <{0}>".format(self.path) + "\n"
     if (self.array != None):
         retString += "Has array tag <{0}>".format(self.path) + "\n"
     return retString + plcElementXML.__repr__(self)
Esempio n. 2
0
 def __str__(self):
     retString = "<{0}>".format(self.name)
     if self.scalar != None:
         retString += "Has scalar tag <{0}>".format(self.path) + "\n"
     if self.array != None:
         retString += "Has array tag <{0}>".format(self.path) + "\n"
     return retString + plcElementXML.__repr__(self)
Esempio n. 3
0
 def __str__(self):
     retString = "<{0}> ".format(self.name)
     if (self.scalar != None):
         retString += "Has scalar tag <{0}> of type {1}".format(
             self.path, self.scalar.type) + "\n"
     return retString + plcElementXML.__repr__(self)
Esempio n. 4
0
 def __str__(self):
     retString = "<{0}> ".format(self.name)
     if self.scalar != None:
         retString += "Has scalar tag <{0}> of type {1}".format(self.path, self.scalar.type) + "\n"
     return retString + plcElementXML.__repr__(self)