- buildTerminalPhaseMap: Schritt 1b - Leitungen mit expliziter Farbe als Startpunkte (nur Gerät→Gerät, keine Abgänge) - buildTerminalPhaseMap: Block-Durchreichung (Top↔Bottom) entfernt - buildTerminalPhaseMap: Junction-Verbindungen (Terminal→Leitung) bidirektional verarbeitet via _connectionById Index - PWA: Abgangs-Rendering mit Index-Fallback wenn source_terminal_id fehlt - PWA: Abgangs-Labels max-height 130px, min-height 30px - Auto-Naming: EquipmentCarrier create/update → 'R' + count - Auto-Naming: EquipmentPanel update → 'Feld ' + count - pwa_api.php: Hardcoded Fallbacks 'Feld'/'Hutschiene' entfernt - pwa.js: Hutschiene Auto-Naming dynamisch aus Panel-Carrier-Anzahl - kundenkarte.js: Carrier-Dialog Placeholder 'z.B. R1 (automatisch)' - SW Cache auf v12.5 hochgezählt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
1.1 KiB
SQL
Executable file
26 lines
1.1 KiB
SQL
Executable file
-- ============================================================================
|
|
-- Copyright (C) 2026 Alles Watt lauft
|
|
--
|
|
-- Table for equipment carriers (Hutschienen/Traeger)
|
|
-- A carrier belongs to a technical place (Anlage) and has a capacity in TE
|
|
-- ============================================================================
|
|
|
|
CREATE TABLE llx_kundenkarte_equipment_carrier
|
|
(
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
|
entity integer DEFAULT 1 NOT NULL,
|
|
|
|
fk_anlage integer NOT NULL COMMENT 'Technischer Platz (z.B. Unterverteiler, Zaehlerschrank)',
|
|
label varchar(255) NOT NULL COMMENT 'Bezeichnung (z.B. Hutschiene 1, Obere Reihe)',
|
|
|
|
total_te integer DEFAULT 12 NOT NULL COMMENT 'Gesamtkapazitaet in Teilungseinheiten',
|
|
position integer DEFAULT 0 COMMENT 'Reihenfolge der Traeger',
|
|
|
|
note_private text,
|
|
status tinyint DEFAULT 1 NOT NULL,
|
|
|
|
date_creation datetime,
|
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
fk_user_creat integer,
|
|
fk_user_modif integer
|
|
) ENGINE=innodb;
|