Beispiel #1
0
 def __init__(self):
     self.logger = UserLogger.getlog()
     """当前服务器IP地址"""
     self.public_ip = BusinessUtil.get_public_ip()
     """设置全局变量"""
     global_argument.set_value(self.public_ip)
     self.task_code = None
     self.relId = None
Beispiel #2
0
 def __init__(self):
     self.logger = UserLogger.getlog()
     """当前服务器IP地址"""
     self.public_ip = BusinessUtil.get_public_ip()
     """设置全局变量"""
     global_argument.set_value(self.public_ip)
     """选择消费机制"""
     self.task_choice_pattern = self.public_ip
Beispiel #3
0
    def __init__(self):
        """
		初始化
		"""
        self.logger = UserLogger.getlog()
        """当前服务器IP地址"""
        self.public_ip = BusinessUtil.get_public_ip()
        """设置全局变量"""
        global_argument.set_value(self.public_ip)