def get_name(self, name, desc=None): self.name = name self.name_desc = desc debug("姓名(%s)控件收到的值: %s" % (self.name_desc, self.name))
def get_address(self, address, desc=None): self.address = address self.address_desc = desc debug("地址(%s)控件收到的值: %s" % (self.address_desc, self.address))
def get_tel(self, tel, desc=None): self.tel = tel self.tel_desc = desc debug("电话(%s)控件收到的值: %s" % (self.tel_desc, self.tel))
def get_email(self, email, desc=None): self.email = email self.email_desc = desc debug("邮件(%s)控件收到的值: %s" % (self.email_desc, self.email))
def __init__(self): log.debug("我是ClassInfoWJ的构造方法,只要发放一次,我就会执行一次") ClassInfoWJ.__total_counter += 1