Beispiel #1
0
 def value_text(self):
     value = self.args["value"]
     name = consts.get_const_name(value)
     if name:
         return name + "/" + str(value)
     else:
         return str(value)
Beispiel #2
0
 def comm_name(self):
     return consts.get_const_name(self.args["comm_id"])