2657117c24
get_type_of_name_cfg als Config-basierte Methode statt hardcode geschrieben. map_sensor_to_cable_cfg als config basierte methode mitsamt kürzung de Kabel, etc.. Erstellung von Betriebsmittelkennzeichner Config.
38 lines
1.2 KiB
INI
38 lines
1.2 KiB
INI
# Konfigurationsdatei, welche das Einlesen / Ignorieren bestimmter Blöcke anhand der Betriebsmittelkennzeichnung (BMK) steuert
|
|
# Configuration file that controls the reading / ignoring of certain blocks based on the equipment identification (BMK)
|
|
|
|
|
|
# Prefixes, that should be included in Routing-Process
|
|
[Routing-Include]
|
|
MA # Motor
|
|
MB # Ventil
|
|
QM # Ventil
|
|
BG # Stauesensor
|
|
BP # Duckluftschalter
|
|
BX # Scanner
|
|
|
|
# Prefixes, that should be ignored in Routing-Process
|
|
[Routing-Ignore]
|
|
FC # Motorschutzschalter
|
|
PF # Leuchtmelder
|
|
DI # Feedback von Gerät
|
|
QA # Hauptschütz
|
|
SF # Drucktaster an Schaltschrank
|
|
|
|
|
|
# Mapping of Equipment-Prefixes to Cable Types found in kabel.cfg
|
|
[Cable-Mapping]
|
|
# Format: PREFIX = Cabel-Sekcion[, Section2, ...]
|
|
MA = MA
|
|
MB = WD_Q
|
|
QM = WD_Q
|
|
BG = WD_I
|
|
BG-829422026 = WD_I-829422026 # Spezialfall für Sensor mit ArtiNr: 829422026
|
|
BG-720002003 = WD_I-720002003 # Spezialfall für Sensor mit ArtiNr: 720002003
|
|
BX = WF_B, WD_I # Scanner mit zwei benötigten Kabeln
|
|
|
|
|
|
# Adjustment of Cable-Lenght's due to for example existing connection cables on sensor
|
|
[Length-Adjustments]
|
|
# Format: PREFIX = Length (m) to subtract
|
|
BX = 4 |