g3projects 0.2.5__tar.gz → 0.2.7__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.5 → g3projects-0.2.7}/PKG-INFO +1 -1
- {g3projects-0.2.5 → g3projects-0.2.7}/pyproject.toml +1 -1
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/main/_main.py +3 -3
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/_physical.py +2 -1
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects.egg-info/PKG-INFO +1 -1
- {g3projects-0.2.5 → g3projects-0.2.7}/LICENCE +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/README.md +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/setup.cfg +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/__init__.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/__init__.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/_logical.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/ansic_prg.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/autogenerated_block.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/config_txt.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/main_c.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/main_c_system.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/package_pkg_logical.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/package_pkg_project.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/package_pkg_system.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/variables_var.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/variables_var_system.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/main/__init__.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/__init__.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/config_pkg.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/config_sfdomain.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/cpu_pkg.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/hardware_hw.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/iomap_iom.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/physical_pkg.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/physical/templates/zone_sw.tpl +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/py.typed +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/utils/__init__.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/utils/_utils.py +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects.egg-info/SOURCES.txt +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects.egg-info/dependency_links.txt +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects.egg-info/entry_points.txt +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects.egg-info/requires.txt +0 -0
- {g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects.egg-info/top_level.txt +0 -0
|
@@ -49,19 +49,19 @@ def parse_arguments() -> argparse.Namespace:
|
|
|
49
49
|
parser.add_argument(
|
|
50
50
|
"--ftp1-pswd-hash",
|
|
51
51
|
type=str,
|
|
52
|
-
required=
|
|
52
|
+
required=True,
|
|
53
53
|
help="'ftp' user password hash for PLC FTP server",
|
|
54
54
|
)
|
|
55
55
|
parser.add_argument(
|
|
56
56
|
"--ftp2-pswd-hash",
|
|
57
57
|
type=str,
|
|
58
|
-
required=
|
|
58
|
+
required=True,
|
|
59
59
|
help="'ellmaster' user password hash for PLC FTP server",
|
|
60
60
|
)
|
|
61
61
|
parser.add_argument(
|
|
62
62
|
"--sfdomain_pswd_hash",
|
|
63
63
|
type=str,
|
|
64
|
-
required=
|
|
64
|
+
required=True,
|
|
65
65
|
help="SafeDomain password hash",
|
|
66
66
|
)
|
|
67
67
|
parser.add_argument(
|
|
@@ -129,6 +129,7 @@ def generate_hardware_hw_contents(
|
|
|
129
129
|
}
|
|
130
130
|
if not (hw_isle := create_hw_isles(config_hw, **kwargs)):
|
|
131
131
|
return ''
|
|
132
|
+
|
|
132
133
|
return hw_isle.to_str()
|
|
133
134
|
|
|
134
135
|
|
|
@@ -145,7 +146,7 @@ def generate_iomap_iom_contents(system: SWSystemDictWrapper) -> list[str]:
|
|
|
145
146
|
if 'control' in device_data:
|
|
146
147
|
if 'config' in device_data['control']:
|
|
147
148
|
if 'name' in device_data['control']['config']:
|
|
148
|
-
if 'SystemSafety' in device_data['control']['config']['name']:
|
|
149
|
+
if 'SystemSafety' or 'systemSafety' in device_data['control']['config']['name']:
|
|
149
150
|
for key, value in device_data['control'].get('iomap', {}).items():
|
|
150
151
|
device_varname = system.get_device_varname(device_data)
|
|
151
152
|
device = f'fb{device_varname}'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/autogenerated_block.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/package_pkg_logical.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/package_pkg_project.tpl
RENAMED
|
File without changes
|
{g3projects-0.2.5 → g3projects-0.2.7}/src/g3projects/logical/templates/package_pkg_system.tpl
RENAMED
|
File without changes
|
|
File without changes
|
{g3projects-0.2.5 → g3projects-0.2.7}/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
|