示例#1
0
文件: plcTag.py 项目: rafopar/epics
 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)
示例#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)
示例#3
0
文件: plcTag.py 项目: rafopar/epics
 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)
示例#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)