diff --git a/bin/config/case.py b/bin/config/case.py index e69de29..5f5c7f3 100644 --- a/bin/config/case.py +++ b/bin/config/case.py @@ -0,0 +1,6 @@ +class CaseAssigner: + def __init__(self): + pass + + def case_chooser(self, budget, path_to_case_info, path_to_selected_components): + pass diff --git a/bin/config/cooler.py b/bin/config/cooler.py index e69de29..22f2475 100644 --- a/bin/config/cooler.py +++ b/bin/config/cooler.py @@ -0,0 +1,6 @@ +class CoolerAssigner: + def __init__(self): + pass + + def cooler_chooser(self, budget, path_to_cooler_info, path_to_selected_components): + pass diff --git a/bin/config/cpu.py b/bin/config/cpu.py index e69de29..f0f3d11 100644 --- a/bin/config/cpu.py +++ b/bin/config/cpu.py @@ -0,0 +1,6 @@ +class CPUAssigner: + def __init__(self): + pass + + def cpu_chooser(self, budget, path_to_cpu_info, usage_info): + pass diff --git a/bin/config/gpu.py b/bin/config/gpu.py index e69de29..b77a1f5 100644 --- a/bin/config/gpu.py +++ b/bin/config/gpu.py @@ -0,0 +1,6 @@ +class GPUAssigner: + def __init__(self): + pass + + def gpu_assigner(self, budget, path_to_gpu_file, uscase_info): + pass diff --git a/bin/config/hdd.py b/bin/config/hdd.py deleted file mode 100644 index e69de29..0000000 diff --git a/bin/config/mbd.py b/bin/config/mbd.py index e69de29..5606f55 100644 --- a/bin/config/mbd.py +++ b/bin/config/mbd.py @@ -0,0 +1,6 @@ +class MBDAssigner: + def __init__(self): + pass + + def mbd_chooser(self, budget, path_to_mbd_info, path_to_selected_components): + pass diff --git a/bin/config/psu.py b/bin/config/psu.py index e69de29..429b351 100644 --- a/bin/config/psu.py +++ b/bin/config/psu.py @@ -0,0 +1,6 @@ +class PSUAssigner: + def __init__(self): + pass + + def psu_chooser(self, budget, path_to_psu_info): + pass \ No newline at end of file diff --git a/bin/config/ssd.py b/bin/config/ssd.py deleted file mode 100644 index e69de29..0000000 diff --git a/bin/config/storage.py b/bin/config/storage.py new file mode 100644 index 0000000..66f46b6 --- /dev/null +++ b/bin/config/storage.py @@ -0,0 +1,6 @@ +class StorageAssigner: + def __init__(self): + pass + + def storage(self, budget, storage_amount, storage_config, path_to_storage_file): + pass diff --git a/bin/modules/configurator.py b/bin/modules/configurator.py index 868cf7b..33afdce 100644 --- a/bin/modules/configurator.py +++ b/bin/modules/configurator.py @@ -3,6 +3,12 @@ This module configures PCs but relies heavily on external modules that are inclu """ import bin.lib.csv_parsers import bin.config.os +import bin.config.psu +import bin.config.storage +import bin.config.cpu +import bin.config.gpu +import bin.config.mbd +import bin.config.cooler import bin.config.case @@ -16,8 +22,25 @@ class ConfigCreator: self.__budget = 0 self.__os_choice = "" self.__os_path = "" + self.__psu_path = "" + self.__config = "" + self.__storage_path = "" + self.__cpu_path = "" + self.__gpu_path = "" + self.__mbd_path = "" + self.__cooler_path = "" + self.__case_path = "" + self.__storage_amount = 0 + self.__storage_config = [] + self.__usage_infos = [] def start_config(self, path): self.__info_import = cvr.importing(path) self.__budget = bin.config.os.OSAssigner().os_chooser(self.__budget, self.__os_choice, self.__os_path) - self.__budget = bin.config.case + self.__budget = bin.config.psu.PSUAssigner().psu_chooser(self.__budget, self.__psu_path) + self.__budget = bin.config.storage.StorageAssigner().storage(self.__budget, self.__storage_amount, self.__storage_config, self.__storage_path) + self.__budget = bin.config.cpu.CPUAssigner().cpu_chooser(self.__budget, self.__cpu_path, self.__usage_infos) + self.__budget = bin.config.gpu.GPUAssigner().gpu_assigner(self.__budget, self.__gpu_path, self.__usage_infos) + self.__budget = bin.config.mbd.MBDAssigner().mbd_chooser(self.__budget, self.__mbd_path, self.__config) + self.__budget = bin.config.cooler.CoolerAssigner().cooler_chooser(self.__budget, self.__cooler_path, self.__config) + self.__budget = bin.config.case.CaseAssigner().case_chooser(self.__budget, self.__case_path, self.__config)