2023-01-26 06:35:55 -05:00
|
|
|
"""
|
|
|
|
Dictionaries module saves all transformations of functions and usages to access the catalogs
|
|
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
|
|
Copyright © 2022 Concordia CERC group
|
|
|
|
Project Coder Pilar Monsalvete Alvarez de Uribarri pilar.monsalvete@concordia.ca
|
|
|
|
"""
|
|
|
|
|
2023-02-06 06:29:21 -05:00
|
|
|
from hub.helpers.data.hft_function_to_hub_function import HftFunctionToHubFunction
|
|
|
|
from hub.helpers.data.montreal_function_to_hub_function import MontrealFunctionToHubFunction
|
|
|
|
from hub.helpers.data.alkis_function_to_hub_function import AlkisFunctionToHubFunction
|
|
|
|
from hub.helpers.data.pluto_function_to_hub_function import PlutoFunctionToHubFunction
|
|
|
|
from hub.helpers.data.hub_function_to_nrel_construction_function import HubFunctionToNrelConstructionFunction
|
|
|
|
from hub.helpers.data.hub_function_to_nrcan_construction_function import HubFunctionToNrcanConstructionFunction
|
|
|
|
from hub.helpers.data.hub_usage_to_comnet_usage import HubUsageToComnetUsage
|
|
|
|
from hub.helpers.data.hub_usage_to_hft_usage import HubUsageToHftUsage
|
|
|
|
from hub.helpers.data.hub_usage_to_nrcan_usage import HubUsageToNrcanUsage
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
class Dictionaries:
|
|
|
|
"""
|
|
|
|
Dictionaries class
|
|
|
|
"""
|
|
|
|
|
|
|
|
@property
|
|
|
|
def hub_usage_to_hft_usage(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Hub usage to HfT usage, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return HubUsageToHftUsage.dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
@property
|
|
|
|
def hub_usage_to_comnet_usage(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Hub usage to Comnet usage, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return HubUsageToComnetUsage.dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
@property
|
|
|
|
def hub_usage_to_nrcan_usage(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Get hub usage to NRCAN usage, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return HubUsageToNrcanUsage.dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
@property
|
|
|
|
def hub_function_to_nrcan_construction_function(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Get hub function to NRCAN construction function, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return HubFunctionToNrcanConstructionFunction.dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
@property
|
|
|
|
def hub_function_to_nrel_construction_function(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Get hub function to NREL construction function, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return HubFunctionToNrelConstructionFunction.dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
@property
|
|
|
|
def pluto_function_to_hub_function(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Get Pluto function to hub function, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return PlutoFunctionToHubFunction.dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
|
|
|
|
@property
|
|
|
|
def hft_function_to_hub_function(self):
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
Get Hft function to hub function, transformation dictionary
|
2023-01-26 06:35:55 -05:00
|
|
|
:return: dict
|
|
|
|
"""
|
2023-02-06 06:29:21 -05:00
|
|
|
return HftFunctionToHubFunction.dictionary
|
|
|
|
|
|
|
|
@property
|
|
|
|
def montreal_function_to_hub_function(self):
|
|
|
|
"""
|
|
|
|
Get Montreal function to hub function, transformation dictionary
|
|
|
|
"""
|
|
|
|
return MontrealFunctionToHubFunction.dictionary
|
|
|
|
|
|
|
|
@property
|
|
|
|
def alkis_function_to_hub_function(self):
|
|
|
|
"""
|
|
|
|
Get Alkis function to hub function, transformation dictionary
|
|
|
|
"""
|
|
|
|
return AlkisFunctionToHubFunction.dictionary
|
|
|
|
|