823dc6728d
Lisp/vf_core.lsp: fuenf eigene Menue-Wrapper (LinienzugVarioFoerdererManuell/-Zielhoehe/-Stueckweise, QcLinieMitGf/-UForm) ersetzen den alten interaktiven Modus-Dialog; vfc-dialog-linienzug-modus-waehlen entfaellt. dcl/vf_linienzug_wizard.dcl + Lisp/vf_linienzug.lsp: "Neue Linie BIS Kettenende" ist kein Radio mehr, sondern eigener Button "OK und Abschliessen" neben "Ok Weiter"; GF-Optionen stehen vor VF-Optionen. Menue (SSG_LIB.mnu/.cui), lang/*.json, doc/kommandos.md, doc/lisp_methods.md, doc/faq.md nachgezogen. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
172 lines
4.8 KiB
Plaintext
172 lines
4.8 KiB
Plaintext
// ============================================================
|
|
// variofoerderer.dcl - VarioFoerderer Parameter-Eingabe
|
|
// Dialoge fuer c:VarioFoerderer (vf_core.lsp):
|
|
// vfc_typ: Anlagen-Typ waehlen (Standard/Etage/Linienzug) - ersetzt die
|
|
// Konsolen-Liste am Befehlsanfang. Radio-Buttons statt Dropdown, daher
|
|
// Labels FEST auf Deutsch.
|
|
// variofoerderer_basis/variofoerderer_winkel: Werteingabe fuer den
|
|
// Standardfall (anlage-typ "standard"): deltaL, deltaH, Foerderrichtung,
|
|
// Einfuegehoehe, Fahrtrichtung, Seite, Winkel, GF-Verteilung.
|
|
// Die 3D-Linie-Eingabe (Modus "3D-Linie"), der Etage-Typ und die
|
|
// Linienzug-Kette selbst bleiben interaktiv (Kommandozeile bzw. eigener
|
|
// Wizard in vf_linienzug_wizard.dcl). Der Linienzug-Modus (1/2/3/4/5) wird
|
|
// seit den Menue-Wrappern c:LinienzugVarioFoerderer*/c:QcLinieMitGf* nicht
|
|
// mehr per Dialog erfragt, sondern ist je Menuepunkt fest vorbelegt - der
|
|
// frueher hier gefuehrte Dialog vfc_linienzug_modus ist dadurch entfallen.
|
|
// ============================================================
|
|
|
|
// Anlagen-Typ waehlen (Standard/Etage/Linienzug). Radio-Buttons statt
|
|
// Dropdown - alle Optionen sofort sichtbar. WICHTIG: Labels sind hier FEST
|
|
// einprogrammiert (Deutsch) und NICHT wie bei popup_list zur Laufzeit aus
|
|
// ssg-text befuellbar (set_tile kann das Label eines radio_button nicht
|
|
// setzen, nur den Zustand - siehe auch dcl/vfl_edit_modus.dcl). Bei
|
|
// aktivem Englisch (DXFM_LANG=en_GB) faellt vfc-dialog-typ-waehlen in
|
|
// vf_core.lsp automatisch auf die alte, vollstaendig uebersetzte
|
|
// Konsolen-Liste zurueck (siehe dortiger Kommentar).
|
|
vfc_typ : dialog {
|
|
label = "VarioFoerderer - Anlagen-Typ";
|
|
|
|
: boxed_radio_column {
|
|
label = "Anlagen-Typ waehlen:";
|
|
key = "typ";
|
|
|
|
: radio_button {
|
|
key = "typ_standard";
|
|
label = "Standard VarioFoerderer (AS/ES 90 Grad, horizontal versetzt)";
|
|
value = "1";
|
|
}
|
|
: radio_button {
|
|
key = "typ_etage";
|
|
label = "Etage VarioFoerderer (AS/ES 30 Grad, direkt uebereinander)";
|
|
}
|
|
: radio_button {
|
|
key = "typ_linienzug";
|
|
label = "Streckengruppe (gemischte GF/VF-Kette)";
|
|
}
|
|
}
|
|
|
|
// 3-Button-Zeile wie im Linienzug-Wizard (dcl/vf_linienzug_wizard.dcl):
|
|
// Zurueck(2)/Ok Weiter(1)/Abbrechen(0). "Zurueck" hat hier nichts, wohin es
|
|
// zurueckspringen koennte (erste Frage der gesamten Anlage) - vf_core.lsp
|
|
// zeigt in diesem Fall einfach denselben Dialog erneut.
|
|
: row {
|
|
alignment = centered;
|
|
: button { key = "back"; label = "Zurueck"; fixed_width = true; width = 12; }
|
|
spacer;
|
|
: button { key = "accept"; label = "Ok Weiter"; is_default = true; fixed_width = true; width = 12; }
|
|
spacer;
|
|
: button { key = "cancel"; label = "Abbrechen"; is_cancel = true; fixed_width = true; width = 12; }
|
|
}
|
|
}
|
|
|
|
variofoerderer_basis : dialog {
|
|
label = "VarioFoerderer (Standard) - Eingabe";
|
|
|
|
: column {
|
|
|
|
: boxed_column {
|
|
label = "Geometrie";
|
|
|
|
: row {
|
|
: edit_box {
|
|
key = "deltal";
|
|
label = "Horizontale Distanz deltaL (mm):";
|
|
edit_width = 10;
|
|
}
|
|
: edit_box {
|
|
key = "deltah";
|
|
label = "Hoehenunterschied deltaH (mm):";
|
|
edit_width = 10;
|
|
}
|
|
}
|
|
|
|
: row {
|
|
: popup_list {
|
|
key = "richtung";
|
|
label = "Foerderrichtung:";
|
|
width = 16;
|
|
}
|
|
: edit_box {
|
|
key = "einfuegehoehe";
|
|
label = "Einfuegehoehe (mm):";
|
|
edit_width = 10;
|
|
}
|
|
}
|
|
}
|
|
|
|
: boxed_column {
|
|
label = "Ausrichtung";
|
|
|
|
: popup_list {
|
|
key = "fahrtrichtung";
|
|
label = "Fahrtrichtung:";
|
|
width = 30;
|
|
}
|
|
: popup_list {
|
|
key = "seite";
|
|
label = "Seite:";
|
|
width = 16;
|
|
}
|
|
: popup_list {
|
|
key = "motorseite";
|
|
label = "Motorseite:";
|
|
width = 16;
|
|
}
|
|
: popup_list {
|
|
key = "dimension";
|
|
label = "Darstellung (2D/3D):";
|
|
width = 20;
|
|
}
|
|
}
|
|
|
|
: boxed_column {
|
|
label = "Geruest";
|
|
|
|
: toggle {
|
|
key = "geruest_einzelmodul";
|
|
label = "Geruest fuer Einzelmodul";
|
|
}
|
|
: popup_list {
|
|
key = "geruest_typ";
|
|
label = "Geruestoption:";
|
|
width = 30;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
ok_cancel;
|
|
}
|
|
|
|
variofoerderer_winkel : dialog {
|
|
label = "VarioFoerderer (Standard) - Winkel / Verteilung";
|
|
|
|
: column {
|
|
|
|
: popup_list {
|
|
key = "winkel";
|
|
label = "Winkel:";
|
|
width = 45;
|
|
}
|
|
|
|
: boxed_column {
|
|
label = "Verteilung Gefaellestrecken (vorne/hinten)";
|
|
|
|
: popup_list {
|
|
key = "verteilung";
|
|
label = "Modus:";
|
|
width = 35;
|
|
}
|
|
: edit_box {
|
|
key = "lgf1_manuell";
|
|
label = "L_GF1 vorne (mm):";
|
|
edit_width = 10;
|
|
is_enabled = false;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
ok_cancel;
|
|
}
|