g3projects 0.2.8__tar.gz → 0.2.9__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.
- {g3projects-0.2.8 → g3projects-0.2.9}/PKG-INFO +3 -2
- {g3projects-0.2.8 → g3projects-0.2.9}/pyproject.toml +1 -1
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/_physical.py +1 -2
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects.egg-info/PKG-INFO +3 -2
- {g3projects-0.2.8 → g3projects-0.2.9}/LICENCE +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/README.md +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/setup.cfg +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/__init__.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/__init__.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/_logical.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/ansic_prg.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/autogenerated_block.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/config_txt.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/main_c.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/main_c_system.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/package_pkg_logical.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/package_pkg_project.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/package_pkg_system.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/variables_var.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/variables_var_system.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/main/__init__.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/main/_main.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/__init__.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/config_pkg.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/config_sfdomain.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/cpu_pkg.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/hardware_hw.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/iomap_iom.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/physical_pkg.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/physical/templates/zone_sw.tpl +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/py.typed +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/utils/__init__.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/utils/_utils.py +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects.egg-info/SOURCES.txt +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects.egg-info/dependency_links.txt +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects.egg-info/entry_points.txt +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects.egg-info/requires.txt +0 -0
- {g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: g3projects
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.9
|
|
4
4
|
Summary: System G3 Project PLC files generator
|
|
5
5
|
Author: Elektroline a.s.
|
|
6
6
|
Project-URL: Homepage, https://gitlab.elektroline.cz/plc/systemg3-py/SystemG3ProjectBuilder
|
|
@@ -15,6 +15,7 @@ Requires-Dist: g3core
|
|
|
15
15
|
Requires-Dist: g3elements
|
|
16
16
|
Requires-Dist: g3hardware
|
|
17
17
|
Requires-Dist: g3tables
|
|
18
|
+
Dynamic: license-file
|
|
18
19
|
|
|
19
20
|
# System G3 Project PLC files generator
|
|
20
21
|
|
|
@@ -58,8 +58,7 @@ def get_hardware_module_name(module_type: str, config_hw: list[dict]) -> str:
|
|
|
58
58
|
module_type_lower = module_type.lower()
|
|
59
59
|
for isle in config_hw:
|
|
60
60
|
if module_type_lower in isle['head']['type'].lower():
|
|
61
|
-
|
|
62
|
-
return f"{head['type']}_{head['cabinet']}_{head['name_suffix']}"
|
|
61
|
+
return f'CPU'
|
|
63
62
|
raise ValueError(f'Module "{module_type}" data was not found')
|
|
64
63
|
|
|
65
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: g3projects
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.9
|
|
4
4
|
Summary: System G3 Project PLC files generator
|
|
5
5
|
Author: Elektroline a.s.
|
|
6
6
|
Project-URL: Homepage, https://gitlab.elektroline.cz/plc/systemg3-py/SystemG3ProjectBuilder
|
|
@@ -15,6 +15,7 @@ Requires-Dist: g3core
|
|
|
15
15
|
Requires-Dist: g3elements
|
|
16
16
|
Requires-Dist: g3hardware
|
|
17
17
|
Requires-Dist: g3tables
|
|
18
|
+
Dynamic: license-file
|
|
18
19
|
|
|
19
20
|
# System G3 Project PLC files generator
|
|
20
21
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/autogenerated_block.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/package_pkg_logical.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/package_pkg_project.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.8 → g3projects-0.2.9}/src/g3projects/logical/templates/package_pkg_system.tpl
RENAMED
|
File without changes
|
|
File without changes
|
{g3projects-0.2.8 → g3projects-0.2.9}/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
|