g3projects 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of g3projects might be problematic. Click here for more details.
- {g3projects-0.2.0 → g3projects-0.2.1}/PKG-INFO +1 -1
- {g3projects-0.2.0 → g3projects-0.2.1}/pyproject.toml +1 -1
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/_physical.py +10 -4
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects.egg-info/PKG-INFO +1 -1
- {g3projects-0.2.0 → g3projects-0.2.1}/LICENCE +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/README.md +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/setup.cfg +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/__init__.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/__init__.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/_logical.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/ansic_prg.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/autogenerated_block.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/config_txt.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/main_c.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/main_c_system.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/package_pkg_logical.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/package_pkg_project.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/package_pkg_system.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/variables_var.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/variables_var_system.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/main/__init__.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/main/_main.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/__init__.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/config_pkg.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/config_sfdomain.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/cpu_pkg.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/hardware_hw.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/iomap_iom.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/physical_pkg.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/physical/templates/zone_sw.tpl +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/py.typed +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/utils/__init__.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/utils/_utils.py +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects.egg-info/SOURCES.txt +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects.egg-info/dependency_links.txt +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects.egg-info/entry_points.txt +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects.egg-info/requires.txt +0 -0
- {g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects.egg-info/top_level.txt +0 -0
|
@@ -121,11 +121,17 @@ def generate_hardware_hw_contents(
|
|
|
121
121
|
if not (hw_isle := create_hw_isles(config_hw)):
|
|
122
122
|
return ''
|
|
123
123
|
contents = hw_isle.to_str()
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
CP1584_NAME=cp1584_name
|
|
124
|
+
assert isinstance(contents, str)
|
|
125
|
+
contents_formatted = contents.replace(
|
|
126
|
+
r'{{ cpuname }}', cp1584_name
|
|
128
127
|
)
|
|
128
|
+
contents_formatted = contents_formatted.replace(
|
|
129
|
+
r'{{ cpuhostname }}', f'{system_name}_plc'
|
|
130
|
+
)
|
|
131
|
+
contents_formatted = contents_formatted.replace(
|
|
132
|
+
r'{{ cpuconfigurationid }}', f'cfg_{system_name}'
|
|
133
|
+
)
|
|
134
|
+
return contents_formatted
|
|
129
135
|
|
|
130
136
|
# END Hardware.hw #
|
|
131
137
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/autogenerated_block.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/package_pkg_logical.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/package_pkg_project.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/package_pkg_system.tpl
RENAMED
|
File without changes
|
|
File without changes
|
{g3projects-0.2.0 → g3projects-0.2.1}/src/g3projects/logical/templates/variables_var_system.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|