Exemplo n.º 1
0
 def __init__(self):
     log.debug("我是ClassInfoWJ的构造方法,只要发一份问卷,我就会执行一次")
     ClassInfoWJ.__total_counter += 1
Exemplo n.º 2
0
 def get_name(self, name, desc=None):
     # 实例变量
     self.name = name
     self.name_desc = desc
     debug("姓名(%s)控件收到了值: %s" % (self.name_desc, self.name))
Exemplo n.º 3
0
 def get_email(self, email, desc=None):
     self.email = email
     self.email_desc = desc
     debug("邮件(%s)控件收到了值:  %s" % (self.email_desc, self.email))
Exemplo n.º 4
0
 def get_address(self, address, desc=None):
     self.address = address
     self.address_desc = desc
     debug("地址(%s)控件收到了值:  %s" % (self.address_desc, self.address))
Exemplo n.º 5
0
 def get_tel(self, tel, desc=None):
     self.tel = tel
     self.tel_desc = desc
     debug("电话(%s)控件收到了值:  %s" % (self.tel_desc, self.tel))