Erdungskabel und Erdungen werden gesucht und ein Kabellayout erzeugt

This commit is contained in:
2025-06-25 11:14:40 +02:00
parent ee9f1b8dae
commit 371fe6241e
5 changed files with 64 additions and 16 deletions
+1 -1
View File
@@ -609,7 +609,7 @@ def map_sensor_to_cable_cfg(plines):
mapping = config_BMK["Cable-Mapping"]
for pl in plines.kabel:
sensor_name = pl.id.split('-')[-1]
sensor_name = '-'.join(pl.id.split('-')[1:])
cable_length = round(pl.length/1000, 1)
sensor_artinr = pl.s_artinr
name_prefix = sensor_name[:2]