def load_extended_params(): """load extended params""" ext_params_ok = True # extern tools ext_params_ok = lib_cm.params_provide_server_settings(ac, db) if ext_params_ok is None: return None lib_cm.set_server(ac, db) # Times db.ac_config_times = db.params_load_1a(ac, db, "PO_Time_Config_1") if db.ac_config_times is not None: # Erweiterte Paramsliste anlegen app_params_type_list_times = [] # Erweiterte Params-Type-List, # Typ entsprechend der Params-Liste in der Config app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") # check extend. params param_check_times = lib_cm.params_check_a(ac, db, 8, app_params_type_list_times, db.ac_config_times) if param_check_times is None: db.write_log_to_db_a(ac, ac.app_errorslist[2], "x", "write_also_to_console") return None return ext_params_ok
def load_extended_params(): """load extended params""" ext_params_ok = True # extern tools ext_params_ok = lib_cm.params_provide_server_settings(ac, db) if ext_params_ok is None: return None lib_cm.set_server(ac, db) # Times db.ac_config_times = db.params_load_1a(ac, db, "PO_Time_Config_1") if db.ac_config_times is not None: # Erweiterte Paramsliste anlegen app_params_type_list_times = [] # Erweiterte Params-Type-List, # Typ entsprechend der Params-Liste in der Config app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") # check extend. params param_check_times = lib_cm.params_check_a( ac, db, 8, app_params_type_list_times, db.ac_config_times) if param_check_times is None: db.write_log_to_db_a(ac, ac.app_errorslist[2], "x", "write_also_to_console") return None return ext_params_ok
def load_extended_params(): """load extended params""" # Times ext_params_ok = True db.ac_config_times = db.params_load_1a(ac, db, "PO_Time_Config_1") if db.ac_config_times is not None: # create extended Paramslist app_params_type_list_times = [] # Types of extended-List app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") app_params_type_list_times.append("p_string") # check extended Params param_check_time_config = lib_cm.params_check_a( ac, db, 8, app_params_type_list_times, db.ac_config_times) if param_check_time_config is None: db.write_log_to_db_a(ac, ac.app_errorslist[1], "x", "write_also_to_console") ext_params_ok = None else: ext_params_ok = None return ext_params_ok
def load_extended_params(): """load extended params""" ext_params_ok = True # protocol-params db.ac_config_protocol = db.params_load_1a( ac, db, "PO_Protokoll_Config") if db.ac_config_protocol is not None: # Erweiterte Paramsliste anlegen app_params_type_list = [] # Erweiterte Params-Type-List, # Typ entsprechend der Params-Liste in der Config app_params_type_list.append("p_string") app_params_type_list.append("p_string") app_params_type_list.append("p_string") app_params_type_list.append("p_int") app_params_type_list.append("p_int") app_params_type_list.append("p_string") app_params_type_list.append("p_string") app_params_type_list.append("p_int") # Erweiterte Params pruefen param_check_times = lib_cm.params_check_a( ac, db, 7, app_params_type_list, db.ac_config_protocol) if param_check_times is None: db.write_log_to_db_a(ac, ac.app_errorslist[3], "x", "write_also_to_console") return None # extern tools ext_params_ok = lib_cm.params_provide_tools(ac, db) if ext_params_ok is None: return None ext_params_ok = lib_cm.params_provide_server_settings(ac, db) if ext_params_ok is None: return None lib_cm.set_server(ac, db) ext_params_ok = lib_cm.params_provide_server_paths_a(ac, db, ac.server_active) if ext_params_ok is None: return None ext_params_ok = lib_cm.params_provide_server_paths_b(ac, db, ac.server_active) return ext_params_ok
def load_extended_params(): """load extended params""" ext_params_ok = True # protocol-params db.ac_config_protocol = db.params_load_1a(ac, db, "PO_Protokoll_Config") if db.ac_config_protocol is not None: # Erweiterte Paramsliste anlegen app_params_type_list = [] # Erweiterte Params-Type-List, # Typ entsprechend der Params-Liste in der Config app_params_type_list.append("p_string") app_params_type_list.append("p_string") app_params_type_list.append("p_string") app_params_type_list.append("p_int") app_params_type_list.append("p_int") app_params_type_list.append("p_string") app_params_type_list.append("p_string") app_params_type_list.append("p_int") # Erweiterte Params pruefen param_check_times = lib_cm.params_check_a(ac, db, 7, app_params_type_list, db.ac_config_protocol) if param_check_times is None: db.write_log_to_db_a(ac, ac.app_errorslist[3], "x", "write_also_to_console") return None # extern tools ext_params_ok = lib_cm.params_provide_tools(ac, db) if ext_params_ok is None: return None ext_params_ok = lib_cm.params_provide_server_settings(ac, db) if ext_params_ok is None: return None lib_cm.set_server(ac, db) ext_params_ok = lib_cm.params_provide_server_paths_a( ac, db, ac.server_active) if ext_params_ok is None: return None ext_params_ok = lib_cm.params_provide_server_paths_b( ac, db, ac.server_active) return ext_params_ok